[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Duplicity-talk] File listed but impossible to restore
From: |
edgar . soldin |
Subject: |
Re: [Duplicity-talk] File listed but impossible to restore |
Date: |
Tue, 24 Jun 2014 19:41:39 +0200 |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 |
probably a bug in duplicity-backup.sh . duplicity _never_ overwrites existing
files. just tried 0.6.24 and found that it seems to overwrite folders though
when restoring one file (probably a bug).
>mkdir bla
> ls -la . | grep bla
drwxr-xr-x 2 user group 4096 24. Jun 19:35 bla
#restore via duply
> duply_dev/duply_wrap test fetch file bla
> ls -la . | grep bla
-rw-r--r-- 1 jamoke psacln 72759 17. Dez 2012 bla
seems like the folder is replaced. a trial with a non empty folder though
correctly dies
--- Start running command FETCH at 19:37:59.431 ---
Restore destination directory bla already exists.
Will not overwrite.
19:38:00.381 Task 'FETCH' failed with exit code '11'.
--- Finished state FAILED 'code 11' at 19:38:00.381 - Runtime 00:00:00.950 ---
you need to give a file target when restoring one file. try
./duplicity-backup.sh -c duplicity-backup.conf --restore-file
home/martin/.willie/default.cfg /home/martin/default.cfg.restored
good luck.. ede/duply.net
On 24.06.2014 16:10, Benoit Tigeot wrote:
> Hello
>
> I'm trying a restore a config file but have few problems. I'm using Duplicity
> backup threw the script of Zertrin
> (https://github.com/zertrin/duplicity-backup) when I'm listing the file
>
> ~/duplicity-backup# ./duplicity-backup.sh -c duplicity-backup.conf
> --list-current-files | grep default.cfg
>
> Tue may 20 14:59:05 2014 home/martin/.willie/default.cfg
>
> So ok I've got the file
>
> When I'm trying to do a restore : ./duplicity-backup.sh -c
> duplicity-backup.conf --restore-file home/martin/.willie/default.cfg
> /home/martin/.willierestore/
>
> YOU ARE ABOUT TO...
>>> RESTORE: home/martin/.willie/default.cfg
>>> TO: /home/martin/.willierestore/
>
> Are you sure you want to do that ('yes' to continue)?
> yes
> Restoring now ...
>
>
> But .willierestore is empty. If I do ./duplicity-backup.sh -c
> duplicity-backup.conf --restore-dir home/martin/.willie
> /home/martin/.willierestore/
> I get lot's of file but not the 'default.cfg'
>
> What's happen?
>
> Thanks
>
>
>
> _______________________________________________
> Duplicity-talk mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/duplicity-talk
>