summaryrefslogtreecommitdiff
path: root/config/backup.rb
diff options
context:
space:
mode:
authorStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-01-31 12:26:47 +0100
committerStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-01-31 12:26:47 +0100
commit68f0f677c5cba6775622d0e50c4315e6361ff5c9 (patch)
tree77e1503960c910a57093b1a467995ccb740c19d9 /config/backup.rb
parent495582824eda0b3e69e88e52be2fabecba650bfa (diff)
First test setup for the backup.
Diffstat (limited to 'config/backup.rb')
-rw-r--r--config/backup.rb32
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