Closed paul-butcher closed 5 months ago
This adds the ability to restore shoots from Glacier.
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
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
PYTHONPATH=src python src/transferrer/download.py EPOPTEST
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