Installprobs mit duplicity

heermann

New Member
tachchen zusammen,

Wir sind grade dabei duplicity als Backuplöung für unseren Rootserver (Debian) bei unserem Hostern zu installieren. Ich bin zwar nach einer guten Beschreibung (Debian Administration :: Unattended, Encrypted, Incremental Network Backups: Part 1) vorgegangen aber leider funktioniert es nicht.

Ich start folgendes Backupscript:
#!/bin/bash
export PASSPHRASE=signtest
duplicity --encrypt-key "116A0168" --sign-key "119CD263" /home/mybackup scp://root@111.111.111.111//root

dann kommt folgende Fehlermeldung:
/backup.sh
No signatures found, switching to full backup.
Traceback (most recent call last):
File "/usr/bin/duplicity", line 373, in ?
if __name__ == "__main__": main()
File "/usr/bin/duplicity", line 366, in main
if not sig_chain: full_backup(col_stats)
File "/usr/bin/duplicity", line 142, in full_backup
bytes_written = write_multivol("full", tarblock_iter, globals.backend)
File "/usr/bin/duplicity", line 78, in write_multivol
globals.gpg_profile)
File "/usr/lib/python2.4/site-packages/duplicity/gpg.py", line 213, in GPGWrit eFile
try: data = block_iter.next(bytes_to_go).data
File "/usr/lib/python2.4/site-packages/duplicity/diffdir.py", line 407, in nex t
result = self.process(self.input_iter.next(), size)
File "/usr/lib/python2.4/site-packages/duplicity/diffdir.py", line 487, in pro cess
data, last_block = self.get_data_block(fp, size - 512)
File "/usr/lib/python2.4/site-packages/duplicity/diffdir.py", line 509, in get _data_block
if fp.close(): raise DiffDirException("Error closing file")
File "/usr/lib/python2.4/site-packages/duplicity/diffdir.py", line 347, in clo se
self.callback(self.sig_gen.getsig(), *self.extra_args)
File "/usr/lib/python2.4/site-packages/duplicity/diffdir.py", line 298, in cal lback
sigTarFile.addfile(ti, cStringIO.StringIO(sig_string))
File "/usr/lib/python2.4/site-packages/duplicity/tarfile.py", line 768, in add file
copyfileobj(fileobj, self.fileobj, tarinfo.size)
File "/usr/lib/python2.4/site-packages/duplicity/tarfile.py", line 198, in cop yfileobj
dst.write(buf)
File "/usr/lib/python2.4/site-packages/duplicity/dup_temp.py", line 120, in wr ite
return self.fileobj.write(buf)
File "/usr/lib/python2.4/site-packages/duplicity/gpg.py", line 103, in write
def write(self, buf): return self.gpg_input.write(buf)
IOError: [Errno 32] Broken pipe
close failed: [Errno 32] Broken pipe
Debian-pre40-64-minimal:~/duplicity#

Kann sein das es daran liegt, daß ich ich mehrmals SChlüssel generiert habe.
Ein Aufruf von gpg --list-keys liefert:

/root/.gnupg/pubring.gpg
------------------------
pub 1024D/WWEWWEE0F 2007-11-13 [expires: 2008-11-12]
uid backuptest (backuptest) <ich@uns.com>
sub 1024g/6WEWEF6EB 2007-11-13 [expires: 2008-11-12]

pub 1024D/BDJDJS15 2007-11-13 [expires: 2008-11-12]
uid backuptest (backuptest) <ich@uns.com>
sub 1024g/7FCC4EF8 2007-11-13 [expires: 2008-11-12]

pub 1024D/116A0168 2007-11-13 [expires: 2008-11-12]
uid signtest (signtest) <ich@uns.com>
sub 1024g/EEERERER 2007-11-13 [expires: 2008-11-12]

pub 1024D/119CD263 2007-11-13 [expires: 2008-11-12]
uid backuptest (backuptest) <ich@uns.com>
sub 1024g/5RWEWQE1 2007-11-13 [expires: 2008-11-12]

Kann mir da jemand weiterhelfen ? Andere Howtos ?

Besten Dank.

Gruß

Christian Heermann

Hamburg, Lincolnstr 12
 
Back
Top