duplicity-talk
[Top][All Lists]
Advanced

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

[Duplicity-talk] Duplicity restores entire backup into specified directo


From: Scott Schappell
Subject: [Duplicity-talk] Duplicity restores entire backup into specified directory
Date: Thu, 13 Aug 2009 13:26:49 -0700

I blew out my home directory (thank goodness for my secondary /home rsync backup) to test a duplicity restore and the following command:

duplicity --asynchronous-upload --no-encryption --tempdir /var/tmp - v5 --volsize 4192 rsync://nas.wlan.silvertree.org::/backup/duplicity / home/archon

restored the entire backup into my home directory (/, /usr, /usr/ local, /home and /var).

So I searched the list and came across adding another / to the restore source and this is what happened:

duplicity restore --asynchronous-upload --no-encryption --tempdir / var/tmp -v5 --volsize 4192 rsync://nas.wlan.silvertree.org::/backup/ duplicity//home/archon /home/archon
Main action: restore
Args: /usr/local/bin/duplicity restore --asynchronous-upload --no- encryption --tempdir /var/tmp -v5 --volsize 4192 rsync:// nas.wlan.silvertree.org::/backup/duplicity//home/archon /home/archon
/usr/local/bin/python2.6 2.6.2 (r262:71600, Aug 13 2009, 11:37:02)
[GCC 4.2.1 20070719  [FreeBSD]]
duplicity 0.5.18 (May 20, 2009)
FreeBSD arthur.silvertree.org 7.2-RELEASE-p3 FreeBSD 7.2-RELEASE-p3 #5: Sun Aug 9 10:56:29 PDT 2009 address@hidden:/usr/ obj/usr/src/sys/ARTHUR i386 i386
Using temporary directory /var/tmp/duplicity-cvSLjJ-tempdir
Temp has 11829997568 available, backup will use approx 10109950361.
Reading results of 'rsync nas.wlan.silvertree.org::backup/duplicity// home/archon/' rsync: change_dir "/duplicity/home/archon" (in backup) failed: No such file or directory (2) rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1505) [receiver=3.0.6]
Backend error detail: Traceback (most recent call last):
  File "/usr/local/bin/duplicity", line 825, in <module>
    with_tempdir(main)
  File "/usr/local/bin/duplicity", line 818, in with_tempdir
    fn()
  File "/usr/local/bin/duplicity", line 758, in main
    globals.archive_dir).set_values()
File "/usr/local/lib/python2.6/site-packages/duplicity/ collections.py", line 539, in set_values
    backend_filename_list = self.backend.list()
File "/usr/local/lib/python2.6/site-packages/duplicity/backends/ rsyncbackend.py", line 89, in list return filter(lambda x: x, map (split, self.popen(commandline).split('\n'))) File "/usr/local/lib/python2.6/site-packages/duplicity/backend.py", line 340, in popen
    raise BackendException("Error running '%s'" % private)
BackendException: Error running 'rsync nas.wlan.silvertree.org::backup/ duplicity//home/archon/'

BackendException: Error running 'rsync nas.wlan.silvertree.org::backup/ duplicity//home/archon/'
address@hidden ~]#

This is duplicity 0.5.18. How does one restore just a directory or a file?

I'm probably missing something incredibly stupid.

Scott




reply via email to

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