[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Duplicity-talk] recover difficulties
From: |
Kenneth Loafman |
Subject: |
Re: [Duplicity-talk] recover difficulties |
Date: |
Fri, 23 Nov 2007 11:01:27 -0600 |
User-agent: |
Thunderbird 1.5.0.14pre (X11/20071023) |
Ingrid Lohmann wrote:
> 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
Instead of /var/log/mail.info, use log/mail.info. Its relative to the
path you saved. Also, you need to specify the full path to restore,
i.e. /root/backuptest/mail.info.
...Ken
signature.asc
Description: OpenPGP digital signature