Duplicity

Rund um die Sicherheit des Systems und die Applikationen
Post Reply
pocopelli
Posts: 52
Joined: 2006-05-12 14:13
 

Duplicity

Post by pocopelli »

Tach,

ich habe seit ein paar Monaten mit Duplicity erfolgreich Backups von einem Produktivserver auf ein Backup server gemacht. Leider sind Daten des Produktivservers nicht mehr vorhanden. Ich habe versucht die Daten auf einen dritten Server mittels Duplicity aufzuspielen: Dazu habe ich
auf dem neuen Server duplicity und gpg installiert sowie den Backup user angelegt,mit dem ich die Backups gemacht habe.

Ich führe folgenden Befehl aus:
duplicity --encrypt-key "meinkey" --sign-key "meinkey" --file-to-restore "pfad/zum/File"
scp://root@111.111.111.111//pfad/backupverzeichnis /neuer/filename
und erhalte folgende Fehlermeldung:

Traceback (most recent call last):
File "/usr/bin/duplicity", line 373, in ?
if __name__ == "__main__": main()
File "/usr/bin/duplicity", line 354, in main
if action == "restore": restore(col_stats)
File "/usr/bin/duplicity", line 190, in restore
restore_get_patched_rop_iter(col_stats)):
File "/usr/lib/python2.4/site-packages/duplicity/patchdir.py", line 457, in Write_ROPaths
for ropath in rop_iter:
File "/usr/lib/python2.4/site-packages/duplicity/patchdir.py", line 431, in integrate_patch_iters
for patch_seq in collated:
File "/usr/lib/python2.4/site-packages/duplicity/patchdir.py", line 332, in yield_tuples
setrorps(overflow, elems)
File "/usr/lib/python2.4/site-packages/duplicity/patchdir.py", line 321, in setrorps
try: elems = iter_list.next()
File "/usr/lib/python2.4/site-packages/duplicity/patchdir.py", line 79, in filter_path_iter
for path in path_iter:
File "/usr/lib/python2.4/site-packages/duplicity/patchdir.py", line 92, in difftar2path_iter
tarinfo_list = [tar_iter.next()]
File "/usr/lib/python2.4/site-packages/duplicity/patchdir.py", line 284, in next
if not self.tarfile: self.set_tarfile()
File "/usr/lib/python2.4/site-packages/duplicity/patchdir.py", line 279, in set_tarfile
self.current_fp = self.fileobj_iter.next()
File "/usr/bin/duplicity", line 208, in get_fileobj_iter
for vol_num in manifest.get_containing_volumes(index):
AttributeError: 'NoneType' object has no attribute 'get_containing_volumes'


Kann jemand sagen was ich falsch mache. Was kann ich tun, um an das Backup heranzukommen ?

ANwort wäre super nett..

Gruß

Poc
User avatar
daemotron
Administrator
Administrator
Posts: 2641
Joined: 2004-01-21 17:44
Contact:
 

Re: Duplicity

Post by daemotron »

Falsche Python-Version und/oder fehlende Python-Module. Hast Du duplicity über $paketmanagement Deiner Distribution installiert?
Post Reply