s3cmd icon indicating copy to clipboard operation
s3cmd copied to clipboard

Sync not working on linux centos 7

Open jxs714 opened this issue 3 years ago • 1 comments

Hey guys

I am having an issue with s3cmd where sync does not work, and commands such as --skip-existing also does not work. I am trying to backup from Digital Ocean spaces and mirror it where if files are deleted, they are also deleted from the remote server. When I try sync, nothing happens, just a paused command line with no errors or updates even when I use --progress and --stats. I also tried get, which works fine, but when using the skip existing command, its still writing the entire root folder structure from DO to the server backup destination.

How can I get this to work properly so that I can create a cronjob? Here is the command I am using:

s3cmd sync s3://MYBUCKET/ /MYBACKUPSERVER/ --recursive --progress --stats --skip-existing

Please advise, thanks so much!

jxs714 avatar Jan 15 '22 11:01 jxs714

Hi, You can add the "-v" or "-d" flags to get a more detailed log of what is going on.

fviard avatar Jan 16 '22 23:01 fviard