backup 3.0.27 → 3.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/LICENSE.md +1 -1
- data/README.md +139 -386
- data/bin/backup +1 -7
- data/lib/backup.rb +3 -9
- data/lib/backup/archive.rb +26 -20
- data/lib/backup/cleaner.rb +2 -2
- data/lib/backup/cli.rb +366 -0
- data/lib/backup/compressor/base.rb +2 -2
- data/lib/backup/compressor/gzip.rb +35 -1
- data/lib/backup/config.rb +1 -2
- data/lib/backup/database/base.rb +2 -2
- data/lib/backup/database/mongodb.rb +3 -3
- data/lib/backup/database/mysql.rb +3 -2
- data/lib/backup/database/postgresql.rb +3 -2
- data/lib/backup/database/riak.rb +18 -5
- data/lib/backup/dependency.rb +144 -93
- data/lib/backup/encryptor/base.rb +2 -2
- data/lib/backup/logger.rb +108 -110
- data/lib/backup/logger/console.rb +51 -0
- data/lib/backup/logger/logfile.rb +113 -0
- data/lib/backup/logger/syslog.rb +116 -0
- data/lib/backup/model.rb +67 -65
- data/lib/backup/notifier/base.rb +1 -1
- data/lib/backup/notifier/hipchat.rb +1 -1
- data/lib/backup/notifier/mail.rb +1 -1
- data/lib/backup/notifier/pushover.rb +6 -3
- data/lib/backup/packager.rb +4 -4
- data/lib/backup/pipeline.rb +17 -3
- data/lib/backup/splitter.rb +2 -2
- data/lib/backup/storage/base.rb +2 -2
- data/lib/backup/storage/cloudfiles.rb +2 -2
- data/lib/backup/storage/dropbox.rb +4 -4
- data/lib/backup/storage/ftp.rb +2 -2
- data/lib/backup/storage/local.rb +2 -2
- data/lib/backup/storage/ninefold.rb +2 -2
- data/lib/backup/storage/rsync.rb +3 -3
- data/lib/backup/storage/s3.rb +2 -2
- data/lib/backup/storage/scp.rb +2 -6
- data/lib/backup/storage/sftp.rb +2 -5
- data/lib/backup/syncer/base.rb +1 -1
- data/lib/backup/syncer/cloud/base.rb +15 -8
- data/lib/backup/syncer/rsync/local.rb +1 -1
- data/lib/backup/syncer/rsync/pull.rb +1 -1
- data/lib/backup/syncer/rsync/push.rb +1 -1
- data/lib/backup/utilities.rb +211 -0
- data/lib/backup/version.rb +1 -1
- data/templates/cli/{utility/archive → archive} +4 -8
- data/templates/cli/{utility/compressor → compressor}/bzip2 +0 -0
- data/templates/cli/{utility/compressor → compressor}/custom +0 -0
- data/templates/cli/{utility/compressor → compressor}/gzip +0 -0
- data/templates/cli/{utility/compressor → compressor}/lzma +0 -0
- data/templates/cli/{utility/compressor → compressor}/pbzip2 +0 -0
- data/templates/cli/config +68 -0
- data/templates/cli/{utility/database → database}/mongodb +1 -1
- data/templates/cli/{utility/database → database}/mysql +1 -1
- data/templates/cli/{utility/database → database}/postgresql +1 -1
- data/templates/cli/{utility/database → database}/redis +0 -0
- data/templates/cli/database/riak +20 -0
- data/templates/cli/{utility/encryptor → encryptor}/gpg +0 -0
- data/templates/cli/{utility/encryptor → encryptor}/openssl +0 -0
- data/templates/cli/{utility/model.erb → model.erb} +4 -4
- data/templates/cli/{utility/notifier → notifier}/campfire +0 -0
- data/templates/cli/{utility/notifier → notifier}/hipchat +0 -0
- data/templates/cli/{utility/notifier → notifier}/mail +0 -0
- data/templates/cli/{utility/notifier → notifier}/prowl +0 -0
- data/templates/cli/{utility/notifier → notifier}/pushover +0 -0
- data/templates/cli/{utility/notifier → notifier}/twitter +0 -0
- data/templates/cli/{utility/splitter → splitter} +0 -0
- data/templates/cli/{utility/storage → storage}/cloud_files +0 -0
- data/templates/cli/{utility/storage → storage}/dropbox +0 -0
- data/templates/cli/{utility/storage → storage}/ftp +0 -0
- data/templates/cli/{utility/storage → storage}/local +0 -0
- data/templates/cli/{utility/storage → storage}/ninefold +0 -0
- data/templates/cli/{utility/storage → storage}/rsync +0 -0
- data/templates/cli/{utility/storage → storage}/s3 +0 -0
- data/templates/cli/{utility/storage → storage}/scp +0 -0
- data/templates/cli/{utility/storage → storage}/sftp +0 -0
- data/templates/cli/{utility/syncer → syncer}/cloud_files +0 -0
- data/templates/cli/{utility/syncer → syncer}/rsync_local +0 -0
- data/templates/cli/{utility/syncer → syncer}/rsync_pull +0 -0
- data/templates/cli/{utility/syncer → syncer}/rsync_push +0 -0
- data/templates/cli/{utility/syncer → syncer}/s3 +0 -0
- metadata +55 -131
- data/.gitignore +0 -8
- data/.travis.yml +0 -10
- data/Gemfile +0 -28
- data/Guardfile +0 -23
- data/backup.gemspec +0 -32
- data/lib/backup/cli/helpers.rb +0 -93
- data/lib/backup/cli/utility.rb +0 -255
- data/spec-live/.gitignore +0 -6
- data/spec-live/README +0 -7
- data/spec-live/backups/config.rb +0 -83
- data/spec-live/backups/config.yml.template +0 -46
- data/spec-live/backups/models.rb +0 -184
- data/spec-live/compressor/custom_spec.rb +0 -30
- data/spec-live/compressor/gzip_spec.rb +0 -30
- data/spec-live/encryptor/gpg_keys.rb +0 -239
- data/spec-live/encryptor/gpg_spec.rb +0 -287
- data/spec-live/notifier/mail_spec.rb +0 -121
- data/spec-live/spec_helper.rb +0 -151
- data/spec-live/storage/dropbox_spec.rb +0 -151
- data/spec-live/storage/local_spec.rb +0 -83
- data/spec-live/storage/scp_spec.rb +0 -193
- data/spec-live/syncer/cloud/s3_spec.rb +0 -124
- data/spec/archive_spec.rb +0 -335
- data/spec/cleaner_spec.rb +0 -312
- data/spec/cli/helpers_spec.rb +0 -301
- data/spec/cli/utility_spec.rb +0 -411
- data/spec/compressor/base_spec.rb +0 -52
- data/spec/compressor/bzip2_spec.rb +0 -217
- data/spec/compressor/custom_spec.rb +0 -106
- data/spec/compressor/gzip_spec.rb +0 -217
- data/spec/compressor/lzma_spec.rb +0 -123
- data/spec/compressor/pbzip2_spec.rb +0 -165
- data/spec/config_spec.rb +0 -321
- data/spec/configuration/helpers_spec.rb +0 -247
- data/spec/configuration/store_spec.rb +0 -39
- data/spec/configuration_spec.rb +0 -62
- data/spec/database/base_spec.rb +0 -63
- data/spec/database/mongodb_spec.rb +0 -510
- data/spec/database/mysql_spec.rb +0 -411
- data/spec/database/postgresql_spec.rb +0 -353
- data/spec/database/redis_spec.rb +0 -334
- data/spec/database/riak_spec.rb +0 -176
- data/spec/dependency_spec.rb +0 -51
- data/spec/encryptor/base_spec.rb +0 -40
- data/spec/encryptor/gpg_spec.rb +0 -909
- data/spec/encryptor/open_ssl_spec.rb +0 -148
- data/spec/errors_spec.rb +0 -306
- data/spec/logger_spec.rb +0 -367
- data/spec/model_spec.rb +0 -666
- data/spec/notifier/base_spec.rb +0 -104
- data/spec/notifier/campfire_spec.rb +0 -217
- data/spec/notifier/hipchat_spec.rb +0 -211
- data/spec/notifier/mail_spec.rb +0 -316
- data/spec/notifier/prowl_spec.rb +0 -138
- data/spec/notifier/pushover_spec.rb +0 -123
- data/spec/notifier/twitter_spec.rb +0 -153
- data/spec/package_spec.rb +0 -61
- data/spec/packager_spec.rb +0 -213
- data/spec/pipeline_spec.rb +0 -259
- data/spec/spec_helper.rb +0 -60
- data/spec/splitter_spec.rb +0 -120
- data/spec/storage/base_spec.rb +0 -166
- data/spec/storage/cloudfiles_spec.rb +0 -254
- data/spec/storage/cycler_spec.rb +0 -247
- data/spec/storage/dropbox_spec.rb +0 -480
- data/spec/storage/ftp_spec.rb +0 -271
- data/spec/storage/local_spec.rb +0 -259
- data/spec/storage/ninefold_spec.rb +0 -343
- data/spec/storage/rsync_spec.rb +0 -362
- data/spec/storage/s3_spec.rb +0 -245
- data/spec/storage/scp_spec.rb +0 -233
- data/spec/storage/sftp_spec.rb +0 -244
- data/spec/syncer/base_spec.rb +0 -109
- data/spec/syncer/cloud/base_spec.rb +0 -515
- data/spec/syncer/cloud/cloud_files_spec.rb +0 -181
- data/spec/syncer/cloud/s3_spec.rb +0 -174
- data/spec/syncer/rsync/base_spec.rb +0 -98
- data/spec/syncer/rsync/local_spec.rb +0 -149
- data/spec/syncer/rsync/pull_spec.rb +0 -98
- data/spec/syncer/rsync/push_spec.rb +0 -333
- data/spec/version_spec.rb +0 -21
- data/templates/cli/utility/config +0 -32
- data/templates/cli/utility/database/riak +0 -11
|
@@ -2,20 +2,16 @@
|
|
|
2
2
|
# Archive [Archive]
|
|
3
3
|
#
|
|
4
4
|
# Adding a file:
|
|
5
|
-
#
|
|
6
|
-
# archive.add "/path/to/a/file.rb"
|
|
5
|
+
# archive.add "/path/to/a/file.rb"
|
|
7
6
|
#
|
|
8
7
|
# Adding an directory (including sub-directories):
|
|
9
|
-
#
|
|
10
|
-
# archive.add "/path/to/a/directory/"
|
|
8
|
+
# archive.add "/path/to/a/directory/"
|
|
11
9
|
#
|
|
12
10
|
# Excluding a file:
|
|
13
|
-
#
|
|
14
|
-
# archive.exclude "/path/to/an/excluded_file.rb"
|
|
11
|
+
# archive.exclude "/path/to/an/excluded_file.rb"
|
|
15
12
|
#
|
|
16
13
|
# Excluding a directory (including sub-directories):
|
|
17
|
-
#
|
|
18
|
-
# archive.exclude "/path/to/an/excluded_directory/
|
|
14
|
+
# archive.exclude "/path/to/an/excluded_directory/
|
|
19
15
|
#
|
|
20
16
|
archive :my_archive do |archive|
|
|
21
17
|
archive.add "/path/to/a/file.rb"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
# encoding: utf-8
|
|
2
|
+
|
|
3
|
+
##
|
|
4
|
+
# Backup
|
|
5
|
+
# Generated Main Config Template
|
|
6
|
+
#
|
|
7
|
+
# For more information:
|
|
8
|
+
#
|
|
9
|
+
# View the Git repository at https://github.com/meskyanichi/backup
|
|
10
|
+
# View the Wiki/Documentation at https://github.com/meskyanichi/backup/wiki
|
|
11
|
+
# View the issue log at https://github.com/meskyanichi/backup/issues
|
|
12
|
+
|
|
13
|
+
##
|
|
14
|
+
# Utilities
|
|
15
|
+
#
|
|
16
|
+
# If you need to use a utility other than the one Backup detects,
|
|
17
|
+
# or a utility can not be found in your $PATH.
|
|
18
|
+
#
|
|
19
|
+
# Backup::Utilities.configure do
|
|
20
|
+
# tar '/usr/bin/gnutar'
|
|
21
|
+
# redis_cli '/opt/redis/redis-cli'
|
|
22
|
+
# end
|
|
23
|
+
|
|
24
|
+
##
|
|
25
|
+
# Logging
|
|
26
|
+
#
|
|
27
|
+
# Logging options may be set on the command line, but certain settings
|
|
28
|
+
# may only be configured here.
|
|
29
|
+
#
|
|
30
|
+
# Backup::Logger.configure do
|
|
31
|
+
# console.quiet = true # Same as command line: --quiet
|
|
32
|
+
# logfile.max_bytes = 2_000_000 # Default: 500_000
|
|
33
|
+
# syslog.enabled = true # Same as command line: --syslog
|
|
34
|
+
# syslog.ident = 'my_app_backup' # Default: 'backup'
|
|
35
|
+
# end
|
|
36
|
+
#
|
|
37
|
+
# Command line options will override those set here.
|
|
38
|
+
# For example, the following would override the example settings above
|
|
39
|
+
# to disable syslog and enable console output.
|
|
40
|
+
# backup perform --trigger my_backup --no-syslog --no-quiet
|
|
41
|
+
|
|
42
|
+
##
|
|
43
|
+
# Component Defaults
|
|
44
|
+
#
|
|
45
|
+
# Set default options to be applied to components in all models.
|
|
46
|
+
# Options set within a model will override those set here.
|
|
47
|
+
#
|
|
48
|
+
# Backup::Storage::S3.defaults do |s3|
|
|
49
|
+
# s3.access_key_id = "my_access_key_id"
|
|
50
|
+
# s3.secret_access_key = "my_secret_access_key"
|
|
51
|
+
# end
|
|
52
|
+
#
|
|
53
|
+
# Backup::Encryptor::OpenSSL.defaults do |encryption|
|
|
54
|
+
# encryption.password = "my_password"
|
|
55
|
+
# encryption.base64 = true
|
|
56
|
+
# encryption.salt = true
|
|
57
|
+
# end
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
# * * * * * * * * * * * * * * * * * * * *
|
|
61
|
+
# Do Not Edit Below Here.
|
|
62
|
+
# All Configuration Should Be Made Above.
|
|
63
|
+
|
|
64
|
+
##
|
|
65
|
+
# Load all models from the models directory.
|
|
66
|
+
Dir[File.join(File.dirname(Config.config_file), "models", "*.rb")].each do |model|
|
|
67
|
+
instance_eval(File.read(model))
|
|
68
|
+
end
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
db.host = "localhost"
|
|
9
9
|
db.port = 5432
|
|
10
10
|
db.ipv6 = false
|
|
11
|
-
db.only_collections = ["only", "these" "collections"]
|
|
11
|
+
db.only_collections = ["only", "these", "collections"]
|
|
12
12
|
db.additional_options = []
|
|
13
13
|
db.lock = false
|
|
14
14
|
# Optional: Use to set the location of these utilities
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
# table names should be prefixed with a database name.
|
|
14
14
|
# e.g. ["db_name.table_to_skip", ...]
|
|
15
15
|
db.skip_tables = ["skip", "these", "tables"]
|
|
16
|
-
db.only_tables = ["only", "these" "tables"]
|
|
16
|
+
db.only_tables = ["only", "these", "tables"]
|
|
17
17
|
db.additional_options = ["--quick", "--single-transaction"]
|
|
18
18
|
# Optional: Use to set the location of this utility
|
|
19
19
|
# if it cannot be found by name in your $PATH
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
db.port = 5432
|
|
10
10
|
db.socket = "/tmp/pg.sock"
|
|
11
11
|
db.skip_tables = ["skip", "these", "tables"]
|
|
12
|
-
db.only_tables = ["only", "these" "tables"]
|
|
12
|
+
db.only_tables = ["only", "these", "tables"]
|
|
13
13
|
db.additional_options = ["-xc", "-E=utf8"]
|
|
14
14
|
# Optional: Use to set the location of this utility
|
|
15
15
|
# if it cannot be found by name in your $PATH
|
|
File without changes
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
##
|
|
2
|
+
# Riak [Database]
|
|
3
|
+
#
|
|
4
|
+
database Riak do |db|
|
|
5
|
+
db.name = "hostname"
|
|
6
|
+
db.node = "riak@hostname"
|
|
7
|
+
db.cookie = "cookie"
|
|
8
|
+
##
|
|
9
|
+
# Optional: (defaults shown)
|
|
10
|
+
#
|
|
11
|
+
# Use to set the location of this utility
|
|
12
|
+
# if it cannot be found by name in your $PATH
|
|
13
|
+
# db.riak_admin_utility = '/opt/local/bin/riak-admin'
|
|
14
|
+
#
|
|
15
|
+
# Set username for the riak-admin utility
|
|
16
|
+
# db.user = 'riak'
|
|
17
|
+
#
|
|
18
|
+
# Set usergroup for the riak-admin utility
|
|
19
|
+
# db.group = 'riak'
|
|
20
|
+
end
|
|
File without changes
|
|
File without changes
|
|
@@ -8,14 +8,14 @@
|
|
|
8
8
|
#
|
|
9
9
|
Backup::Model.new(:<%= @options[:trigger] %>, 'Description for <%= @options[:trigger] %>') do
|
|
10
10
|
<% if @options[:splitter] %>
|
|
11
|
-
<%= Backup::Template.new.result("cli/
|
|
11
|
+
<%= Backup::Template.new.result("cli/splitter") %>
|
|
12
12
|
<% end; if @options[:archives] %>
|
|
13
|
-
<%= Backup::Template.new.result("cli/
|
|
13
|
+
<%= Backup::Template.new.result("cli/archive") %>
|
|
14
14
|
<% end; [:databases, :storages, :syncers, :encryptors, :compressors, :notifiers].each do |item|
|
|
15
15
|
if @options[item]
|
|
16
16
|
@options[item].split(',').map(&:strip).uniq.each do |entry|
|
|
17
|
-
if File.exist?(File.join(Backup::TEMPLATE_PATH, 'cli',
|
|
18
|
-
<%= Backup::Template.new.result("cli
|
|
17
|
+
if File.exist?(File.join(Backup::TEMPLATE_PATH, 'cli', item.to_s[0..-2], entry)) %>
|
|
18
|
+
<%= Backup::Template.new.result("cli/#{item.to_s[0..-2]}/#{entry}") %>
|
|
19
19
|
<% end
|
|
20
20
|
end
|
|
21
21
|
end
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: backup
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.0
|
|
4
|
+
version: 3.1.0
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date:
|
|
12
|
+
date: 2013-03-04 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: thor
|
|
@@ -49,27 +49,24 @@ dependencies:
|
|
|
49
49
|
- - ~>
|
|
50
50
|
- !ruby/object:Gem::Version
|
|
51
51
|
version: 1.3.0
|
|
52
|
-
description:
|
|
52
|
+
description: Backup is a RubyGem, written for UNIX-like operating systems, that allows
|
|
53
|
+
you to easily perform backup operations on both your remote and local environments.
|
|
54
|
+
It provides you with an elegant DSL in Ruby for modeling your backups. Backup has
|
|
55
|
+
built-in support for various databases, storage protocols/services, syncers, compressors,
|
|
56
|
+
encryptors and notifiers which you can mix and match. It was built with modularity,
|
|
57
|
+
extensibility and simplicity in mind.
|
|
53
58
|
email: meskyanichi@gmail.com
|
|
54
59
|
executables:
|
|
55
60
|
- backup
|
|
56
61
|
extensions: []
|
|
57
62
|
extra_rdoc_files: []
|
|
58
63
|
files:
|
|
59
|
-
- .gitignore
|
|
60
|
-
- .travis.yml
|
|
61
|
-
- Gemfile
|
|
62
|
-
- Guardfile
|
|
63
|
-
- LICENSE.md
|
|
64
|
-
- README.md
|
|
65
|
-
- backup.gemspec
|
|
66
64
|
- bin/backup
|
|
67
65
|
- lib/backup.rb
|
|
68
66
|
- lib/backup/archive.rb
|
|
69
67
|
- lib/backup/binder.rb
|
|
70
68
|
- lib/backup/cleaner.rb
|
|
71
|
-
- lib/backup/cli
|
|
72
|
-
- lib/backup/cli/utility.rb
|
|
69
|
+
- lib/backup/cli.rb
|
|
73
70
|
- lib/backup/compressor/base.rb
|
|
74
71
|
- lib/backup/compressor/bzip2.rb
|
|
75
72
|
- lib/backup/compressor/custom.rb
|
|
@@ -92,6 +89,9 @@ files:
|
|
|
92
89
|
- lib/backup/encryptor/open_ssl.rb
|
|
93
90
|
- lib/backup/errors.rb
|
|
94
91
|
- lib/backup/logger.rb
|
|
92
|
+
- lib/backup/logger/console.rb
|
|
93
|
+
- lib/backup/logger/logfile.rb
|
|
94
|
+
- lib/backup/logger/syslog.rb
|
|
95
95
|
- lib/backup/model.rb
|
|
96
96
|
- lib/backup/notifier/base.rb
|
|
97
97
|
- lib/backup/notifier/campfire.rb
|
|
@@ -124,117 +124,44 @@ files:
|
|
|
124
124
|
- lib/backup/syncer/rsync/pull.rb
|
|
125
125
|
- lib/backup/syncer/rsync/push.rb
|
|
126
126
|
- lib/backup/template.rb
|
|
127
|
+
- lib/backup/utilities.rb
|
|
127
128
|
- lib/backup/version.rb
|
|
128
|
-
-
|
|
129
|
-
-
|
|
130
|
-
-
|
|
131
|
-
-
|
|
132
|
-
-
|
|
133
|
-
-
|
|
134
|
-
-
|
|
135
|
-
-
|
|
136
|
-
-
|
|
137
|
-
-
|
|
138
|
-
-
|
|
139
|
-
-
|
|
140
|
-
-
|
|
141
|
-
-
|
|
142
|
-
-
|
|
143
|
-
-
|
|
144
|
-
-
|
|
145
|
-
-
|
|
146
|
-
-
|
|
147
|
-
-
|
|
148
|
-
-
|
|
149
|
-
-
|
|
150
|
-
-
|
|
151
|
-
-
|
|
152
|
-
-
|
|
153
|
-
-
|
|
154
|
-
-
|
|
155
|
-
-
|
|
156
|
-
-
|
|
157
|
-
-
|
|
158
|
-
-
|
|
159
|
-
-
|
|
160
|
-
-
|
|
161
|
-
-
|
|
162
|
-
-
|
|
163
|
-
-
|
|
164
|
-
- spec/encryptor/base_spec.rb
|
|
165
|
-
- spec/encryptor/gpg_spec.rb
|
|
166
|
-
- spec/encryptor/open_ssl_spec.rb
|
|
167
|
-
- spec/errors_spec.rb
|
|
168
|
-
- spec/logger_spec.rb
|
|
169
|
-
- spec/model_spec.rb
|
|
170
|
-
- spec/notifier/base_spec.rb
|
|
171
|
-
- spec/notifier/campfire_spec.rb
|
|
172
|
-
- spec/notifier/hipchat_spec.rb
|
|
173
|
-
- spec/notifier/mail_spec.rb
|
|
174
|
-
- spec/notifier/prowl_spec.rb
|
|
175
|
-
- spec/notifier/pushover_spec.rb
|
|
176
|
-
- spec/notifier/twitter_spec.rb
|
|
177
|
-
- spec/package_spec.rb
|
|
178
|
-
- spec/packager_spec.rb
|
|
179
|
-
- spec/pipeline_spec.rb
|
|
180
|
-
- spec/spec_helper.rb
|
|
181
|
-
- spec/splitter_spec.rb
|
|
182
|
-
- spec/storage/base_spec.rb
|
|
183
|
-
- spec/storage/cloudfiles_spec.rb
|
|
184
|
-
- spec/storage/cycler_spec.rb
|
|
185
|
-
- spec/storage/dropbox_spec.rb
|
|
186
|
-
- spec/storage/ftp_spec.rb
|
|
187
|
-
- spec/storage/local_spec.rb
|
|
188
|
-
- spec/storage/ninefold_spec.rb
|
|
189
|
-
- spec/storage/rsync_spec.rb
|
|
190
|
-
- spec/storage/s3_spec.rb
|
|
191
|
-
- spec/storage/scp_spec.rb
|
|
192
|
-
- spec/storage/sftp_spec.rb
|
|
193
|
-
- spec/syncer/base_spec.rb
|
|
194
|
-
- spec/syncer/cloud/base_spec.rb
|
|
195
|
-
- spec/syncer/cloud/cloud_files_spec.rb
|
|
196
|
-
- spec/syncer/cloud/s3_spec.rb
|
|
197
|
-
- spec/syncer/rsync/base_spec.rb
|
|
198
|
-
- spec/syncer/rsync/local_spec.rb
|
|
199
|
-
- spec/syncer/rsync/pull_spec.rb
|
|
200
|
-
- spec/syncer/rsync/push_spec.rb
|
|
201
|
-
- spec/version_spec.rb
|
|
202
|
-
- templates/cli/utility/archive
|
|
203
|
-
- templates/cli/utility/compressor/bzip2
|
|
204
|
-
- templates/cli/utility/compressor/custom
|
|
205
|
-
- templates/cli/utility/compressor/gzip
|
|
206
|
-
- templates/cli/utility/compressor/lzma
|
|
207
|
-
- templates/cli/utility/compressor/pbzip2
|
|
208
|
-
- templates/cli/utility/config
|
|
209
|
-
- templates/cli/utility/database/mongodb
|
|
210
|
-
- templates/cli/utility/database/mysql
|
|
211
|
-
- templates/cli/utility/database/postgresql
|
|
212
|
-
- templates/cli/utility/database/redis
|
|
213
|
-
- templates/cli/utility/database/riak
|
|
214
|
-
- templates/cli/utility/encryptor/gpg
|
|
215
|
-
- templates/cli/utility/encryptor/openssl
|
|
216
|
-
- templates/cli/utility/model.erb
|
|
217
|
-
- templates/cli/utility/notifier/campfire
|
|
218
|
-
- templates/cli/utility/notifier/hipchat
|
|
219
|
-
- templates/cli/utility/notifier/mail
|
|
220
|
-
- templates/cli/utility/notifier/prowl
|
|
221
|
-
- templates/cli/utility/notifier/pushover
|
|
222
|
-
- templates/cli/utility/notifier/twitter
|
|
223
|
-
- templates/cli/utility/splitter
|
|
224
|
-
- templates/cli/utility/storage/cloud_files
|
|
225
|
-
- templates/cli/utility/storage/dropbox
|
|
226
|
-
- templates/cli/utility/storage/ftp
|
|
227
|
-
- templates/cli/utility/storage/local
|
|
228
|
-
- templates/cli/utility/storage/ninefold
|
|
229
|
-
- templates/cli/utility/storage/rsync
|
|
230
|
-
- templates/cli/utility/storage/s3
|
|
231
|
-
- templates/cli/utility/storage/scp
|
|
232
|
-
- templates/cli/utility/storage/sftp
|
|
233
|
-
- templates/cli/utility/syncer/cloud_files
|
|
234
|
-
- templates/cli/utility/syncer/rsync_local
|
|
235
|
-
- templates/cli/utility/syncer/rsync_pull
|
|
236
|
-
- templates/cli/utility/syncer/rsync_push
|
|
237
|
-
- templates/cli/utility/syncer/s3
|
|
129
|
+
- templates/cli/archive
|
|
130
|
+
- templates/cli/compressor/bzip2
|
|
131
|
+
- templates/cli/compressor/custom
|
|
132
|
+
- templates/cli/compressor/gzip
|
|
133
|
+
- templates/cli/compressor/lzma
|
|
134
|
+
- templates/cli/compressor/pbzip2
|
|
135
|
+
- templates/cli/config
|
|
136
|
+
- templates/cli/database/mongodb
|
|
137
|
+
- templates/cli/database/mysql
|
|
138
|
+
- templates/cli/database/postgresql
|
|
139
|
+
- templates/cli/database/redis
|
|
140
|
+
- templates/cli/database/riak
|
|
141
|
+
- templates/cli/encryptor/gpg
|
|
142
|
+
- templates/cli/encryptor/openssl
|
|
143
|
+
- templates/cli/model.erb
|
|
144
|
+
- templates/cli/notifier/campfire
|
|
145
|
+
- templates/cli/notifier/hipchat
|
|
146
|
+
- templates/cli/notifier/mail
|
|
147
|
+
- templates/cli/notifier/prowl
|
|
148
|
+
- templates/cli/notifier/pushover
|
|
149
|
+
- templates/cli/notifier/twitter
|
|
150
|
+
- templates/cli/splitter
|
|
151
|
+
- templates/cli/storage/cloud_files
|
|
152
|
+
- templates/cli/storage/dropbox
|
|
153
|
+
- templates/cli/storage/ftp
|
|
154
|
+
- templates/cli/storage/local
|
|
155
|
+
- templates/cli/storage/ninefold
|
|
156
|
+
- templates/cli/storage/rsync
|
|
157
|
+
- templates/cli/storage/s3
|
|
158
|
+
- templates/cli/storage/scp
|
|
159
|
+
- templates/cli/storage/sftp
|
|
160
|
+
- templates/cli/syncer/cloud_files
|
|
161
|
+
- templates/cli/syncer/rsync_local
|
|
162
|
+
- templates/cli/syncer/rsync_pull
|
|
163
|
+
- templates/cli/syncer/rsync_push
|
|
164
|
+
- templates/cli/syncer/s3
|
|
238
165
|
- templates/general/links
|
|
239
166
|
- templates/general/version.erb
|
|
240
167
|
- templates/notifier/mail/failure.erb
|
|
@@ -243,8 +170,11 @@ files:
|
|
|
243
170
|
- templates/storage/dropbox/authorization_url.erb
|
|
244
171
|
- templates/storage/dropbox/authorized.erb
|
|
245
172
|
- templates/storage/dropbox/cache_file_written.erb
|
|
173
|
+
- README.md
|
|
174
|
+
- LICENSE.md
|
|
246
175
|
homepage: http://rubygems.org/gems/backup
|
|
247
|
-
licenses:
|
|
176
|
+
licenses:
|
|
177
|
+
- MIT
|
|
248
178
|
post_install_message:
|
|
249
179
|
rdoc_options: []
|
|
250
180
|
require_paths:
|
|
@@ -263,14 +193,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
263
193
|
version: '0'
|
|
264
194
|
requirements: []
|
|
265
195
|
rubyforge_project:
|
|
266
|
-
rubygems_version: 1.8.
|
|
196
|
+
rubygems_version: 1.8.25
|
|
267
197
|
signing_key:
|
|
268
198
|
specification_version: 3
|
|
269
|
-
summary:
|
|
270
|
-
you to easily perform backup operations on both your remote and local environments.
|
|
271
|
-
It provides you with an elegant DSL in Ruby for modeling your backups. Backup has
|
|
272
|
-
built-in support for various databases, storage protocols/services, syncers, compressors,
|
|
273
|
-
encryptors and notifiers which you can mix and match. It was built with modularity,
|
|
274
|
-
extensibility and simplicity in mind.
|
|
199
|
+
summary: Provides an elegant DSL in Ruby for performing backups on UNIX-like systems.
|
|
275
200
|
test_files: []
|
|
276
|
-
has_rdoc:
|