S3Sync.net
February 02, 2014, 01:37:29 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
 
  Home Help Search Login Register  
  Show Posts
Pages: [1]
1  General Category / Questions / Sync Deletes Files on: April 23, 2008, 05:56:24 AM
Hi

We currently use S3sync to upload a folder to amazon's S3 service.

The only problem we have, is that if a file in the folder we are syncing has been deleted, it removes it from the S3 aswell.

I'm using the following code in upload.sh

Code:
ruby s3sync.rb -r -s -v -d  --exclude="cache$|captchas$" --delete /home/share/ bolser:/share > /var/log/s3sync/backup.err > /var/log/s3sync/backup.log

Does the
Code:
--delete
part mean, to delete files in S3 that aren't in the the folder /home/share?

I want to keep all the files that have ever been synced to remain in S3, regardless of them being deleted in /home/share

Thanks
2  General Category / Questions / Daily Backup Incremental on: April 01, 2008, 07:10:14 AM
Hi

I'm wanting to use a cron to back up my files on a daily basis, which I'd like incremented.

Can someone please help with the code to do this?

Thanks
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!