duplicity-talk
[Top][All Lists]
Advanced

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

Re: [Duplicity-talk] Fwd: Re: Restoring from/to a USB stick


From: edgar . soldin
Subject: Re: [Duplicity-talk] Fwd: Re: Restoring from/to a USB stick
Date: Tue, 12 May 2020 21:14:08 +0200
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0

Andrew,

please send the complete output of

  duplicity collection-status file:///run/media/awood/MyPassport/Deja-Vu-Back-up

also. does

  duplicity list-current-files --time 2020/04/21 
file:///run/media/awood/MyPassport/Deja-Vu-Back-up

list the files you are unable to restore?

..ede/duply.net


On 12.05.2020 19:00, Andrew Wood via Duplicity-talk wrote:
> Hi Edgar/ Nate/everyone
>
> Thanks for your help and assistance below. Hmmm, I don't understand but this 
> doesn't restore the USB stick '7160-75C1' :
>
> [awood@localhost ~]$ duplicity -t 30D --file-to-restore 
> /run/media/awood/7160-75C1 file:///run/media/awood/MyPassport/Deja-Vu-Back-up 
> /run/media/awood/MyPassport/USB-Restore/7160-75C1-restored
> Local and Remote metadata are synchronized, no sync needed.
> Last full backup date: Thu Mar 26 09:21:33 2020
> GnuPG passphrase:
> run/media/awood/7160-75C1 not found in archive - no files restored.
>
> The reason why I think the USB stick '7160-75C1' was backed-up is that I see 
> these references in the manifest 
> (duplicity-inc.20200416T105339Z.to.20200420T123706Z.manifest - 20 April 2020):
>
> Hostname localhost.localdomain
> Localdir /
> Volume 1:
>     StartingPath   .
>     EndingPath run/media/awood/7160-75C1/.Trash-1000/files/Contact-Improv.avi 
> 419
>     Hash SHA1 d43792af9c056c250fe8f61bba115b679209a75b
> Volume 2:
>     StartingPath 
> run/media/awood/7160-75C1/.Trash-1000/files/Contact-Improv.avi 420
>     EndingPath 
> "run/media/awood/7160-75C1/.Trash-1000/files/Oxford-Create-Contact-Dance\x20#2.pptx"
>  460
>     Hash SHA1 0e6f2bc5ffb06d529d35a9ca81a9ac4c91c3e84c
> Volume 3:
>     StartingPath 
> "run/media/awood/7160-75C1/.Trash-1000/files/Oxford-Create-Contact-Dance\x20#2.pptx"
>  461
>     EndingPath 
> run/media/awood/7160-75C1/.Trash-1000/files/Oxford-Create-Contact-Dance.odp 
> 605
>     Hash SHA1 9fc2bb32214c5e399d536e3190ed5952de98e550
> Volume 4:
>     StartingPath 
> run/media/awood/7160-75C1/.Trash-1000/files/Oxford-Create-Contact-Dance.odp 
> 606
>     EndingPath     run/media/awood/7160-75C1/100D3200/DSC_0137.JPG 41
>     Hash SHA1 0792189bef33d5725c445023ca4e904bed1efb7b
> Volume 5:
>
> ...
>
> Volume 291:
>     StartingPath 
> run/media/awood/7160-75C1/myDocuments/jobs2013/CTC-Senior-Meida-Relations/presentation/herne-hill-velodrome-01.jpg
>  34
>     EndingPath 
> run/media/awood/7160-75C1/myDocuments/jobs2013-1/CTC-Senior-Meida-Relations/presentation/CTC-Andrew-Wood-Presentation.odp
>  64
>     Hash SHA1 49471417a194cc3f8f95238706aac7d53753f1f2
> Volume 292:
>     StartingPath 
> run/media/awood/7160-75C1/myDocuments/jobs2013-1/CTC-Senior-Meida-Relations/presentation/CTC-Andrew-Wood-Presentation.odp
>  65
>     EndingPath 
> run/media/awood/7160-75C1/twitter-30-Nov-jellybabynet-Cyg293zXUAEH9N9.jpg
>     Hash SHA1 d37d1708387ee095bb0a1d8a993ba2501ae19e2e
>
> Any suggestions as to how I might proceed?
>
> Best wishes,
>
> Andrew
>
> On 12/05/2020 10:49, edgar.soldin--- via Duplicity-talk wrote:
>> On 12.05.2020 11:37, Andrew Wood via Duplicity-talk wrote:
>>>> duplicity list-current-files 
>>>> file:///run/media/awood/MyPassport/Deja-Vu-Back-up > 
>>>> /run/media/awood/MyPassport/USB-Restore/dup-log.txt
>>> which has no --time parameter, and I try and find an entry for the USB 
>>> volume '7160-75C1' then there's no reference other than a couple of status 
>>> file - like this one:
>>>
>>> home/awood/.local/share/gvfs-metadata/uuid-7160-75C1-e7c29a79.log
>>>
>>> I also tried this is the --time "03-27-2020" instead and there's the same 
>>> result - no other reference to the USB than that above.
>> hey Andrew,
>>
>> check the documentation of accepted time formats 
>> http://duplicity.nongnu.org/vers8/duplicity.1.html#sect8
>>
>> you may also use intervals like e.g. 30D (30 days ago)
>>
>>> For example, if I try something like this as was suggested:
>>>
>>> duplicity --file-to-restore  /run/media/awood/7160-75C1/ 
>>> file:///run/media/awood/MyPassport/Deja-Vu-Back-up 
>>> /run/media/awood/MyPassport/USB-Restore-7160-75C1
>>>
>>> This man entry for duplicity (https://linux.die.net/man/1/duplicity) 
>>> suggests --file-to-restore takes a folder name. If I specify the root for 
>>> the folder then that should work, shouldn't it? Hence the '/' on the volume 
>>> name for the USB.
>> '-file-to-restore' takes folder's or file's names. whatever it finds with 
>> that name in the backup it restores. so yeah, looks good. the trailing slash 
>> shouldn't be needed.
>>
>> good luck ..ede/duply.net
>>
>> _______________________________________________
>> Duplicity-talk mailing list
>> address@hidden
>> https://lists.nongnu.org/mailman/listinfo/duplicity-talk
>
>
>
> _______________________________________________
> Duplicity-talk mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/duplicity-talk




reply via email to

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