duplicity-talk
[Top][All Lists]
Advanced

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

[Duplicity-talk] can't restore my files, how to debug the errors


From: Jelle de Jong
Subject: [Duplicity-talk] can't restore my files, how to debug the errors
Date: Mon, 07 May 2012 09:42:15 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.3) Gecko/20120329 Icedove/10.0.3

Hello everybody,

Last Friday I tried restoring some files, some directories I can restore
without problems and others give the below error messages.

Today there is a backup running (I don't know how to stop it without
destroying my previous backups that I need to restore the files), this
is causing the 1 incomplete backup set.

I could really use some help!

Thank you all.

Kind regards,

Jelle de Jong



# duplicity --version
duplicity 0.6.08b

# duplicity --restore-time 2012-05-02 --file-to-restore
srv/storage/samba/profiles/ --encrypt-key "AAAA29CD" --sign-key
"BBBB5031" scp://address@hidden:2227/backups/server
temp01
Local and Remote metadata are synchronized, no sync needed.
Warning, found incomplete backup sets, probably left from aborted session
Last full backup date: Tue Apr 10 18:23:43 2012
Traceback (most recent call last):
  File "/usr/bin/duplicity", line 1251, in <module>
    with_tempdir(main)
  File "/usr/bin/duplicity", line 1244, in with_tempdir
    fn()
  File "/usr/bin/duplicity", line 1198, in main
    restore(col_stats)
  File "/usr/bin/duplicity", line 538, in restore
    restore_get_patched_rop_iter(col_stats)):
  File "/usr/lib/python2.6/dist-packages/duplicity/patchdir.py", line
520, in Write_ROPaths
    for ropath in rop_iter:
  File "/usr/lib/python2.6/dist-packages/duplicity/patchdir.py", line
492, in integrate_patch_iters
    for patch_seq in collated:
  File "/usr/lib/python2.6/dist-packages/duplicity/patchdir.py", line
377, in yield_tuples
    setrorps( overflow, elems )
  File "/usr/lib/python2.6/dist-packages/duplicity/patchdir.py", line
366, in setrorps
    elems[i] = iter_list[i].next()
  File "/usr/lib/python2.6/dist-packages/duplicity/patchdir.py", line
98, in filter_path_iter
    for path in path_iter:
  File "/usr/lib/python2.6/dist-packages/duplicity/patchdir.py", line
111, in difftar2path_iter
    tarinfo_list = [tar_iter.next()]
  File "/usr/lib/python2.6/dist-packages/duplicity/patchdir.py", line
327, in next
    self.set_tarfile()
  File "/usr/lib/python2.6/dist-packages/duplicity/patchdir.py", line
321, in set_tarfile
    self.current_fp = self.fileobj_iter.next()
  File "/usr/bin/duplicity", line 574, in get_fileobj_iter
    backup_set.volume_name_dict[vol_num],
KeyError: 1



# duplicity collection-status
scp://address@hidden:2227/backups/server
Local and Remote metadata are synchronized, no sync needed.
Warning, found incomplete backup sets, probably left from aborted session
Last full backup date: Tue Apr 10 18:23:43 2012
Collection Status
-----------------
Connecting with backend: SSHBackend
Archive dir: /root/.cache/duplicity/b97847451599ecc350983eb053023703

Found 1 secondary backup chain.
Secondary chain 1 of 1:
-------------------------
Chain start time: Thu Mar 15 12:35:34 2012
Chain end time: Sun Apr  8 16:19:50 2012
Number of contained backup sets: 14
Total number of contained volumes: 3309
 Type of backup set:                            Time:      Num volumes:
                Full         Thu Mar 15 12:35:34 2012              2972
         Incremental         Fri Mar 16 17:44:37 2012                 4
         Incremental         Sat Mar 17 16:37:04 2012                 3
         Incremental         Sun Mar 18 16:20:21 2012                 3
         Incremental         Wed Mar 28 16:26:32 2012               227
         Incremental         Sat Mar 31 16:17:06 2012                18
         Incremental         Sun Apr  1 16:03:06 2012                 5
         Incremental         Mon Apr  2 17:56:06 2012                 7
         Incremental         Tue Apr  3 17:34:43 2012                 9
         Incremental         Wed Apr  4 19:03:32 2012                 6
         Incremental         Thu Apr  5 17:55:55 2012                42
         Incremental         Fri Apr  6 17:41:44 2012                 7
         Incremental         Sat Apr  7 16:19:42 2012                 3
         Incremental         Sun Apr  8 16:19:50 2012                 3
-------------------------


Found primary backup chain with matching signature chain:
-------------------------
Chain start time: Tue Apr 10 18:23:43 2012
Chain end time: Sat May  5 16:51:33 2012
Number of contained backup sets: 26
Total number of contained volumes: 274
 Type of backup set:                            Time:      Num volumes:
                Full         Tue Apr 10 18:23:43 2012                21
         Incremental         Wed Apr 11 18:22:02 2012                13
         Incremental         Thu Apr 12 18:04:12 2012                24
         Incremental         Fri Apr 13 17:40:36 2012                 4
         Incremental         Sat Apr 14 16:35:06 2012                 2
         Incremental         Sun Apr 15 16:18:34 2012                 2
         Incremental         Mon Apr 16 17:49:28 2012                 6
         Incremental         Tue Apr 17 17:54:55 2012                 8
         Incremental         Wed Apr 18 17:43:45 2012                 9
         Incremental         Thu Apr 19 17:57:17 2012                 5
         Incremental         Fri Apr 20 17:42:53 2012                28
         Incremental         Sat Apr 21 16:48:13 2012                 2
         Incremental         Sun Apr 22 16:20:29 2012                 2
         Incremental         Mon Apr 23 18:04:39 2012                17
         Incremental         Tue Apr 24 17:41:18 2012                 6
         Incremental         Wed Apr 25 17:35:59 2012                 5
         Incremental         Thu Apr 26 17:42:46 2012                20
         Incremental         Fri Apr 27 17:43:32 2012                 8
         Incremental         Sat Apr 28 16:38:37 2012                 2
         Incremental         Sun Apr 29 16:15:01 2012                 2
         Incremental         Mon Apr 30 16:14:56 2012                 2
         Incremental         Tue May  1 17:51:02 2012                 5
         Incremental         Wed May  2 17:49:42 2012                10
         Incremental         Thu May  3 18:26:34 2012                 9
         Incremental         Fri May  4 17:48:29 2012                60
         Incremental         Sat May  5 16:51:33 2012                 2
-------------------------
Also found 0 backup sets not part of any chain,
and 1 incomplete backup set.
These may be deleted by running duplicity with the "cleanup" command.



reply via email to

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