duplicity-talk
[Top][All Lists]
Advanced

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

[Duplicity-talk] recover difficulties


From: Ingrid Lohmann
Subject: [Duplicity-talk] recover difficulties
Date: Fri, 23 Nov 2007 12:13:50 +0100

hi all,

lately I installed duplicity on our rootserver.(also with the help o f this 
mailing list). I use the following backup script:

---start---
#!/bin/bash
export PASSPHRASE=signtest
duplicity --encrypt-key "F23AZ111" --sign-key "F23AZ111"   -v9 /var  
scp://address@hidden//root/backups/var
---end---

IMHO this should backup all files under /var such as for instance the unix 
logfiles (e.g. /var/log/messages) or files in connection with our internet 
presence (/var/www/web1/html/index.php)

In order to test wether its possible to recover a file
I tried the following shell command:

duplicity  --encrypt-key "F23AZ111" --sign-key "F23AZ111" --file-to-restore   
/var/log/mail.info   scp://address@hidden//root/backups/var /root/backuptest


but I get the following message:

GnuPG passphrase:
Retype to confirm:
duplicity-full.2007-11-22T12:26:19+02:00.manifest.gpg                100%   
40KB  40.3KB/s   00:00
duplicity-full.2007-11-22T12:26:19+02:00.vol1.difftar.gpg            100% 
5423KB   2.7MB/s   00:02
duplicity-inc.2007-11-22T12:26:19+02:00.to.2007-11-22T15:33:54+02:00 100%  630  
   0.6KB/s   00:00
duplicity-inc.2007-11-22T15:33:54+02:00.to.2007-11-22T16:46:38+02:00 100%  670  
   0.7KB/s   00:00
/var/log/mail.info not found in archive, no files restored.
Debian-pre40-64-minimal:~/duplicity#


When I start the backup script I it begins with:

------------------------begin-------------------------
'printf 'cd /root/backups/var
ls -1' | sftp -b - address@hidden'
Ignoring file 'duplicity-full-signatures.2007-11-22T12:26:19+02:00.sigtar.gpg'
Ignoring file 
'duplicity-new-signatures.2007-11-22T12:26:19+02:00.to.2007-11-22T15:33:54+02:00.sigtar.gpg'
Collection Status
-----------------
Connecting with backend: scpBackend
Archive dir: None

Found a complete backup chain with matching signature chain:
-------------------------
Chain start time: Thu Nov 22 12:26:19 2007
Chain end time: Thu Nov 22 15:33:54 2007
Number of contained backup sets: 2
Total number of contained volumes: 956
 Type of backup set:                            Time:      Num volumes:
                Full         Thu Nov 22 12:26:19 2007               954
         Incremental         Thu Nov 22 15:33:54 2007                 2
-------------------------

Found 0 backup chains without signatures.
No orphaned or incomplete backup sets found.
Running 'scp 
address@hidden:/root/backups/var/duplicity-inc.2007-11-22T12:26:19+02:00.to.2007-11-22T15:33:54+02:00.manifest.gpg
 /tmp/tmpl8YwNS'
duplicity-inc.2007-11-22T12:26:19+02:00.to.2007-11-22T15:33:54+02:00.manifest.gpg
     100%  630     0.6KB/s   00:00
gpg: encrypted with 1024-bit ELG-E key, ID 6DDE2F16, created 2007-11-13
      "signtest (signtest) <address@hidden>"
gpg: Signature made Thu 22 Nov 2007 03:41:00 PM CET using DSA key ID C49CD263
gpg: Good signature from "signtest (signtest) <address@hidden>"
Deleting /tmp/tmpl8YwNS
Running 'scp 
address@hidden:/root/backups/var/duplicity-full-signatures.2007-11-22T12:26:19+02:00.sigtar.gpg
 /tmp/tmpyYX0F5'
duplicity-full-signatures.2007-11-22T12:26:19+02:00.sigtar.gpg

------------------------end-------------------------

Can anybody help me to get the recovering process functioning ?

thanks in advance.

Poc







-- 
GMX FreeMail: 1 GB Postfach, 5 E-Mail-Adressen, 10 Free SMS.
Alle Infos und kostenlose Anmeldung: http://www.gmx.net/de/go/freemail




reply via email to

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