← Back to team overview

duplicity-team team mailing list archive

[Question #707134]: duplicity command for restore the backup from amazon s3 glacier

 

New question #707134 on Duplicity:
https://answers.launchpad.net/duplicity/+question/707134

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?



-- 
You received this question notification because your team duplicity-team
is an answer contact for Duplicity.