← Back to team overview

duplicity-team team mailing list archive

Re: [Question #335609]: Restore only changed files with duplicity

 

Question #335609 on Duplicity changed:
https://answers.launchpad.net/duplicity/+question/335609

    Status: Open => Answered

edso proposed the following answer:
On 16.08.2016 12:27, Sivanath wrote:
> Question #335609 on Duplicity changed:
> https://answers.launchpad.net/duplicity/+question/335609
> 
>     Status: Answered => Open
> 
> Sivanath is still having a problem:
> yes, please.
> 
> duplicity --time 2016-08-15T00:00:00 --force --num-retries=100
> --timeout=3600 --encrypt-key=<GPG_KEY> --sign-key=<GPG_KEY> --file-to-
> restore /  --tempdir <TEMP_DIRECTORY_PATH> <S3_URL> <DESTINATION_FOLDER>
> 
> by above command, it restores 15 and 16 dated files only. So it takes
> less than time full restore files time. But it took more than full
> backup restore time.
> 

that looks wrong '--file-to-restore' takes a path/file argument, giving '/' will restore the whole backup. try eg. 
  --file-to-restore 'folder/my/file'
and it should only restore that file.

using --force is a bad idea. it'd be safer to restore to a temporary
location, verify the restored contents and move it manually to target
location.

..ede/duply.net

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