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:
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!