Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Consistent quotations in template files. More descriptive comment blo…
…cks for Dropbox and Rackspace Cloud Files.
- Loading branch information
Michael van Rooijen
committed
Jan 31, 2012
1 parent
e9f9980
commit b4ac497
Showing
21 changed files
with
116 additions
and
89 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,25 @@ | ||
## | ||
# Archive [Archive] | ||
# | ||
# Adding a file: | ||
# | ||
# archive.add "/path/to/a/file.rb" | ||
# | ||
# Adding an directory (including sub-directories): | ||
# | ||
# archive.add "/path/to/a/directory/" | ||
# | ||
# Excluding a file: | ||
# | ||
# archive.exclude "/path/to/an/excluded_file.rb" | ||
# | ||
# Excluding a directory (including sub-directories): | ||
# | ||
# archive.exclude "/path/to/an/excluded_directory/ | ||
# | ||
archive :my_archive do |archive| | ||
# add a file | ||
archive.add '/path/to/a/file.rb' | ||
# add a folder (including sub-folders) | ||
archive.add '/path/to/a/folder/' | ||
# exclude a file | ||
archive.exclude '/path/to/a/excluded_file.rb' | ||
# exclude a folder (including sub-folders) | ||
archive.exclude '/path/to/a/excluded_folder/' | ||
archive.add "/path/to/a/file.rb" | ||
archive.add "/path/to/a/folder/" | ||
archive.exclude "/path/to/a/excluded_file.rb" | ||
archive.exclude "/path/to/a/excluded_folder/" | ||
end |
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
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
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
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
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
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
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
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,22 @@ | ||
## | ||
# Rackspace Cloud Files [Storage] | ||
# | ||
# Available Auth URLs: | ||
# | ||
# - https://auth.api.rackspacecloud.com (US - Default) | ||
# - https://lon.auth.api.rackspacecloud.com (UK) | ||
# | ||
# Servicenet: | ||
# | ||
# Set this to 'true' if Backup runs on a Rackspace server. It will avoid | ||
# transfer charges and it's more performant. | ||
# | ||
store_with CloudFiles do |cf| | ||
cf.api_key = 'my_api_key' | ||
cf.username = 'my_username' | ||
cf.container = 'my_container' | ||
cf.path = '/path/to/my/backups' | ||
cf.api_key = "my_api_key" | ||
cf.username = "my_username" | ||
cf.container = "my_container" | ||
cf.path = "/path/to/my/backups" | ||
cf.keep = 5 | ||
cf.auth_url = 'lon.auth.api.rackspacecloud.com' | ||
cf.auth_url = "lon.auth.api.rackspacecloud.com" | ||
cf.servicenet = false | ||
end |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,20 @@ | ||
## | ||
# Dropbox File Hosting Service [Storage] | ||
# Note: Initial backup must be performed manually to authorize | ||
# this machine with your Dropbox account. | ||
# | ||
# Access Type: | ||
# | ||
# - :app_folder (Default) | ||
# - :dropbox | ||
# | ||
# Note: | ||
# | ||
# Initial backup must be performed manually to authorize | ||
# this machine with your Dropbox account. | ||
# | ||
store_with Dropbox do |db| | ||
db.api_key = 'my_api_key' | ||
db.api_secret = 'my_api_secret' | ||
# Dropbox Access Type | ||
# The default value is :app_folder | ||
# Change this to :dropbox if needed | ||
# db.access_type = :dropbox | ||
db.path = '/path/to/my/backups' | ||
db.keep = 25 | ||
db.api_key = "my_api_key" | ||
db.api_secret = "my_api_secret" | ||
db.access_type = :app_folder | ||
db.path = "/path/to/my/backups" | ||
db.keep = 25 | ||
end |
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
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
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
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
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
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
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