duplicity-talk
[Top][All Lists]
Advanced

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

[Duplicity-talk] Recovery problems - only the oldest (full) backup can b


From: Ralph Lehmann
Subject: [Duplicity-talk] Recovery problems - only the oldest (full) backup can be recovered (0.4.3 RC11 on Cygwin)
Date: Tue, 24 Jul 2007 13:12:27 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.0.12) Gecko/20070509 Thunderbird/1.5.0.12 Mnenhy/0.7.5.0

Hi, :-)

it is not possible to recover any backup unless the oldest (the full)
backup. The listening with --list-current-files prints out:
---------------------------------------------------------------------
$ duplicity --short-filenames -v9 --list-current-files
ssh://address@hidden
168.242.134//cygdrive/c/cygwin/home/Administrator/dup-b
Main action: list-current
Running 'sftp -oUserKnownHostsFile=/dev/null -oStrictHostKeyChecking=no
address@hidden' (attempt #1)
Ignoring file 'dfs.jloj5j.st.g'
Ignoring file 'dns.jloj5j.jloj6s.st.g'
Ignoring file 'dns.jloj6s.jloj8d.st.g'
Ignoring file 'dns.jloj8d.jloj9x.st.g'
Added incremental Backupset (start_time: Tue Jul 24 12:44:07 2007 /
end_time: Tue Jul 24 12:44:52 2007)
Added incremental Backupset (start_time: Tue Jul 24 12:44:52 2007 /
end_time: Tue Jul 24 12:45:49 2007)
Added incremental Backupset (start_time: Tue Jul 24 12:45:49 2007 /
end_time: Tue Jul 24 12:46:45 2007)
Collection Status
-----------------
Connecting with backend: scpBackend
Archive dir: None

Found a complete backup chain with matching signature chain:
-------------------------
Chain start time: Tue Jul 24 12:44:07 2007
Chain end time: Tue Jul 24 12:46:45 2007
Number of contained backup sets: 4
Total number of contained volumes: 4
 Type of backup set:                            Time:      Num volumes:
                Full         Tue Jul 24 12:44:07 2007                 1
         Incremental         Tue Jul 24 12:44:52 2007                 1
         Incremental         Tue Jul 24 12:45:49 2007                 1
         Incremental         Tue Jul 24 12:46:45 2007                 1
-------------------------

Found 0 backup chains without signatures.
No orphaned or incomplete backup sets found.
Running 'scp -oUserKnownHostsFile=/dev/null -oStrictHostKeyChecking=no
address@hidden:/cygdrive/c/cygwin/home/Administrator/dup-b/dfs.jloj5j.st.g
/tmp/tmpCbvQDM' (attempt #1)
Running 'scp -oUserKnownHostsFile=/dev/null -oStrictHostKeyChecking=no
address@hidden:/cygdrive/c/cygwin/home/Administrator/dup-b/dns.jloj5j.jloj6s.st.g
/tmp/tmp8gmtx6' (attempt #1)
gpg: CAST5 encrypted data
gpg: encrypted with 1 passphrase
-------------------------------------------------------------------

If I now try to recover the full backup, it works:
-------------------------------------------------------------------
$ duplicity --short-filenames -v9 -t 2007-07-24T12:44:07
ssh://address@hidden
2.168.242.134//cygdrive/c/cygwin/home/Administrator/dup-b dup-rec
Main action: restore
Running 'sftp -oUserKnownHostsFile=/dev/null -oStrictHostKeyChecking=no
address@hidden' (attempt #1)
Ignoring file 'dfs.jloj5j.st.g'
Ignoring file 'dns.jloj5j.jloj6s.st.g'
Ignoring file 'dns.jloj6s.jloj8d.st.g'
Ignoring file 'dns.jloj8d.jloj9x.st.g'
Added incremental Backupset (start_time: Tue Jul 24 12:44:07 2007 /
end_time: Tue Jul 24 12:44:52 2007)
Added incremental Backupset (start_time: Tue Jul 24 12:44:52 2007 /
end_time: Tue Jul 24 12:45:49 2007)
Added incremental Backupset (start_time: Tue Jul 24 12:45:49 2007 /
end_time: Tue Jul 24 12:46:45 2007)
Collection Status
-----------------
Connecting with backend: scpBackend
Archive dir: None

Found a complete backup chain with matching signature chain:
-------------------------
Chain start time: Tue Jul 24 12:44:07 2007
Chain end time: Tue Jul 24 12:46:45 2007
Number of contained backup sets: 4
Total number of contained volumes: 4
 Type of backup set:                            Time:      Num volumes:
                Full         Tue Jul 24 12:44:07 2007                 1
         Incremental         Tue Jul 24 12:44:52 2007                 1
         Incremental         Tue Jul 24 12:45:49 2007                 1
         Incremental         Tue Jul 24 12:46:45 2007                 1
-------------------------

