summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-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