[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Duplicity-talk] (no subject)
From: |
Ingrid Lohmann |
Subject: |
[Duplicity-talk] (no subject) |
Date: |
Sun, 20 Jan 2008 17:46:00 +0100 |
Hello,
Sorry for asking you again. I'd like to give to additional informaiton, because
I'm
really desparately looking for a solution.
I used to backup files from a production server (root server) to backup server
(root server) with the following script:
!/bin/bash
export PASSPHRASE=signtest
duplicity --encrypt-key "mykey" --sign-key "mykey" --exclude /sys --exclude
/root --exclude /proc --exclude /mnt --exclude /tmp -v9 /
scp://address@hidden//root/backups/duplicity
Now the data which was on the production server is lost. I want to restore the
data on second production server with the following command:
duplicity --encrypt-key "mykey" --sign-key "mykey" --file-to-restore
root/duplicity/backuptest -v9 scp://address@hidden//root/backups/duplicity
~/test
and the error message is:
------------------------------------start----------------------------
Main action: restore
Reading results of 'printf 'cd /root/backups/duplicity
ls -1' | sftp -b - address@hidden'
Ignoring file 'duplicity-full-signatures.2007-11-21T17:54:10+02:00.sigtar.gpg'
Ignoring file
'duplicity-new-signatures.2007-11-21T17:54:10+02:00.to.2007-11-22T11:48:37+02:00.sigtar.gpg'
Ignoring file
'duplicity-new-signatures.2007-11-22T11:48:37+02:00.to.2007-11-24T12:18:53+02:00.sigtar.gpg'
Ignoring file
'duplicity-new-signatures.2007-11-24T12:18:53+02:00.to.2007-11-24T21:11:19+02:00.sigtar.gpg'
Ignoring file
'duplicity-new-signatures.2007-11-24T21:11:19+02:00.to.2007-11-25T03:00:02+02:00.sigtar.gpg'
Ignoring file
'duplicity-new-signatures.2007-11-25T03:00:02+02:00.to.2007-11-26T03:00:03+02:00.sigtar.gpg'
Ignoring file
'duplicity-new-signatures.2007-11-26T03:00:03+02:00.to.2007-11-27T03:00:04+02:00.sigtar.gpg'
Ignoring file
'duplicity-new-signatures.2007-11-27T03:00:04+02:00.to.2007-11-29T03:00:02+02:00.sigtar.gpg'
Ignoring file
'duplicity-new-signatures.2007-12-04T17:24:43+02:00.to.2007-12-10T03:00:02+02:00.sigtar.gpg'
Ignoring file
'duplicity-new-signatures.2007-12-10T03:00:02+02:00.to.2007-12-13T03:00:02+02:00.sigtar.gpg'
Ignoring file
'duplicity-new-signatures.2007-12-13T03:00:02+02:00.to.2007-12-17T03:00:01+02:00.sigtar.gpg'
Ignoring file
'duplicity-new-signatures.2007-12-17T03:00:01+02:00.to.2007-12-20T03:00:02+02:00.sigtar.gpg'
Ignoring file
'duplicity-new-signatures.2007-12-20T03:00:02+02:00.to.2007-12-24T03:00:02+02:00.sigtar.gpg'
Ignoring file
'duplicity-new-signatures.2007-12-24T03:00:02+02:00.to.2007-12-31T03:00:02+02:00.sigtar.gpg'
Ignoring file
'duplicity-new-signatures.2007-12-31T03:00:02+02:00.to.2008-01-03T03:00:02+02:00.sigtar.gpg'
Ignoring file
'duplicity-new-signatures.2008-01-03T03:00:02+02:00.to.2008-01-07T03:00:02+02:00.sigtar.gpg'
Ignoring file
'duplicity-new-signatures.2008-01-07T03:00:02+02:00.to.2008-01-10T03:00:01+02:00.sigtar.gpg'
Ignoring file
'duplicity-new-signatures.2008-01-10T03:00:01+02:00.to.2008-01-14T03:00:02+02:00.sigtar.gpg'
Ignoring file 'var'
Warning, found incomplete backup sets, probably left from aborted session
Collection Status
-----------------
Connecting with backend: scpBackend
Archive dir: None
Found a complete backup chain with matching signature chain:
-------------------------
Chain start time: Wed Nov 21 17:54:10 2007
Chain end time: Mon Jan 14 03:00:02 2008
Number of contained backup sets: 19
Total number of contained volumes: 3619
Type of backup set: Time: Num volumes:
Full Wed Nov 21 17:54:10 2007 1190
Incremental Thu Nov 22 11:48:37 2007 56
Incremental Sat Nov 24 12:18:53 2007 92
Incremental Sat Nov 24 21:11:19 2007 7
Incremental Sun Nov 25 03:00:02 2007 33
Incremental Mon Nov 26 03:00:03 2007 60
Incremental Tue Nov 27 03:00:04 2007 58
Incremental Thu Nov 29 03:00:02 2007 127
Incremental Tue Dec 4 17:24:43 2007 244
Incremental Mon Dec 10 03:00:02 2007 234
Incremental Thu Dec 13 03:00:02 2007 141
Incremental Mon Dec 17 03:00:01 2007 165
Incremental Thu Dec 20 03:00:02 2007 226
Incremental Mon Dec 24 03:00:02 2007 166
Incremental Mon Dec 31 03:00:02 2007 208
Incremental Thu Jan 3 03:00:02 2008 133
Incremental Mon Jan 7 03:00:02 2008 167
Incremental Thu Jan 10 03:00:01 2008 138
Incremental Mon Jan 14 03:00:02 2008 174
-------------------------
Found 0 backup chains without signatures.
Also found 0 backup sets not part of any chain,
and 4 incomplete backup sets.
These may be deleted by running duplicity with the --cleanup option.
PASSPHRASE variable not set, asking user.
GnuPG passphrase:
Retype to confirm:
Running 'scp
address@hidden:/root/backups/duplicity/duplicity-full.2007-11-21T17:54:10+02:00.manifest.g
pg /tmp/tmpxlY5RO'
duplicity-full.2007-11-21T17:54:10+02:00.manifest.gpg 100%
49KB 49.2KB/s 00:00
gpg: encrypted with ELG-E key, ID 6DDE2F16
gpg: decryption failed: secret key not available
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[i] = iter_list[i].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'
------------------------------------end----------------------------
the line "gpg: decryption failed: secret key not available" seems odd to me,
because I encrypted with the same key.
Can you help me to find a way to decrypt the data?
Is it maybe possible to decrypt a gpg-File manually with shell command.
Any help would be great !!
Thanks in advance.
--
Psssst! Schon vom neuen GMX MultiMessenger gehört?
Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger
- [Duplicity-talk] (no subject),
Ingrid Lohmann <=