Hi,

I want to use "s3cmd sync" to synchronize local backups with S3.
When I'm using following command:
"S3cmd sync backups s3://somebucket/backups"
I have error "ERROR: Parameter problem: Destination S3 URI must end with '/' 
(ie must refer to a directory on the remote side)."

When I'm using another command:
"S3cmd sync backups s3://somebucket/backups/"
It can't fetch files list correctly and wants to delete "1 file" and upload all 
local files, instead of uploading only changed files.

After some debug I've found, that it can't fetch files list from uri, which 
ends with "/". But without "/" it can't synchronize because of "ERROR:...".
I've made patch to solve it and it works now. But I'm not sure that I use s3cmd 
correctly.
Patch attached.

OS: Windows 7 Prof.
S3cmd version: 1.0.1 and 1.1.0-beta3.
Python: 2.7.1

Best regards,
Artem Popov.

Attachment: s3cmd.patch
Description: s3cmd.patch

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
_______________________________________________
S3tools-general mailing list
S3tools-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/s3tools-general

Reply via email to