duplicity-talk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Duplicity-talk] Restore single file from incremental, retrieving fu


From: edgar . soldin
Subject: Re: [Duplicity-talk] Restore single file from incremental, retrieving full
Date: Thu, 5 Apr 2018 11:33:30 +0200
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0

On 04.04.2018 22:50, Oliver Cole via Duplicity-talk wrote:
> Hi,

hey Oli,
 
> I'm testing retrieving a single file from a backup in Duplicity (v0.7.17).
> 
> The backup set consists of 1 full and 1 incremental - and the requested file 
> only exists in the incremental. (This is a test scenario I put together, so 
> I'm certain this is the case).

could show that by posting a collection-status?
 
> When I retrieve the single file (with --verbosity debug) I can see it is 
> retrieving the full backup volumes.

right, it shouldn't.
 
> Am I misunderstanding the duplicity model, or is my restore command wrong? It 
> seems to me the metadata should know the file only exists in the incremental 
> and just get that?

can you post a list of the files on the remote?
 
> I've tried specifying `--time` both before the incremental and after it. Is 
> this affected by the timestamps on the files originally, or only their 
> presence for a backup?
> 
> duplicity -vd --file-to-restore example.pdf 
> s3://s3.eu-west-1.amazonaws.com/redacted/ restore

the man page could be more specific. time is given wrt. the backup date. it's 
only useful during restore or verify. eg.

restore from april fools day
 duplicity --time 2918/4/1 file://test/bkp /restore

restore from a week ago
 duplicity --time 1W file://test/bkp /restore

but generally it is not needed in your case as the default value when not given 
is 'now', meaning the latest backup avail.

the man page holds some details on the formatting of time
  http://duplicity.nongnu.org/duplicity.1.html#sect8

..ede/duply.net






reply via email to

[Prev in Thread] Current Thread [Next in Thread]