Found 0 backup chains without signatures.
No orphaned or incomplete backup sets found.
Running 'scp -oUserKnownHostsFile=/dev/null -oStrictHostKeyChecking=no
address@hidden:/cygdrive/c/cygwin/home/Administrator/dup-b/df.jloj5j.m.g
/tmp/tmp8O1PLP' (attempt #1)
gpg: CAST5 encrypted data
gpg: encrypted with 1 passphrase
Deleting /tmp/tmp8O1PLP
Running 'scp -oUserKnownHostsFile=/dev/null -oStrictHostKeyChecking=no
address@hidden:/cygdrive/c/cygwin/home/Administrator/dup-b/df.jloj5j.1.dt.g
/tmp/tmpdqXxJI' (attempt #1)
gpg: CAST5 encrypted data
gpg: encrypted with 1 passphrase
Writing test1.txt of type reg
Deleting /tmp/tmpdqXxJI
-------------------------------------------------------------------

But I cannot recover any incremental backup:
-------------------------------------------------------------------
$ duplicity --short-filenames -v9 -t 2007-07-24T12:44:52
ssh://address@hidden
2.168.242.134//cygdrive/c/cygwin/home/Administrator/dup-b dup-rec
Main action: restore
Running 'sftp -oUserKnownHostsFile=/dev/null -oStrictHostKeyChecking=no
address@hidden' (attempt #1)
Ignoring file 'dfs.jloj5j.st.g'
Ignoring file 'dns.jloj5j.jloj6s.st.g'
Ignoring file 'dns.jloj6s.jloj8d.st.g'
Ignoring file 'dns.jloj8d.jloj9x.st.g'
Added incremental Backupset (start_time: Tue Jul 24 12:44:07 2007 /
end_time: Tue Jul 24 12:44:52 2007)
Added incremental Backupset (start_time: Tue Jul 24 12:44:52 2007 /
end_time: Tue Jul 24 12:45:49 2007)
Added incremental Backupset (start_time: Tue Jul 24 12:45:49 2007 /
end_time: Tue Jul 24 12:46:45 2007)
Collection Status
-----------------
Connecting with backend: scpBackend
Archive dir: None

Found a complete backup chain with matching signature chain:
-------------------------
Chain start time: Tue Jul 24 12:44:07 2007
Chain end time: Tue Jul 24 12:46:45 2007
Number of contained backup sets: 4
Total number of contained volumes: 4
 Type of backup set:                            Time:      Num volumes:
                Full         Tue Jul 24 12:44:07 2007                 1
         Incremental         Tue Jul 24 12:44:52 2007                 1
         Incremental         Tue Jul 24 12:45:49 2007                 1
         Incremental         Tue Jul 24 12:46:45 2007                 1
-------------------------

Found 0 backup chains without signatures.
No orphaned or incomplete backup sets found.
Running 'scp -oUserKnownHostsFile=/dev/null -oStrictHostKeyChecking=no
address@hidden:/cygdrive/c/cygwin/home/Administrator/dup-b/df.jloj5j.m.g
/tmp/tmpHh-Mh7' (attempt #1)
gpg: CAST5 encrypted data
gpg: encrypted with 1 passphrase
Deleting /tmp/tmpHh-Mh7
Running 'scp -oUserKnownHostsFile=/dev/null -oStrictHostKeyChecking=no
address@hidden:/cygdrive/c/cygwin/home/Administrator/dup-b/df.jloj5j.1.dt.g
/tmp/tmp780qc9' (attempt #1)
gpg: CAST5 encrypted data
gpg: encrypted with 1 passphrase
Running 'scp -oUserKnownHostsFile=/dev/null -oStrictHostKeyChecking=no
address@hidden:/cygdrive/c/cygwin/home/Administrator/dup-b/di.jloj5j.jloj6s.m.g
/tmp/tmpdB0F1V' (attempt #1)
gpg: CAST5 encrypted data
gpg: encrypted with 1 passphrase
Deleting /tmp/tmpdB0F1V
Running 'scp -oUserKnownHostsFile=/dev/null -oStrictHostKeyChecking=no
address@hidden:/cygdrive/c/cygwin/home/Administrator/dup-b/di.jloj5j.jloj6s.1.dt.g
/tmp/tmpCdLCHa' (attempt #1)
gpg: CAST5 encrypted data
gpg: encrypted with 1 passphrase
Traceback (most recent call last):
  File "/usr/bin/duplicity", line 378, in <module>
    if __name__ == "__main__": main()
  File "/usr/bin/duplicity", line 359, in main
    if action == "restore": restore(col_stats)
  File "/usr/bin/duplicity", line 195, in restore
    restore_get_patched_rop_iter(col_stats)):
  File "/usr/lib/python2.5/site-packages/duplicity/patchdir.py", line
457, in Write_ROPaths
    for ropath in rop_iter:
  File "/usr/lib/python2.5/site-packages/duplicity/patchdir.py", line
432, in integrate_patch_iters
    final_ropath = patch_seq2ropath(normalize_ps(patch_seq))
  File "/usr/lib/python2.5/site-packages/duplicity/patchdir.py", line
417, in patch_seq2ropath
    delta_ropath.open("rb"))
  File "/usr/lib/python2.5/site-packages/duplicity/librsync.py", line
153, in __init__
    raise TypeError("basis_file must be a (true) file")
TypeError: basis_file must be a (true) file
-------------------------------------------------------------------------

What can I do?

ciao Ralph

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature


reply via email to

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