Created
March 21, 2011 00:53
-
-
Save jwhitcraft/878852 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Backup::Model.new(:storage_backup, 'Storage Backup') do | |
sync_with S3 do |s3| | |
s3.access_key_id = "access_key" | |
s3.secret_access_key = "secret_access_key" | |
s3.bucket = "bd_backup" | |
s3.path = "/macstorage" | |
s3.mirror = true | |
s3.additional_options = ['--exclude=".Spotlight-V100|.DS_Store|.fseventsd|.TemporaryItems|Movies|iMovie"'] | |
s3.directories do |directory| | |
directory.add "/Volumes/Storage/" | |
end | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment