-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Alexander Zangerl schrieb:
> sorry, i should have been more precise: please nuke both ~/.cache
> and your current test backup, then rerun with -v 9 (with the -v9 on
> for the first, full, dump as well).
>
> please also provide an ls -lR of ~/.cache and your dump directory
> after each dump run.
The following is a complete log of what I did. I only X-ed out the key
numbers and e-mail adresses. At the beginning the directories testbackup
and ~/.cache/duplicity are completely empty.
$ ls testbackup
$ ls ~/.cache/duplicity
$ duplicity --encrypt-key XXXXXXXX -v9 test file://testbackup
Using archive dir:
/home/konrad/.cache/duplicity/e382dc88866c505d65b71a6a8b959101
Using backup name: e382dc88866c505d65b71a6a8b959101
Import of duplicity.backends.ftpbackend Succeeded
Import of duplicity.backends.tahoebackend Succeeded
Import of duplicity.backends.giobackend Succeeded
Import of duplicity.backends.hsibackend Succeeded
Import of duplicity.backends.webdavbackend Succeeded
Import of duplicity.backends.rsyncbackend Succeeded
Import of duplicity.backends.localbackend Succeeded
Import of duplicity.backends.sshbackend Succeeded
Import of duplicity.backends.imapbackend Succeeded
Import of duplicity.backends.cloudfilesbackend Succeeded
Import of duplicity.backends.botobackend Succeeded
Main action: inc
================================================================================
duplicity 0.6.06 (October 29, 2009)
Args: /usr/bin/duplicity --encrypt-key XXXXXXXX -v9 test
file://testbackup
Linux berlin 2.6.32.2 #1 PREEMPT Tue Dec 8 21:37:04 CET 2009 i686
/usr/bin/python 2.5.4 (r254:67916, Nov 19 2009, 19:46:21)
[GCC 4.3.4]
================================================================================
Using temporary directory /tmp/duplicity-O4H7zY-tempdir
Registering (mkstemp) temporary file
/tmp/duplicity-O4H7zY-tempdir/mkstemp-sjaB7q-1
Temp has 9189310464 available, backup will use approx 34078720.
Local and Remote metadata are synchronized, no sync needed.
0 files exist on backend
0 files exist in cache
Extracting backup chains from list of files: []
Last full backup date: none
Collection Status
- -----------------
Connecting with backend: LocalBackend
Archive dir:
/home/konrad/.cache/duplicity/e382dc88866c505d65b71a6a8b959101
Found 0 secondary backup chains.
No backup chains with active signatures found
No orphaned or incomplete backup sets found.
No signatures found, switching to full backup.
Using temporary directory
/home/konrad/.cache/duplicity/e382dc88866c505d65b71a6a8b959101/duplicity-hSpJLn-tempdir
Registering (mktemp) temporary file
/home/konrad/.cache/duplicity/e382dc88866c505d65b71a6a8b959101/duplicity-hSpJLn-tempdir/mktemp-Xy2r-c-1
Using temporary directory
/home/konrad/.cache/duplicity/e382dc88866c505d65b71a6a8b959101/duplicity-KQ1V70-tempdir
Registering (mktemp) temporary file
/home/konrad/.cache/duplicity/e382dc88866c505d65b71a6a8b959101/duplicity-KQ1V70-tempdir/mktemp--092L0-1
AsyncScheduler: instantiating at concurrency 0
Registering (mktemp) temporary file
/tmp/duplicity-O4H7zY-tempdir/mktemp-lTu0Zt-2
Selecting test
Comparing () and None
Getting delta of (() test dir) and None
A .
Removing still remembered temporary file
/home/konrad/.cache/duplicity/e382dc88866c505d65b71a6a8b959101/duplicity-hSpJLn-tempdir/mktemp-Xy2r-c-1
Cleanup of temporary file
/home/konrad/.cache/duplicity/e382dc88866c505d65b71a6a8b959101/duplicity-hSpJLn-tempdir/mktemp-Xy2r-c-1
failed
Removing still remembered temporary file
/home/konrad/.cache/duplicity/e382dc88866c505d65b71a6a8b959101/duplicity-KQ1V70-tempdir/mktemp--092L0-1
Cleanup of temporary file
/home/konrad/.cache/duplicity/e382dc88866c505d65b71a6a8b959101/duplicity-KQ1V70-tempdir/mktemp--092L0-1
failed
AsyncScheduler: running task synchronously (asynchronicity disabled)
Writing testbackup/duplicity-full.20100121T025400Z.vol1.difftar.gpg
Deleting /tmp/duplicity-O4H7zY-tempdir/mktemp-lTu0Zt-2
Forgetting temporary file /tmp/duplicity-O4H7zY-tempdir/mktemp-lTu0Zt-2
AsyncScheduler: task completed successfully
Processed volume 1
Writing testbackup/duplicity-full-signatures.20100121T025400Z.sigtar.gpg
Writing testbackup/duplicity-full.20100121T025400Z.manifest.gpg
3 files exist on backend
2 files exist in cache
Extracting backup chains from list of files:
['duplicity-full.20100121T025400Z.manifest.gpg',
'duplicity-full.20100121T025400Z.vol1.difftar.gpg',
'duplicity-full-signatures.20100121T025400Z.sigtar.gpg']
File duplicity-full.20100121T025400Z.manifest.gpg is not part of a known
set; creating new set
File duplicity-full.20100121T025400Z.vol1.difftar.gpg is part of known
set
File duplicity-full-signatures.20100121T025400Z.sigtar.gpg is not part
of a known set; creating new set
Ignoring file (rejected by backup set)
'duplicity-full-signatures.20100121T025400Z.sigtar.gpg'
Found backup chain [Thu Jan 21 03:54:00 2010]-[Thu Jan 21 03:54:00 2010]
- --------------[ Backup Statistics ]--------------
StartTime 1264042441.00 (Thu Jan 21 03:54:00 2010)
EndTime 1264042441.06 (Thu Jan 21 03:54:01 2010)
ElapsedTime 0.06 (0.06 seconds)
SourceFiles 1
SourceFileSize 4096 (4.00 KB)
NewFiles 1
NewFileSize 4096 (4.00 KB)
DeletedFiles 0
ChangedFiles 0
ChangedFileSize 0 (0 bytes)
ChangedDeltaSize 0 (0 bytes)
DeltaEntries 1
RawDeltaSize 0 (0 bytes)
TotalDestinationSizeChange 1221 (1.19 KB)
Errors 0
- -------------------------------------------------
Removing still remembered temporary file
/tmp/duplicity-O4H7zY-tempdir/mkstemp-sjaB7q-1
$ touch test/testfile
$ ls -lR ~/.cache/duplicity
/home/konrad/.cache/duplicity:
insgesamt 4
drwxr-xr-x 2 konrad konrad 4096 21. Jan 03:54
e382dc88866c505d65b71a6a8b959101
/home/konrad/.cache/duplicity/e382dc88866c505d65b71a6a8b959101:
insgesamt 8
- -rw------- 1 konrad konrad 141 21. Jan 03:54
duplicity-full.20100121T025400Z.manifest
- -rw------- 1 konrad konrad 119 21. Jan 03:54
duplicity-full-signatures.20100121T025400Z.sigtar.gz
$ ls -lR testbackup/
testbackup/:
insgesamt 12
- -rw------- 1 konrad konrad 1220 21. Jan 03:54
duplicity-full.20100121T025400Z.manifest.gpg
- -rw------- 1 konrad konrad 1221 21. Jan 03:54
duplicity-full.20100121T025400Z.vol1.difftar.gpg
- -rw------- 1 konrad konrad 1220 21. Jan 03:54
duplicity-full-signatures.20100121T025400Z.sigtar.gpg
$ duplicity --encrypt-key XXXXXXXX -v9 test file://testbackup
Using archive dir:
/home/konrad/.cache/duplicity/e382dc88866c505d65b71a6a8b959101
Using backup name: e382dc88866c505d65b71a6a8b959101
Import of duplicity.backends.ftpbackend Succeeded
Import of duplicity.backends.tahoebackend Succeeded
Import of duplicity.backends.giobackend Succeeded
Import of duplicity.backends.hsibackend Succeeded
Import of duplicity.backends.webdavbackend Succeeded
Import of duplicity.backends.rsyncbackend Succeeded
Import of duplicity.backends.localbackend Succeeded
Import of duplicity.backends.sshbackend Succeeded
Import of duplicity.backends.imapbackend Succeeded
Import of duplicity.backends.cloudfilesbackend Succeeded
Import of duplicity.backends.botobackend Succeeded
Main action: inc
================================================================================
duplicity 0.6.06 (October 29, 2009)
Args: /usr/bin/duplicity --encrypt-key XXXXXXXX -v9 test
file://testbackup
Linux berlin 2.6.32.2 #1 PREEMPT Tue Dec 8 21:37:04 CET 2009 i686
/usr/bin/python 2.5.4 (r254:67916, Nov 19 2009, 19:46:21)
[GCC 4.3.4]
================================================================================
Using temporary directory /tmp/duplicity-Cz4-SI-tempdir
Registering (mkstemp) temporary file
/tmp/duplicity-Cz4-SI-tempdir/mkstemp-Qcjy58-1
Temp has 9189281792 available, backup will use approx 34078720.
Local and Remote metadata are synchronized, no sync needed.
3 files exist on backend
2 files exist in cache
Extracting backup chains from list of files:
['duplicity-full.20100121T025400Z.manifest.gpg',
'duplicity-full.20100121T025400Z.vol1.difftar.gpg',
'duplicity-full-signatures.20100121T025400Z.sigtar.gpg']
File duplicity-full.20100121T025400Z.manifest.gpg is not part of a known
set; creating new set
File duplicity-full.20100121T025400Z.vol1.difftar.gpg is part of known
set
File duplicity-full-signatures.20100121T025400Z.sigtar.gpg is not part
of a known set; creating new set
Ignoring file (rejected by backup set)
'duplicity-full-signatures.20100121T025400Z.sigtar.gpg'
Found backup chain [Thu Jan 21 03:54:00 2010]-[Thu Jan 21 03:54:00 2010]
Last full backup date: Thu Jan 21 03:54:00 2010
Collection Status
- -----------------
Connecting with backend: LocalBackend
Archive dir:
/home/konrad/.cache/duplicity/e382dc88866c505d65b71a6a8b959101
Found 0 secondary backup chains.
Found primary backup chain with matching signature chain:
- -------------------------
Chain start time: Thu Jan 21 03:54:00 2010
Chain end time: Thu Jan 21 03:54:00 2010
Number of contained backup sets: 1
Total number of contained volumes: 1
Type of backup set: Time: Num volumes:
Full Thu Jan 21 03:54:00 2010 1
- -------------------------
No orphaned or incomplete backup sets found.
Registering (mktemp) temporary file
/tmp/duplicity-Cz4-SI-tempdir/mktemp--JuVMT-2
Removing still remembered temporary file
/tmp/duplicity-Cz4-SI-tempdir/mkstemp-Qcjy58-1
Removing still remembered temporary file
/tmp/duplicity-Cz4-SI-tempdir/mktemp--JuVMT-2
GPG error detail: Traceback (most recent call last):
File "/usr/bin/duplicity", line 1236, in <module>
with_tempdir(main)
File "/usr/bin/duplicity", line 1229, in with_tempdir
fn()
File "/usr/bin/duplicity", line 1210, in main
check_last_manifest(col_stats) # not needed for full backup
File "/usr/bin/duplicity", line 970, in check_last_manifest
last_backup_set.check_manifests()
File "/usr/lib/python2.5/site-packages/duplicity/collections.py", line
180, in check_manifests
remote_manifest = self.get_remote_manifest()
File "/usr/lib/python2.5/site-packages/duplicity/collections.py", line
214, in get_remote_manifest
manifest_buffer = self.backend.get_data(self.remote_manifest_name)
File "/usr/lib/python2.5/site-packages/duplicity/backend.py", line
490, in get_data
assert not fin.close()
File "/usr/lib/python2.5/site-packages/duplicity/dup_temp.py", line
210, in close
assert not self.fileobj.close()
File "/usr/lib/python2.5/site-packages/duplicity/gpg.py", line 201, in
close
self.gpg_failed()
File "/usr/lib/python2.5/site-packages/duplicity/gpg.py", line 168, in
gpg_failed
raise GPGError, msg
GPGError: GPG Failed, see log below:
===== Begin GnuPG log =====
gpg: verschlüsselt mit 4096-Bit ELG-E Schlüssel, ID XXXXXXXX, erzeugt
2007-08-17
"Konrad Zimmermann (E-Mail) <XXXXXXXXXXXX>"
gpg: Entschlüsselung mit Public-Key-Verfahren fehlgeschlagen: Falsche
Passphrase
gpg: Entschlüsselung fehlgeschlagen: Geheimer Schlüssel ist nicht vorhanden
===== End GnuPG log =====
GPGError: GPG Failed, see log below:
===== Begin GnuPG log =====
gpg: verschlüsselt mit 4096-Bit ELG-E Schlüssel, ID XXXXXXXX, erzeugt
2007-08-17
"Konrad Zimmermann (E-Mail) <XXXXXXXXXXXX>"
gpg: Entschlüsselung mit Public-Key-Verfahren fehlgeschlagen: Falsche
Passphrase
gpg: Entschlüsselung fehlgeschlagen: Geheimer Schlüssel ist nicht vorhanden
===== End GnuPG log =====
$ ls -lR ~/.cache/duplicity
/home/konrad/.cache/duplicity:
insgesamt 4
drwxr-xr-x 2 konrad konrad 4096 21. Jan 03:54
e382dc88866c505d65b71a6a8b959101
/home/konrad/.cache/duplicity/e382dc88866c505d65b71a6a8b959101:
insgesamt 8
- -rw------- 1 konrad konrad 141 21. Jan 03:54
duplicity-full.20100121T025400Z.manifest
- -rw------- 1 konrad konrad 119 21. Jan 03:54
duplicity-full-signatures.20100121T025400Z.sigtar.gz
$ ls -lR testbackup/
testbackup/:
insgesamt 12
- -rw------- 1 konrad konrad 1220 21. Jan 03:54
duplicity-full.20100121T025400Z.manifest.gpg
- -rw------- 1 konrad konrad 1221 21. Jan 03:54
duplicity-full.20100121T025400Z.vol1.difftar.gpg
- -rw------- 1 konrad konrad 1220 21. Jan 03:54
duplicity-full-signatures.20100121T025400Z.sigtar.gpg
By the way explicitly specifying an --archive-dir doesn't make a difference.
Regards
Konrad
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
iEYEARECAAYFAktXxkgACgkQnpKH9hdjHAswlwCdHjiXkgHlZP4x01WG1ZuL+k/7
ze4AnifyZKsUs6xDGe0pFoSxVz+ZmXXy
=AWU4
-----END PGP SIGNATURE-----
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]