duplicity-talk
[Top][All Lists]
Advanced

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

Re: [Duplicity-talk] Recovery problems - only the oldest (full) backup c


From: Kenneth Loafman
Subject: Re: [Duplicity-talk] Recovery problems - only the oldest (full) backup can be recovered (0.4.3 RC11 on Cygwin)
Date: Fri, 27 Jul 2007 12:51:44 -0500
User-agent: Thunderbird 1.5.0.12 (X11/20070604)

Ralph Lehmann wrote:
> 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
> -------------------------------------------------------------------------

I've been testing on Cygwin and I find it much improved over the last
time I tried it and gave up, several years ago.  Package management is a
pain, but at least it works.  Seems to be very compatible with Linux and
Windows both.

That said, I'm having trouble duplicating this problem, so I need to ask
you what kind of files are being backed up.  I've run through several
gigs of backup/restore using Cygwin, using both Windows files and Cygwin
files and have not been able to reproduce this.  The traceback is
literally saying that an object that is an instance of 'file' is not of
type 'FileType'.  I cannot see how that is possible.

...Ken


Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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