wellcomecollection / editorial-photography-ingest

0 stars 0 forks source link

Restoration #10

Closed paul-butcher closed 5 months ago

paul-butcher commented 5 months ago

What does this change?

This adds the ability to restore shoots from Glacier.

How to test

Tests are present in purest working against Moto, but to check it for Real Life, you can restore a sample shoot (e.g. EPOPTEST):

As a user with permission on the editorial photography bucket (in the workflow account)

PYTHONPATH=src python src/transferrer/restore.py EPOPTEST

You can see that this has been initiated, by calling check_status PYTHONPATH=src python src/transferrer/check_status.py EPOPTEST

then 5–12 hours later, you can download it PYTHONPATH=src python src/transferrer/download.py EPOPTEST