From: Simone C. <si...@co...> - 2010-03-08 15:42:06
|
Hi, I’m trying to backup to S3 my whole home directory (let’s say /home/user/*) how do I write the commandline in order to have some folders excluded from the backup? i.e. I dont want to have /home/user/Desktop/not_needed/* and /home/user/no_no_no/* backed up on S3 because these are Dropbox folders and svn repositories. I try this and other variations, but it does not work (s3cmd does backup everything): s3cmd sync —exclude /home/user/Desktop/not_needed/* —exclude /home/user/no_no_no/* —include “/home/user/*” /home/user s3://some-backup-bucket Can you point me in the right direction? Thankyou. Simone. |