duplicity command for restore the backup from amazon s3 glacier

Asked by Mariraj

I've used the Amazon s3 Glacier storage class. when i restore the object using code... i got errors.

Error:
A client error (InvalidObjectState) occurred when calling the CopyObject operation: Operation is not valid for the source object’s storage class.

Code
/usr/local/bin/duplicity \
    --num-retries=100 \
    --timeout=3600 \
    --encrypt-key=${GPG_KEY} \
    --sign-key=${GPG_KEY} \
        --s3-use-new-style \
    --no-backend-verification=true \
    --no-auto-compact=true \
    --file-to-restore $2 \
    --restore-time $1 \
    --tempdir /tmp-duplicity/ \
    ${DEST} $3 >> ${DAILYLOGFILE} 2>&1

Please suggest any setting need to do?

Question information

Language:
English Edit question
Status:
Invalid
For:
Duplicity Edit question
Assignee:
No assignee Edit question
Solved by:
Kenneth Loafman
Solved:
Last query:
Last reply:
Revision history for this message
Kenneth Loafman (kenneth-loafman) said :
#1

The Answer section is closed. Please use the mailing list at https://lists.nongnu.org/mailman/listinfo/duplicity-talk.

...Thanks,
...Ken