Created
July 6, 2012 04:14
-
-
Save FernandoEscher/3058032 to your computer and use it in GitHub Desktop.
Configuration file for backups of Ppostgresql to Dropbox.
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
# 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 = "pa$$word" | |
# 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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment