backup 3.0.23 → 3.0.24
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile.lock +42 -45
- data/Guardfile +7 -4
- data/README.md +10 -7
- data/backup.gemspec +2 -2
- data/lib/backup.rb +27 -97
- data/lib/backup/archive.rb +14 -6
- data/lib/backup/cli/helpers.rb +52 -49
- data/lib/backup/cli/utility.rb +9 -1
- data/lib/backup/compressor/base.rb +10 -4
- data/lib/backup/compressor/bzip2.rb +22 -26
- data/lib/backup/compressor/custom.rb +53 -0
- data/lib/backup/compressor/gzip.rb +22 -23
- data/lib/backup/compressor/lzma.rb +15 -13
- data/lib/backup/compressor/pbzip2.rb +20 -17
- data/lib/backup/config.rb +6 -3
- data/lib/backup/configuration.rb +33 -0
- data/lib/backup/configuration/helpers.rb +114 -28
- data/lib/backup/configuration/store.rb +24 -0
- data/lib/backup/database/base.rb +0 -6
- data/lib/backup/database/mongodb.rb +27 -11
- data/lib/backup/database/mysql.rb +19 -14
- data/lib/backup/database/postgresql.rb +16 -11
- data/lib/backup/database/redis.rb +7 -11
- data/lib/backup/database/riak.rb +3 -6
- data/lib/backup/dependency.rb +5 -11
- data/lib/backup/model.rb +14 -5
- data/lib/backup/notifier/campfire.rb +3 -16
- data/lib/backup/notifier/hipchat.rb +1 -7
- data/lib/backup/notifier/mail.rb +1 -1
- data/lib/backup/packager.rb +29 -19
- data/lib/backup/pipeline.rb +110 -0
- data/lib/backup/storage/dropbox.rb +4 -7
- data/lib/backup/syncer/base.rb +8 -4
- data/lib/backup/syncer/cloud/base.rb +247 -0
- data/lib/backup/syncer/cloud/cloud_files.rb +78 -0
- data/lib/backup/syncer/cloud/s3.rb +68 -0
- data/lib/backup/syncer/rsync/base.rb +1 -4
- data/lib/backup/syncer/rsync/local.rb +9 -5
- data/lib/backup/syncer/rsync/pull.rb +1 -1
- data/lib/backup/syncer/rsync/push.rb +10 -5
- data/lib/backup/version.rb +1 -1
- data/spec-live/.gitignore +6 -0
- data/spec-live/README +7 -0
- data/spec-live/backups/config.rb +153 -0
- data/spec-live/backups/config.yml.template +43 -0
- data/spec-live/compressor/custom_spec.rb +30 -0
- data/spec-live/compressor/gzip_spec.rb +30 -0
- data/spec-live/notifier/mail_spec.rb +85 -0
- data/spec-live/spec_helper.rb +85 -0
- data/spec-live/storage/dropbox_spec.rb +151 -0
- data/spec-live/storage/local_spec.rb +83 -0
- data/spec-live/storage/scp_spec.rb +193 -0
- data/spec-live/syncer/cloud/s3_spec.rb +124 -0
- data/spec/archive_spec.rb +86 -31
- data/spec/cleaner_spec.rb +8 -0
- data/spec/cli/helpers_spec.rb +200 -75
- data/spec/cli/utility_spec.rb +11 -3
- data/spec/compressor/base_spec.rb +31 -10
- data/spec/compressor/bzip2_spec.rb +212 -57
- data/spec/compressor/custom_spec.rb +106 -0
- data/spec/compressor/gzip_spec.rb +212 -57
- data/spec/compressor/lzma_spec.rb +75 -35
- data/spec/compressor/pbzip2_spec.rb +93 -52
- data/spec/configuration/helpers_spec.rb +406 -0
- data/spec/configuration/store_spec.rb +39 -0
- data/spec/configuration_spec.rb +62 -0
- data/spec/database/base_spec.rb +19 -10
- data/spec/database/mongodb_spec.rb +195 -70
- data/spec/database/mysql_spec.rb +183 -64
- data/spec/database/postgresql_spec.rb +167 -53
- data/spec/database/redis_spec.rb +121 -46
- data/spec/database/riak_spec.rb +96 -27
- data/spec/dependency_spec.rb +2 -0
- data/spec/encryptor/base_spec.rb +10 -0
- data/spec/encryptor/gpg_spec.rb +29 -13
- data/spec/encryptor/open_ssl_spec.rb +40 -21
- data/spec/logger_spec.rb +4 -0
- data/spec/model_spec.rb +19 -2
- data/spec/notifier/base_spec.rb +32 -17
- data/spec/notifier/campfire_spec.rb +63 -45
- data/spec/notifier/hipchat_spec.rb +79 -56
- data/spec/notifier/mail_spec.rb +82 -46
- data/spec/notifier/prowl_spec.rb +53 -32
- data/spec/notifier/twitter_spec.rb +62 -41
- data/spec/packager_spec.rb +95 -36
- data/spec/pipeline_spec.rb +259 -0
- data/spec/spec_helper.rb +6 -5
- data/spec/storage/base_spec.rb +61 -41
- data/spec/storage/cloudfiles_spec.rb +69 -45
- data/spec/storage/dropbox_spec.rb +158 -36
- data/spec/storage/ftp_spec.rb +69 -45
- data/spec/storage/local_spec.rb +47 -23
- data/spec/storage/ninefold_spec.rb +55 -31
- data/spec/storage/rsync_spec.rb +67 -50
- data/spec/storage/s3_spec.rb +65 -41
- data/spec/storage/scp_spec.rb +65 -41
- data/spec/storage/sftp_spec.rb +65 -41
- data/spec/syncer/base_spec.rb +91 -4
- data/spec/syncer/cloud/base_spec.rb +511 -0
- data/spec/syncer/cloud/cloud_files_spec.rb +181 -0
- data/spec/syncer/cloud/s3_spec.rb +174 -0
- data/spec/syncer/rsync/base_spec.rb +46 -66
- data/spec/syncer/rsync/local_spec.rb +55 -26
- data/spec/syncer/rsync/pull_spec.rb +15 -4
- data/spec/syncer/rsync/push_spec.rb +59 -52
- data/templates/cli/utility/compressor/bzip2 +1 -4
- data/templates/cli/utility/compressor/custom +11 -0
- data/templates/cli/utility/compressor/gzip +1 -4
- data/templates/cli/utility/compressor/lzma +3 -0
- data/templates/cli/utility/compressor/pbzip2 +3 -0
- data/templates/cli/utility/database/mysql +4 -1
- data/templates/cli/utility/syncer/cloud_files +17 -19
- data/templates/cli/utility/syncer/s3 +18 -20
- metadata +38 -92
- data/lib/backup/configuration/base.rb +0 -15
- data/lib/backup/configuration/compressor/base.rb +0 -9
- data/lib/backup/configuration/compressor/bzip2.rb +0 -23
- data/lib/backup/configuration/compressor/gzip.rb +0 -23
- data/lib/backup/configuration/compressor/lzma.rb +0 -23
- data/lib/backup/configuration/compressor/pbzip2.rb +0 -28
- data/lib/backup/configuration/database/base.rb +0 -19
- data/lib/backup/configuration/database/mongodb.rb +0 -49
- data/lib/backup/configuration/database/mysql.rb +0 -42
- data/lib/backup/configuration/database/postgresql.rb +0 -41
- data/lib/backup/configuration/database/redis.rb +0 -39
- data/lib/backup/configuration/database/riak.rb +0 -29
- data/lib/backup/configuration/encryptor/base.rb +0 -9
- data/lib/backup/configuration/encryptor/gpg.rb +0 -17
- data/lib/backup/configuration/encryptor/open_ssl.rb +0 -32
- data/lib/backup/configuration/notifier/base.rb +0 -28
- data/lib/backup/configuration/notifier/campfire.rb +0 -25
- data/lib/backup/configuration/notifier/hipchat.rb +0 -41
- data/lib/backup/configuration/notifier/mail.rb +0 -112
- data/lib/backup/configuration/notifier/presently.rb +0 -25
- data/lib/backup/configuration/notifier/prowl.rb +0 -23
- data/lib/backup/configuration/notifier/twitter.rb +0 -21
- data/lib/backup/configuration/storage/base.rb +0 -18
- data/lib/backup/configuration/storage/cloudfiles.rb +0 -25
- data/lib/backup/configuration/storage/dropbox.rb +0 -58
- data/lib/backup/configuration/storage/ftp.rb +0 -29
- data/lib/backup/configuration/storage/local.rb +0 -17
- data/lib/backup/configuration/storage/ninefold.rb +0 -20
- data/lib/backup/configuration/storage/rsync.rb +0 -29
- data/lib/backup/configuration/storage/s3.rb +0 -25
- data/lib/backup/configuration/storage/scp.rb +0 -25
- data/lib/backup/configuration/storage/sftp.rb +0 -25
- data/lib/backup/configuration/syncer/base.rb +0 -10
- data/lib/backup/configuration/syncer/cloud.rb +0 -23
- data/lib/backup/configuration/syncer/cloud_files.rb +0 -30
- data/lib/backup/configuration/syncer/rsync/base.rb +0 -28
- data/lib/backup/configuration/syncer/rsync/local.rb +0 -11
- data/lib/backup/configuration/syncer/rsync/pull.rb +0 -11
- data/lib/backup/configuration/syncer/rsync/push.rb +0 -31
- data/lib/backup/configuration/syncer/s3.rb +0 -23
- data/lib/backup/notifier/presently.rb +0 -88
- data/lib/backup/syncer/cloud.rb +0 -187
- data/lib/backup/syncer/cloud_files.rb +0 -56
- data/lib/backup/syncer/s3.rb +0 -47
- data/spec/configuration/base_spec.rb +0 -35
- data/spec/configuration/compressor/bzip2_spec.rb +0 -29
- data/spec/configuration/compressor/gzip_spec.rb +0 -29
- data/spec/configuration/compressor/lzma_spec.rb +0 -29
- data/spec/configuration/compressor/pbzip2_spec.rb +0 -32
- data/spec/configuration/database/base_spec.rb +0 -17
- data/spec/configuration/database/mongodb_spec.rb +0 -56
- data/spec/configuration/database/mysql_spec.rb +0 -53
- data/spec/configuration/database/postgresql_spec.rb +0 -53
- data/spec/configuration/database/redis_spec.rb +0 -50
- data/spec/configuration/database/riak_spec.rb +0 -35
- data/spec/configuration/encryptor/gpg_spec.rb +0 -26
- data/spec/configuration/encryptor/open_ssl_spec.rb +0 -35
- data/spec/configuration/notifier/base_spec.rb +0 -32
- data/spec/configuration/notifier/campfire_spec.rb +0 -32
- data/spec/configuration/notifier/hipchat_spec.rb +0 -44
- data/spec/configuration/notifier/mail_spec.rb +0 -71
- data/spec/configuration/notifier/presently_spec.rb +0 -35
- data/spec/configuration/notifier/prowl_spec.rb +0 -29
- data/spec/configuration/notifier/twitter_spec.rb +0 -35
- data/spec/configuration/storage/cloudfiles_spec.rb +0 -41
- data/spec/configuration/storage/dropbox_spec.rb +0 -38
- data/spec/configuration/storage/ftp_spec.rb +0 -44
- data/spec/configuration/storage/local_spec.rb +0 -29
- data/spec/configuration/storage/ninefold_spec.rb +0 -32
- data/spec/configuration/storage/rsync_spec.rb +0 -41
- data/spec/configuration/storage/s3_spec.rb +0 -38
- data/spec/configuration/storage/scp_spec.rb +0 -41
- data/spec/configuration/storage/sftp_spec.rb +0 -41
- data/spec/configuration/syncer/cloud_files_spec.rb +0 -44
- data/spec/configuration/syncer/rsync/base_spec.rb +0 -33
- data/spec/configuration/syncer/rsync/local_spec.rb +0 -10
- data/spec/configuration/syncer/rsync/pull_spec.rb +0 -10
- data/spec/configuration/syncer/rsync/push_spec.rb +0 -43
- data/spec/configuration/syncer/s3_spec.rb +0 -38
- data/spec/notifier/presently_spec.rb +0 -181
- data/spec/syncer/cloud_files_spec.rb +0 -192
- data/spec/syncer/s3_spec.rb +0 -192
- data/templates/cli/utility/notifier/presently +0 -13
@@ -3,40 +3,38 @@
|
|
3
3
|
#
|
4
4
|
# Available Regions:
|
5
5
|
#
|
6
|
-
#
|
7
|
-
#
|
8
|
-
#
|
9
|
-
#
|
10
|
-
#
|
6
|
+
# - ap-northeast-1
|
7
|
+
# - ap-southeast-1
|
8
|
+
# - eu-west-1
|
9
|
+
# - us-east-1
|
10
|
+
# - us-west-1
|
11
11
|
#
|
12
12
|
# Mirroring:
|
13
13
|
#
|
14
|
-
#
|
15
|
-
#
|
14
|
+
# When enabled it will keep an exact mirror of your filesystem on S3.
|
15
|
+
# This means that when you remove a file from the filesystem,
|
16
|
+
# it will also remote it from S3.
|
16
17
|
#
|
17
|
-
# Concurrency
|
18
|
+
# Concurrency:
|
18
19
|
#
|
19
|
-
#
|
20
|
-
# - :processes
|
21
|
-
# - false
|
20
|
+
# `concurrency_type` may be set to:
|
22
21
|
#
|
23
|
-
#
|
24
|
-
#
|
22
|
+
# - false (default)
|
23
|
+
# - :threads
|
24
|
+
# - :processes
|
25
25
|
#
|
26
|
-
#
|
26
|
+
# Set `concurrency_level` to the number of threads/processes to use.
|
27
|
+
# Defaults to 2.
|
27
28
|
#
|
28
|
-
|
29
|
-
# If you want a high concurrency level (>2), use :threads and not :processes.
|
30
|
-
#
|
31
|
-
sync_with S3 do |s3|
|
29
|
+
sync_with Cloud::S3 do |s3|
|
32
30
|
s3.access_key_id = "my_access_key_id"
|
33
31
|
s3.secret_access_key = "my_secret_access_key"
|
34
32
|
s3.bucket = "my-bucket"
|
35
33
|
s3.region = "us-east-1"
|
36
34
|
s3.path = "/backups"
|
37
35
|
s3.mirror = true
|
38
|
-
s3.concurrency_type =
|
39
|
-
s3.concurrency_level =
|
36
|
+
s3.concurrency_type = false
|
37
|
+
s3.concurrency_level = 2
|
40
38
|
|
41
39
|
s3.directories do |directory|
|
42
40
|
directory.add "/path/to/directory/to/sync"
|
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.0.24
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-
|
12
|
+
date: 2012-04-22 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: thor
|
16
|
-
requirement: &
|
16
|
+
requirement: &70330515098280 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ~>
|
@@ -21,18 +21,18 @@ dependencies:
|
|
21
21
|
version: 0.14.6
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *70330515098280
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
|
-
name:
|
27
|
-
requirement: &
|
26
|
+
name: open4
|
27
|
+
requirement: &70330515096920 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ~>
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version:
|
32
|
+
version: 1.3.0
|
33
33
|
type: :runtime
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *70330515096920
|
36
36
|
description:
|
37
37
|
email: meskyanichi@gmail.com
|
38
38
|
executables:
|
@@ -57,51 +57,14 @@ files:
|
|
57
57
|
- lib/backup/cli/utility.rb
|
58
58
|
- lib/backup/compressor/base.rb
|
59
59
|
- lib/backup/compressor/bzip2.rb
|
60
|
+
- lib/backup/compressor/custom.rb
|
60
61
|
- lib/backup/compressor/gzip.rb
|
61
62
|
- lib/backup/compressor/lzma.rb
|
62
63
|
- lib/backup/compressor/pbzip2.rb
|
63
64
|
- lib/backup/config.rb
|
64
|
-
- lib/backup/configuration
|
65
|
-
- lib/backup/configuration/compressor/base.rb
|
66
|
-
- lib/backup/configuration/compressor/bzip2.rb
|
67
|
-
- lib/backup/configuration/compressor/gzip.rb
|
68
|
-
- lib/backup/configuration/compressor/lzma.rb
|
69
|
-
- lib/backup/configuration/compressor/pbzip2.rb
|
70
|
-
- lib/backup/configuration/database/base.rb
|
71
|
-
- lib/backup/configuration/database/mongodb.rb
|
72
|
-
- lib/backup/configuration/database/mysql.rb
|
73
|
-
- lib/backup/configuration/database/postgresql.rb
|
74
|
-
- lib/backup/configuration/database/redis.rb
|
75
|
-
- lib/backup/configuration/database/riak.rb
|
76
|
-
- lib/backup/configuration/encryptor/base.rb
|
77
|
-
- lib/backup/configuration/encryptor/gpg.rb
|
78
|
-
- lib/backup/configuration/encryptor/open_ssl.rb
|
65
|
+
- lib/backup/configuration.rb
|
79
66
|
- lib/backup/configuration/helpers.rb
|
80
|
-
- lib/backup/configuration/
|
81
|
-
- lib/backup/configuration/notifier/campfire.rb
|
82
|
-
- lib/backup/configuration/notifier/hipchat.rb
|
83
|
-
- lib/backup/configuration/notifier/mail.rb
|
84
|
-
- lib/backup/configuration/notifier/presently.rb
|
85
|
-
- lib/backup/configuration/notifier/prowl.rb
|
86
|
-
- lib/backup/configuration/notifier/twitter.rb
|
87
|
-
- lib/backup/configuration/storage/base.rb
|
88
|
-
- lib/backup/configuration/storage/cloudfiles.rb
|
89
|
-
- lib/backup/configuration/storage/dropbox.rb
|
90
|
-
- lib/backup/configuration/storage/ftp.rb
|
91
|
-
- lib/backup/configuration/storage/local.rb
|
92
|
-
- lib/backup/configuration/storage/ninefold.rb
|
93
|
-
- lib/backup/configuration/storage/rsync.rb
|
94
|
-
- lib/backup/configuration/storage/s3.rb
|
95
|
-
- lib/backup/configuration/storage/scp.rb
|
96
|
-
- lib/backup/configuration/storage/sftp.rb
|
97
|
-
- lib/backup/configuration/syncer/base.rb
|
98
|
-
- lib/backup/configuration/syncer/cloud.rb
|
99
|
-
- lib/backup/configuration/syncer/cloud_files.rb
|
100
|
-
- lib/backup/configuration/syncer/rsync/base.rb
|
101
|
-
- lib/backup/configuration/syncer/rsync/local.rb
|
102
|
-
- lib/backup/configuration/syncer/rsync/pull.rb
|
103
|
-
- lib/backup/configuration/syncer/rsync/push.rb
|
104
|
-
- lib/backup/configuration/syncer/s3.rb
|
67
|
+
- lib/backup/configuration/store.rb
|
105
68
|
- lib/backup/database/base.rb
|
106
69
|
- lib/backup/database/mongodb.rb
|
107
70
|
- lib/backup/database/mysql.rb
|
@@ -119,11 +82,11 @@ files:
|
|
119
82
|
- lib/backup/notifier/campfire.rb
|
120
83
|
- lib/backup/notifier/hipchat.rb
|
121
84
|
- lib/backup/notifier/mail.rb
|
122
|
-
- lib/backup/notifier/presently.rb
|
123
85
|
- lib/backup/notifier/prowl.rb
|
124
86
|
- lib/backup/notifier/twitter.rb
|
125
87
|
- lib/backup/package.rb
|
126
88
|
- lib/backup/packager.rb
|
89
|
+
- lib/backup/pipeline.rb
|
127
90
|
- lib/backup/splitter.rb
|
128
91
|
- lib/backup/storage/base.rb
|
129
92
|
- lib/backup/storage/cloudfiles.rb
|
@@ -137,60 +100,41 @@ files:
|
|
137
100
|
- lib/backup/storage/scp.rb
|
138
101
|
- lib/backup/storage/sftp.rb
|
139
102
|
- lib/backup/syncer/base.rb
|
140
|
-
- lib/backup/syncer/cloud.rb
|
141
|
-
- lib/backup/syncer/cloud_files.rb
|
103
|
+
- lib/backup/syncer/cloud/base.rb
|
104
|
+
- lib/backup/syncer/cloud/cloud_files.rb
|
105
|
+
- lib/backup/syncer/cloud/s3.rb
|
142
106
|
- lib/backup/syncer/rsync/base.rb
|
143
107
|
- lib/backup/syncer/rsync/local.rb
|
144
108
|
- lib/backup/syncer/rsync/pull.rb
|
145
109
|
- lib/backup/syncer/rsync/push.rb
|
146
|
-
- lib/backup/syncer/s3.rb
|
147
110
|
- lib/backup/template.rb
|
148
111
|
- lib/backup/version.rb
|
112
|
+
- spec-live/.gitignore
|
113
|
+
- spec-live/README
|
114
|
+
- spec-live/backups/config.rb
|
115
|
+
- spec-live/backups/config.yml.template
|
116
|
+
- spec-live/compressor/custom_spec.rb
|
117
|
+
- spec-live/compressor/gzip_spec.rb
|
118
|
+
- spec-live/notifier/mail_spec.rb
|
119
|
+
- spec-live/spec_helper.rb
|
120
|
+
- spec-live/storage/dropbox_spec.rb
|
121
|
+
- spec-live/storage/local_spec.rb
|
122
|
+
- spec-live/storage/scp_spec.rb
|
123
|
+
- spec-live/syncer/cloud/s3_spec.rb
|
149
124
|
- spec/archive_spec.rb
|
150
125
|
- spec/cleaner_spec.rb
|
151
126
|
- spec/cli/helpers_spec.rb
|
152
127
|
- spec/cli/utility_spec.rb
|
153
128
|
- spec/compressor/base_spec.rb
|
154
129
|
- spec/compressor/bzip2_spec.rb
|
130
|
+
- spec/compressor/custom_spec.rb
|
155
131
|
- spec/compressor/gzip_spec.rb
|
156
132
|
- spec/compressor/lzma_spec.rb
|
157
133
|
- spec/compressor/pbzip2_spec.rb
|
158
134
|
- spec/config_spec.rb
|
159
|
-
- spec/configuration/
|
160
|
-
- spec/configuration/
|
161
|
-
- spec/
|
162
|
-
- spec/configuration/compressor/lzma_spec.rb
|
163
|
-
- spec/configuration/compressor/pbzip2_spec.rb
|
164
|
-
- spec/configuration/database/base_spec.rb
|
165
|
-
- spec/configuration/database/mongodb_spec.rb
|
166
|
-
- spec/configuration/database/mysql_spec.rb
|
167
|
-
- spec/configuration/database/postgresql_spec.rb
|
168
|
-
- spec/configuration/database/redis_spec.rb
|
169
|
-
- spec/configuration/database/riak_spec.rb
|
170
|
-
- spec/configuration/encryptor/gpg_spec.rb
|
171
|
-
- spec/configuration/encryptor/open_ssl_spec.rb
|
172
|
-
- spec/configuration/notifier/base_spec.rb
|
173
|
-
- spec/configuration/notifier/campfire_spec.rb
|
174
|
-
- spec/configuration/notifier/hipchat_spec.rb
|
175
|
-
- spec/configuration/notifier/mail_spec.rb
|
176
|
-
- spec/configuration/notifier/presently_spec.rb
|
177
|
-
- spec/configuration/notifier/prowl_spec.rb
|
178
|
-
- spec/configuration/notifier/twitter_spec.rb
|
179
|
-
- spec/configuration/storage/cloudfiles_spec.rb
|
180
|
-
- spec/configuration/storage/dropbox_spec.rb
|
181
|
-
- spec/configuration/storage/ftp_spec.rb
|
182
|
-
- spec/configuration/storage/local_spec.rb
|
183
|
-
- spec/configuration/storage/ninefold_spec.rb
|
184
|
-
- spec/configuration/storage/rsync_spec.rb
|
185
|
-
- spec/configuration/storage/s3_spec.rb
|
186
|
-
- spec/configuration/storage/scp_spec.rb
|
187
|
-
- spec/configuration/storage/sftp_spec.rb
|
188
|
-
- spec/configuration/syncer/cloud_files_spec.rb
|
189
|
-
- spec/configuration/syncer/rsync/base_spec.rb
|
190
|
-
- spec/configuration/syncer/rsync/local_spec.rb
|
191
|
-
- spec/configuration/syncer/rsync/pull_spec.rb
|
192
|
-
- spec/configuration/syncer/rsync/push_spec.rb
|
193
|
-
- spec/configuration/syncer/s3_spec.rb
|
135
|
+
- spec/configuration/helpers_spec.rb
|
136
|
+
- spec/configuration/store_spec.rb
|
137
|
+
- spec/configuration_spec.rb
|
194
138
|
- spec/database/base_spec.rb
|
195
139
|
- spec/database/mongodb_spec.rb
|
196
140
|
- spec/database/mysql_spec.rb
|
@@ -208,11 +152,11 @@ files:
|
|
208
152
|
- spec/notifier/campfire_spec.rb
|
209
153
|
- spec/notifier/hipchat_spec.rb
|
210
154
|
- spec/notifier/mail_spec.rb
|
211
|
-
- spec/notifier/presently_spec.rb
|
212
155
|
- spec/notifier/prowl_spec.rb
|
213
156
|
- spec/notifier/twitter_spec.rb
|
214
157
|
- spec/package_spec.rb
|
215
158
|
- spec/packager_spec.rb
|
159
|
+
- spec/pipeline_spec.rb
|
216
160
|
- spec/spec_helper.rb
|
217
161
|
- spec/splitter_spec.rb
|
218
162
|
- spec/storage/base_spec.rb
|
@@ -227,15 +171,17 @@ files:
|
|
227
171
|
- spec/storage/scp_spec.rb
|
228
172
|
- spec/storage/sftp_spec.rb
|
229
173
|
- spec/syncer/base_spec.rb
|
230
|
-
- spec/syncer/
|
174
|
+
- spec/syncer/cloud/base_spec.rb
|
175
|
+
- spec/syncer/cloud/cloud_files_spec.rb
|
176
|
+
- spec/syncer/cloud/s3_spec.rb
|
231
177
|
- spec/syncer/rsync/base_spec.rb
|
232
178
|
- spec/syncer/rsync/local_spec.rb
|
233
179
|
- spec/syncer/rsync/pull_spec.rb
|
234
180
|
- spec/syncer/rsync/push_spec.rb
|
235
|
-
- spec/syncer/s3_spec.rb
|
236
181
|
- spec/version_spec.rb
|
237
182
|
- templates/cli/utility/archive
|
238
183
|
- templates/cli/utility/compressor/bzip2
|
184
|
+
- templates/cli/utility/compressor/custom
|
239
185
|
- templates/cli/utility/compressor/gzip
|
240
186
|
- templates/cli/utility/compressor/lzma
|
241
187
|
- templates/cli/utility/compressor/pbzip2
|
@@ -251,7 +197,6 @@ files:
|
|
251
197
|
- templates/cli/utility/notifier/campfire
|
252
198
|
- templates/cli/utility/notifier/hipchat
|
253
199
|
- templates/cli/utility/notifier/mail
|
254
|
-
- templates/cli/utility/notifier/presently
|
255
200
|
- templates/cli/utility/notifier/prowl
|
256
201
|
- templates/cli/utility/notifier/twitter
|
257
202
|
- templates/cli/utility/splitter
|
@@ -297,7 +242,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
297
242
|
version: '0'
|
298
243
|
requirements: []
|
299
244
|
rubyforge_project:
|
300
|
-
rubygems_version: 1.8.
|
245
|
+
rubygems_version: 1.8.16
|
301
246
|
signing_key:
|
302
247
|
specification_version: 3
|
303
248
|
summary: Backup is a RubyGem, written for Linux and Mac OSX, that allows you to easily
|
@@ -307,3 +252,4 @@ summary: Backup is a RubyGem, written for Linux and Mac OSX, that allows you to
|
|
307
252
|
and notifiers which you can mix and match. It was built with modularity, extensibility
|
308
253
|
and simplicity in mind.
|
309
254
|
test_files: []
|
255
|
+
has_rdoc:
|
@@ -1,23 +0,0 @@
|
|
1
|
-
# encoding: utf-8
|
2
|
-
|
3
|
-
module Backup
|
4
|
-
module Configuration
|
5
|
-
module Compressor
|
6
|
-
class Bzip2 < Base
|
7
|
-
class << self
|
8
|
-
|
9
|
-
##
|
10
|
-
# Tells Backup::Compressor::Bzip2 to compress
|
11
|
-
# better (-9) which is bzip2 default anyway
|
12
|
-
attr_accessor :best
|
13
|
-
|
14
|
-
##
|
15
|
-
# Tells Backup::Compressor::Bzip2 to compress
|
16
|
-
# faster (-1) (but not significantly faster)
|
17
|
-
attr_accessor :fast
|
18
|
-
|
19
|
-
end
|
20
|
-
end
|
21
|
-
end
|
22
|
-
end
|
23
|
-
end
|
@@ -1,23 +0,0 @@
|
|
1
|
-
# encoding: utf-8
|
2
|
-
|
3
|
-
module Backup
|
4
|
-
module Configuration
|
5
|
-
module Compressor
|
6
|
-
class Gzip < Base
|
7
|
-
class << self
|
8
|
-
|
9
|
-
##
|
10
|
-
# Tells Backup::Compressor::Gzip to compress
|
11
|
-
# better rather than faster when set to true
|
12
|
-
attr_accessor :best
|
13
|
-
|
14
|
-
##
|
15
|
-
# Tells Backup::Compressor::Gzip to compress
|
16
|
-
# faster rather than better when set to true
|
17
|
-
attr_accessor :fast
|
18
|
-
|
19
|
-
end
|
20
|
-
end
|
21
|
-
end
|
22
|
-
end
|
23
|
-
end
|
@@ -1,23 +0,0 @@
|
|
1
|
-
# encoding: utf-8
|
2
|
-
|
3
|
-
module Backup
|
4
|
-
module Configuration
|
5
|
-
module Compressor
|
6
|
-
class Lzma < Base
|
7
|
-
class << self
|
8
|
-
|
9
|
-
##
|
10
|
-
# Tells Backup::Compressor::Lzma to compress
|
11
|
-
# better (--best) which is lzma default anyway
|
12
|
-
attr_accessor :best
|
13
|
-
|
14
|
-
##
|
15
|
-
# Tells Backup::Compressor::Lzma to compress
|
16
|
-
# faster (--fast) (but not significantly faster)
|
17
|
-
attr_accessor :fast
|
18
|
-
|
19
|
-
end
|
20
|
-
end
|
21
|
-
end
|
22
|
-
end
|
23
|
-
end
|
@@ -1,28 +0,0 @@
|
|
1
|
-
# encoding: utf-8
|
2
|
-
|
3
|
-
module Backup
|
4
|
-
module Configuration
|
5
|
-
module Compressor
|
6
|
-
class Pbzip2 < Base
|
7
|
-
class << self
|
8
|
-
|
9
|
-
##
|
10
|
-
# Tells Backup::Compressor::Pbzip2 to compress
|
11
|
-
# better (-9) which is bzip2 default anyway
|
12
|
-
attr_accessor :best
|
13
|
-
|
14
|
-
##
|
15
|
-
# Tells Backup::Compressor::Pbzip2 to compress
|
16
|
-
# faster (-1) (but not significantly faster)
|
17
|
-
attr_accessor :fast
|
18
|
-
|
19
|
-
##
|
20
|
-
# Tells Backup::Compressor::Pbzip2 how many processors
|
21
|
-
# use, by default autodetect is used
|
22
|
-
attr_accessor :processors
|
23
|
-
|
24
|
-
end
|
25
|
-
end
|
26
|
-
end
|
27
|
-
end
|
28
|
-
end
|
@@ -1,19 +0,0 @@
|
|
1
|
-
# encoding: utf-8
|
2
|
-
|
3
|
-
module Backup
|
4
|
-
module Configuration
|
5
|
-
module Database
|
6
|
-
class Base < Configuration::Base
|
7
|
-
class << self
|
8
|
-
|
9
|
-
##
|
10
|
-
# Allows the user to specify the path to a "dump" utility
|
11
|
-
# in case it cannot be auto-detected by Backup
|
12
|
-
# [DEPRECATED] - use <utility_name>_utility methods
|
13
|
-
attr_accessor :utility_path
|
14
|
-
|
15
|
-
end
|
16
|
-
end
|
17
|
-
end
|
18
|
-
end
|
19
|
-
end
|