diff options
author | Stefan Wintermeyer <stefan.wintermeyer@amooma.de> | 2013-01-31 12:27:06 +0100 |
---|---|---|
committer | Stefan Wintermeyer <stefan.wintermeyer@amooma.de> | 2013-01-31 12:27:06 +0100 |
commit | d7776c30e782470e6fb2cb795a8fadbba8465fc2 (patch) | |
tree | 77e1503960c910a57093b1a467995ccb740c19d9 /config | |
parent | 2a7ddaef6af6b32308b1f5dd9b3f3b53fc11d9fc (diff) | |
parent | 68f0f677c5cba6775622d0e50c4315e6361ff5c9 (diff) |
Merge branch 'backup' into develop
Diffstat (limited to 'config')
-rw-r--r-- | config/backup.rb | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/config/backup.rb b/config/backup.rb new file mode 100644 index 0000000..a7d98c3 --- /dev/null +++ b/config/backup.rb @@ -0,0 +1,32 @@ +# encoding: utf-8 + +## +# Backup +# Generated Main Config Template +# +# For more information: +# +# View the Git repository at https://github.com/meskyanichi/backup +# View the Wiki/Documentation at https://github.com/meskyanichi/backup/wiki +# View the issue log at https://github.com/meskyanichi/backup/issues + +## +# Global Configuration +# Add more (or remove) global configuration below +# +# Backup::Storage::S3.defaults do |s3| +# s3.access_key_id = "my_access_key_id" +# s3.secret_access_key = "my_secret_access_key" +# end +# +# Backup::Encryptor::OpenSSL.defaults do |encryption| +# encryption.password = "my_password" +# encryption.base64 = true +# encryption.salt = true +# end + +## +# Load all models from the models directory (after the above global configuration blocks) +Dir[File.join(File.dirname(Config.config_file), "models", "*.rb")].each do |model| + instance_eval(File.read(model)) +end |