restoring metadata from amazon glacier
When doing a "collection-
If the backend is amazon s3 and the files have been migrated to Glacier, duplicity restores the files one by one and has to wait for each file for hours to go from glacier to S3. So if the restore needs 6 hours and there are 50 files, this needs 300 hours. It would be better if the restore is triggered for all files and the wait is done afterwards.
Looking into the code I find the following in duplicity in function sync_archive around line 1185:
if hasattr(
This would be a good place for the backend to initiate the restore of all files.
But the test "hasattr(
Also I see that "local_missing" is a list of files, whereas the function "def pre_process_
This is the reason why this piece of code is not working.
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- Duplicity Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Martin for more information if necessary.