zertrin / duplicity-backup.sh

Bash wrapper script for automated backups with duplicity supporting Amazon's S3 online storage as well as other storage destinations (ftp, rsync, sftp, local storage...).
https://zertrin.org/projects/duplicity-backup/
GNU General Public License v3.0
766 stars 187 forks source link

ERROR: Access to bucket '_edited_out_' was denied #151

Closed syst0m closed 7 years ago

syst0m commented 7 years ago

When running the script with "-f" I get:

ERROR: Access to bucket '_edited_out_' was denied
curl: (1) Protocol  https not supported or disabled in libcurl

However, the backed up files get uploaded to the bucket and I receive an e-mail notification without the denied error:

--------    START DUPLICITY-BACKUP SCRIPT for _edited_out_   --------

Attempting to acquire lock /var/log/duplicity/backup.lock
successfully acquired lock.
Local and Remote metadata are synchronized, no sync needed.
Last full backup date: Wed Nov 30 08:24:13 2016
--------------[ Backup Statistics ]--------------
StartTime 1480494471.35 (Wed Nov 30 08:27:51 2016)
EndTime 1480494471.98 (Wed Nov 30 08:27:51 2016)
ElapsedTime 0.62 (0.62 seconds)
SourceFiles 2771
SourceFileSize 5403817 (5.15 MB)
NewFiles 2771
NewFileSize 5403817 (5.15 MB)
DeletedFiles 0
ChangedFiles 0
ChangedFileSize 0 (0 bytes)
ChangedDeltaSize 0 (0 bytes)
DeltaEntries 2771
RawDeltaSize 4146061 (3.95 MB)
TotalDestinationSizeChange 1336321 (1.27 MB)
Errors 0

----------------[ Duplicity Cleanup ]----------------
Local and Remote metadata are synchronized, no sync needed.
Last full backup date: Wed Nov 30 08:27:51 2016
No old backup sets found, nothing deleted.

-----------[ Source Disk Use Information ]-----------
9.8M    /etc

---------[ Destination Disk Use Information ]--------
    Amazon S3 type backend

---------    END DUPLICITY-BACKUP SCRIPT    --------
zertrin commented 7 years ago

The backup was ok, but there is no "Destination Disk Use Information" shown.

Did you configure s3cmd properly?

syst0m commented 7 years ago

I added the access+secret key in duplicity conf file. However, my .s3cfg is using a different keyset.

What's the point of those variables in duplicity conf if they are overriden by .s3cfg ones?

zertrin commented 7 years ago

They are for duplicity, which is the one uploading your data. s3cmd is only used for checking the space used in S3, since duplicity doesn't give us this information.

syst0m commented 7 years ago

I see, thanks for clarifying.