[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Duplicity-talk] problem with restores from S3
From: |
Tim Riemenschneider |
Subject: |
Re: [Duplicity-talk] problem with restores from S3 |
Date: |
Thu, 09 Oct 2008 10:27:47 +0200 |
User-agent: |
Mozilla-Thunderbird 2.0.0.16 (X11/20080724) |
That's probably a misunderstanding in the command-line-arguments:
Russell Clemings schrieb:
> address@hidden s3backup]# cat backup.sh
> #!/bin/sh
> export AWS_ACCESS_KEY_ID=XXXXXXXXX
> export AWS_SECRET_ACCESS_KEY=XXXXXXXXX
> export PASSPHRASE=XXXXXXXXX
> export GPG_KEY=XXXXXXXXX
> SOURCE=/
> DEST=s3+http://BUCKETNAME
>
^^^^^^^^^^^^
Your destiniation is the root of your bucket.
> http://s3.amazonaws.com/BUCKETNAME/duplicity-new-signatures.2008-10-08T01:51:13-04:00.to.2008-10-08T21:58:33-04:00.sigtar.gpg
> http://s3.amazonaws.com/BUCKETNAME/duplicity-inc.2008-10-08T01:51:13-04:00.to.2008-10-08T21:58:33-04:00.manifest.gpg
> http://s3.amazonaws.com/BUCKETNAME/duplicity-inc.2008-10-08T01:51:13-04:00.to.2008-10-08T21:58:33-04:00.vol1.difftar.gpg
> http://s3.amazonaws.com/BUCKETNAME/duplicity-inc.2008-10-08T01:51:13-04:00.to.2008-10-08T21:58:33-04:00.vol2.difftar.gpg
>
>
The files are directly in the root of your bucket.
> Now, here's the restore script:
> address@hidden s3backup]# cat restore.sh
> #!/bin/sh
> export AWS_ACCESS_KEY_ID=XXXXXXXXX
> export AWS_SECRET_ACCESS_KEY=XXXXXXXXX
> export PASSPHRASE=XXXXXXXXX
> export GPG_KEY=XXXXXXXXX
> /usr/local/bin/duplicity -v9 --encrypt-key=${GPG_KEY}
> --sign-key=${GPG_KEY} s3+http://BUCKETNAME/root /root1
>
You try to restore from a directory root inside your bucket, that does
not exist.
> address@hidden s3backup]# ./restore.sh
> Main action: restore
> 0 files exist on backend
>
.... and duplicity says so.
What you need is:
/usr/local/bin/duplicity -v9 --encrypt-key=${GPG_KEY}
--sign-key=${GPG_KEY} --file-to-restore root s3+http://BUCKETNAME/ /root1
cu
Tim
--
detco GbR
Tim Riemenschneider - Entwickler
Haferwende 27
28357 Bremen
Geschäftsführer: Sebastian Constantin, Jens Frischen
Phone: 0421 / 22 37 99 00
Fax: 0421 / 22 37 99 01
Mobil: 0179 / 21 27 285
Mail: address@hidden
Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen.
Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten
haben, informieren Sie bitte sofort den Absender und löschen Sie diese Mail.
Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail und der
darin enthaltenen Informationen sind nicht gestattet.
This e-mail may contain confidential and/or privileged information. If you are
not the intended recipient (or have received this e-mail in error) please
notify the sender immediately and delete this e-mail. Any unauthorized copying,
disclosure or distribution of the material in this e-mail is strictly forbidden.