Content-Type: multipart/alternative; boundary="_000_027B644BD78DB543A0AF20A44FEFB7868327DA4BWINSTMBX01store_" --_000_027B644BD78DB543A0AF20A44FEFB7868327DA4BWINSTMBX01store_ Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: quoted-printable 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 s= 3cmd 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. --_000_027B644BD78DB543A0AF20A44FEFB7868327DA4BWINSTMBX01store_ Content-Type: text/html; charset="koi8-r" Content-Transfer-Encoding: quoted-printable

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: Para= meter problem: Destination S3 URI must end with '/' (ie must refer to a dir= ectory on the remote side).”

 

When I’m using another co= mmand:

“S3cmd sync backups s3://= somebucket/backups/”

It can’t fetch files list= correctly and wants to delete “1 file” and upload all local fi= les, instead of uploading only changed files.

 

After some debug I’ve fou= nd, 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.<= /span>

S3cmd version: 1.0.1 and 1.1.0-= beta3.

Python: 2.7.1=

 

Best regards,=

Artem Popov.<= /p>

--_000_027B644BD78DB543A0AF20A44FEFB7868327DA4BWINSTMBX01store_--