backup_checksum 3.0.23
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of backup_checksum might be problematic. Click here for more details.
- data/.gitignore +7 -0
- data/.travis.yml +10 -0
- data/Gemfile +28 -0
- data/Gemfile.lock +130 -0
- data/Guardfile +21 -0
- data/LICENSE.md +24 -0
- data/README.md +476 -0
- data/backup_checksum.gemspec +32 -0
- data/bin/backup +11 -0
- data/lib/backup.rb +217 -0
- data/lib/backup/archive.rb +117 -0
- data/lib/backup/binder.rb +22 -0
- data/lib/backup/checksum/base.rb +44 -0
- data/lib/backup/checksum/shasum.rb +16 -0
- data/lib/backup/cleaner.rb +121 -0
- data/lib/backup/cli/helpers.rb +88 -0
- data/lib/backup/cli/utility.rb +247 -0
- data/lib/backup/compressor/base.rb +29 -0
- data/lib/backup/compressor/bzip2.rb +50 -0
- data/lib/backup/compressor/gzip.rb +47 -0
- data/lib/backup/compressor/lzma.rb +50 -0
- data/lib/backup/compressor/pbzip2.rb +56 -0
- data/lib/backup/config.rb +173 -0
- data/lib/backup/configuration/base.rb +15 -0
- data/lib/backup/configuration/checksum/base.rb +9 -0
- data/lib/backup/configuration/checksum/shasum.rb +9 -0
- data/lib/backup/configuration/compressor/base.rb +9 -0
- data/lib/backup/configuration/compressor/bzip2.rb +23 -0
- data/lib/backup/configuration/compressor/gzip.rb +23 -0
- data/lib/backup/configuration/compressor/lzma.rb +23 -0
- data/lib/backup/configuration/compressor/pbzip2.rb +28 -0
- data/lib/backup/configuration/database/base.rb +19 -0
- data/lib/backup/configuration/database/mongodb.rb +49 -0
- data/lib/backup/configuration/database/mysql.rb +42 -0
- data/lib/backup/configuration/database/postgresql.rb +41 -0
- data/lib/backup/configuration/database/redis.rb +39 -0
- data/lib/backup/configuration/database/riak.rb +29 -0
- data/lib/backup/configuration/encryptor/base.rb +9 -0
- data/lib/backup/configuration/encryptor/gpg.rb +17 -0
- data/lib/backup/configuration/encryptor/open_ssl.rb +32 -0
- data/lib/backup/configuration/helpers.rb +52 -0
- data/lib/backup/configuration/notifier/base.rb +28 -0
- data/lib/backup/configuration/notifier/campfire.rb +25 -0
- data/lib/backup/configuration/notifier/hipchat.rb +41 -0
- data/lib/backup/configuration/notifier/mail.rb +112 -0
- data/lib/backup/configuration/notifier/presently.rb +25 -0
- data/lib/backup/configuration/notifier/prowl.rb +23 -0
- data/lib/backup/configuration/notifier/twitter.rb +21 -0
- data/lib/backup/configuration/storage/base.rb +18 -0
- data/lib/backup/configuration/storage/cloudfiles.rb +25 -0
- data/lib/backup/configuration/storage/dropbox.rb +58 -0
- data/lib/backup/configuration/storage/ftp.rb +29 -0
- data/lib/backup/configuration/storage/local.rb +17 -0
- data/lib/backup/configuration/storage/ninefold.rb +20 -0
- data/lib/backup/configuration/storage/rsync.rb +29 -0
- data/lib/backup/configuration/storage/s3.rb +25 -0
- data/lib/backup/configuration/storage/scp.rb +25 -0
- data/lib/backup/configuration/storage/sftp.rb +25 -0
- data/lib/backup/configuration/syncer/base.rb +10 -0
- data/lib/backup/configuration/syncer/cloud.rb +23 -0
- data/lib/backup/configuration/syncer/cloud_files.rb +30 -0
- data/lib/backup/configuration/syncer/rsync/base.rb +28 -0
- data/lib/backup/configuration/syncer/rsync/local.rb +11 -0
- data/lib/backup/configuration/syncer/rsync/pull.rb +11 -0
- data/lib/backup/configuration/syncer/rsync/push.rb +31 -0
- data/lib/backup/configuration/syncer/s3.rb +23 -0
- data/lib/backup/database/base.rb +59 -0
- data/lib/backup/database/mongodb.rb +232 -0
- data/lib/backup/database/mysql.rb +163 -0
- data/lib/backup/database/postgresql.rb +146 -0
- data/lib/backup/database/redis.rb +139 -0
- data/lib/backup/database/riak.rb +69 -0
- data/lib/backup/dependency.rb +114 -0
- data/lib/backup/encryptor/base.rb +29 -0
- data/lib/backup/encryptor/gpg.rb +80 -0
- data/lib/backup/encryptor/open_ssl.rb +72 -0
- data/lib/backup/errors.rb +124 -0
- data/lib/backup/logger.rb +152 -0
- data/lib/backup/model.rb +386 -0
- data/lib/backup/notifier/base.rb +81 -0
- data/lib/backup/notifier/campfire.rb +168 -0
- data/lib/backup/notifier/hipchat.rb +99 -0
- data/lib/backup/notifier/mail.rb +206 -0
- data/lib/backup/notifier/presently.rb +88 -0
- data/lib/backup/notifier/prowl.rb +65 -0
- data/lib/backup/notifier/twitter.rb +70 -0
- data/lib/backup/package.rb +51 -0
- data/lib/backup/packager.rb +108 -0
- data/lib/backup/pipeline.rb +107 -0
- data/lib/backup/splitter.rb +75 -0
- data/lib/backup/storage/base.rb +119 -0
- data/lib/backup/storage/cloudfiles.rb +87 -0
- data/lib/backup/storage/cycler.rb +117 -0
- data/lib/backup/storage/dropbox.rb +181 -0
- data/lib/backup/storage/ftp.rb +119 -0
- data/lib/backup/storage/local.rb +82 -0
- data/lib/backup/storage/ninefold.rb +116 -0
- data/lib/backup/storage/rsync.rb +149 -0
- data/lib/backup/storage/s3.rb +94 -0
- data/lib/backup/storage/scp.rb +99 -0
- data/lib/backup/storage/sftp.rb +108 -0
- data/lib/backup/syncer/base.rb +42 -0
- data/lib/backup/syncer/cloud.rb +190 -0
- data/lib/backup/syncer/cloud_files.rb +56 -0
- data/lib/backup/syncer/rsync/base.rb +52 -0
- data/lib/backup/syncer/rsync/local.rb +53 -0
- data/lib/backup/syncer/rsync/pull.rb +38 -0
- data/lib/backup/syncer/rsync/push.rb +113 -0
- data/lib/backup/syncer/s3.rb +47 -0
- data/lib/backup/template.rb +46 -0
- data/lib/backup/version.rb +43 -0
- data/spec/archive_spec.rb +335 -0
- data/spec/cleaner_spec.rb +304 -0
- data/spec/cli/helpers_spec.rb +176 -0
- data/spec/cli/utility_spec.rb +363 -0
- data/spec/compressor/base_spec.rb +31 -0
- data/spec/compressor/bzip2_spec.rb +83 -0
- data/spec/compressor/gzip_spec.rb +83 -0
- data/spec/compressor/lzma_spec.rb +83 -0
- data/spec/compressor/pbzip2_spec.rb +124 -0
- data/spec/config_spec.rb +321 -0
- data/spec/configuration/base_spec.rb +35 -0
- data/spec/configuration/compressor/bzip2_spec.rb +29 -0
- data/spec/configuration/compressor/gzip_spec.rb +29 -0
- data/spec/configuration/compressor/lzma_spec.rb +29 -0
- data/spec/configuration/compressor/pbzip2_spec.rb +32 -0
- data/spec/configuration/database/base_spec.rb +17 -0
- data/spec/configuration/database/mongodb_spec.rb +56 -0
- data/spec/configuration/database/mysql_spec.rb +53 -0
- data/spec/configuration/database/postgresql_spec.rb +53 -0
- data/spec/configuration/database/redis_spec.rb +50 -0
- data/spec/configuration/database/riak_spec.rb +35 -0
- data/spec/configuration/encryptor/gpg_spec.rb +26 -0
- data/spec/configuration/encryptor/open_ssl_spec.rb +35 -0
- data/spec/configuration/notifier/base_spec.rb +32 -0
- data/spec/configuration/notifier/campfire_spec.rb +32 -0
- data/spec/configuration/notifier/hipchat_spec.rb +44 -0
- data/spec/configuration/notifier/mail_spec.rb +71 -0
- data/spec/configuration/notifier/presently_spec.rb +35 -0
- data/spec/configuration/notifier/prowl_spec.rb +29 -0
- data/spec/configuration/notifier/twitter_spec.rb +35 -0
- data/spec/configuration/storage/cloudfiles_spec.rb +41 -0
- data/spec/configuration/storage/dropbox_spec.rb +38 -0
- data/spec/configuration/storage/ftp_spec.rb +44 -0
- data/spec/configuration/storage/local_spec.rb +29 -0
- data/spec/configuration/storage/ninefold_spec.rb +32 -0
- data/spec/configuration/storage/rsync_spec.rb +41 -0
- data/spec/configuration/storage/s3_spec.rb +38 -0
- data/spec/configuration/storage/scp_spec.rb +41 -0
- data/spec/configuration/storage/sftp_spec.rb +41 -0
- data/spec/configuration/syncer/cloud_files_spec.rb +44 -0
- data/spec/configuration/syncer/rsync/base_spec.rb +33 -0
- data/spec/configuration/syncer/rsync/local_spec.rb +10 -0
- data/spec/configuration/syncer/rsync/pull_spec.rb +10 -0
- data/spec/configuration/syncer/rsync/push_spec.rb +43 -0
- data/spec/configuration/syncer/s3_spec.rb +38 -0
- data/spec/database/base_spec.rb +54 -0
- data/spec/database/mongodb_spec.rb +428 -0
- data/spec/database/mysql_spec.rb +335 -0
- data/spec/database/postgresql_spec.rb +278 -0
- data/spec/database/redis_spec.rb +260 -0
- data/spec/database/riak_spec.rb +108 -0
- data/spec/dependency_spec.rb +49 -0
- data/spec/encryptor/base_spec.rb +30 -0
- data/spec/encryptor/gpg_spec.rb +134 -0
- data/spec/encryptor/open_ssl_spec.rb +129 -0
- data/spec/errors_spec.rb +306 -0
- data/spec/logger_spec.rb +363 -0
- data/spec/model_spec.rb +649 -0
- data/spec/notifier/base_spec.rb +89 -0
- data/spec/notifier/campfire_spec.rb +199 -0
- data/spec/notifier/hipchat_spec.rb +188 -0
- data/spec/notifier/mail_spec.rb +280 -0
- data/spec/notifier/presently_spec.rb +181 -0
- data/spec/notifier/prowl_spec.rb +117 -0
- data/spec/notifier/twitter_spec.rb +132 -0
- data/spec/package_spec.rb +61 -0
- data/spec/packager_spec.rb +225 -0
- data/spec/pipeline_spec.rb +257 -0
- data/spec/spec_helper.rb +59 -0
- data/spec/splitter_spec.rb +120 -0
- data/spec/storage/base_spec.rb +160 -0
- data/spec/storage/cloudfiles_spec.rb +230 -0
- data/spec/storage/cycler_spec.rb +239 -0
- data/spec/storage/dropbox_spec.rb +370 -0
- data/spec/storage/ftp_spec.rb +247 -0
- data/spec/storage/local_spec.rb +235 -0
- data/spec/storage/ninefold_spec.rb +319 -0
- data/spec/storage/rsync_spec.rb +345 -0
- data/spec/storage/s3_spec.rb +221 -0
- data/spec/storage/scp_spec.rb +209 -0
- data/spec/storage/sftp_spec.rb +220 -0
- data/spec/syncer/base_spec.rb +22 -0
- data/spec/syncer/cloud_files_spec.rb +192 -0
- data/spec/syncer/rsync/base_spec.rb +118 -0
- data/spec/syncer/rsync/local_spec.rb +121 -0
- data/spec/syncer/rsync/pull_spec.rb +90 -0
- data/spec/syncer/rsync/push_spec.rb +327 -0
- data/spec/syncer/s3_spec.rb +192 -0
- data/spec/version_spec.rb +21 -0
- data/templates/cli/utility/archive +25 -0
- data/templates/cli/utility/compressor/bzip2 +7 -0
- data/templates/cli/utility/compressor/gzip +7 -0
- data/templates/cli/utility/compressor/lzma +7 -0
- data/templates/cli/utility/compressor/pbzip2 +7 -0
- data/templates/cli/utility/config +31 -0
- data/templates/cli/utility/database/mongodb +18 -0
- data/templates/cli/utility/database/mysql +21 -0
- data/templates/cli/utility/database/postgresql +17 -0
- data/templates/cli/utility/database/redis +16 -0
- data/templates/cli/utility/database/riak +11 -0
- data/templates/cli/utility/encryptor/gpg +12 -0
- data/templates/cli/utility/encryptor/openssl +9 -0
- data/templates/cli/utility/model.erb +23 -0
- data/templates/cli/utility/notifier/campfire +12 -0
- data/templates/cli/utility/notifier/hipchat +15 -0
- data/templates/cli/utility/notifier/mail +22 -0
- data/templates/cli/utility/notifier/presently +13 -0
- data/templates/cli/utility/notifier/prowl +11 -0
- data/templates/cli/utility/notifier/twitter +13 -0
- data/templates/cli/utility/splitter +7 -0
- data/templates/cli/utility/storage/cloud_files +22 -0
- data/templates/cli/utility/storage/dropbox +20 -0
- data/templates/cli/utility/storage/ftp +12 -0
- data/templates/cli/utility/storage/local +7 -0
- data/templates/cli/utility/storage/ninefold +9 -0
- data/templates/cli/utility/storage/rsync +11 -0
- data/templates/cli/utility/storage/s3 +19 -0
- data/templates/cli/utility/storage/scp +11 -0
- data/templates/cli/utility/storage/sftp +11 -0
- data/templates/cli/utility/syncer/cloud_files +48 -0
- data/templates/cli/utility/syncer/rsync_local +12 -0
- data/templates/cli/utility/syncer/rsync_pull +17 -0
- data/templates/cli/utility/syncer/rsync_push +17 -0
- data/templates/cli/utility/syncer/s3 +45 -0
- data/templates/general/links +11 -0
- data/templates/general/version.erb +2 -0
- data/templates/notifier/mail/failure.erb +9 -0
- data/templates/notifier/mail/success.erb +7 -0
- data/templates/notifier/mail/warning.erb +9 -0
- data/templates/storage/dropbox/authorization_url.erb +6 -0
- data/templates/storage/dropbox/authorized.erb +4 -0
- data/templates/storage/dropbox/cache_file_written.erb +10 -0
- metadata +311 -0
@@ -0,0 +1,19 @@
|
|
1
|
+
##
|
2
|
+
# Amazon Simple Storage Service [Storage]
|
3
|
+
#
|
4
|
+
# Available Regions:
|
5
|
+
#
|
6
|
+
# - ap-northeast-1
|
7
|
+
# - ap-southeast-1
|
8
|
+
# - eu-west-1
|
9
|
+
# - us-east-1
|
10
|
+
# - us-west-1
|
11
|
+
#
|
12
|
+
store_with S3 do |s3|
|
13
|
+
s3.access_key_id = "my_access_key_id"
|
14
|
+
s3.secret_access_key = "my_secret_access_key"
|
15
|
+
s3.region = "us-east-1"
|
16
|
+
s3.bucket = "bucket-name"
|
17
|
+
s3.path = "/path/to/my/backups"
|
18
|
+
s3.keep = 10
|
19
|
+
end
|
@@ -0,0 +1,11 @@
|
|
1
|
+
##
|
2
|
+
# SFTP (Secure File Transfer Protocol) [Storage]
|
3
|
+
#
|
4
|
+
store_with SFTP do |server|
|
5
|
+
server.username = "my_username"
|
6
|
+
server.password = "my_password"
|
7
|
+
server.ip = "123.45.678.90"
|
8
|
+
server.port = 22
|
9
|
+
server.path = "~/backups/"
|
10
|
+
server.keep = 5
|
11
|
+
end
|
@@ -0,0 +1,48 @@
|
|
1
|
+
##
|
2
|
+
# Rackspace Cloud Files [Syncer]
|
3
|
+
#
|
4
|
+
# Available Auth URLs:
|
5
|
+
#
|
6
|
+
# - https://auth.api.rackspacecloud.com (US - Default)
|
7
|
+
# - https://lon.auth.api.rackspacecloud.com (UK)
|
8
|
+
#
|
9
|
+
# Servicenet:
|
10
|
+
#
|
11
|
+
# Set this to 'true' if Backup runs on a Rackspace server. It will avoid
|
12
|
+
# transfer charges and it's more performant.
|
13
|
+
#
|
14
|
+
# Mirroring:
|
15
|
+
#
|
16
|
+
# When enabled it will keep an exact mirror of your filesystem on Cloud Files. This means
|
17
|
+
# that when you remove a file from the filesystem, it will also remote it from Cloud Files.
|
18
|
+
#
|
19
|
+
# Concurrency (concurrency_type):
|
20
|
+
#
|
21
|
+
# - :threads (recommended)
|
22
|
+
# - :processes
|
23
|
+
# - false
|
24
|
+
#
|
25
|
+
# Threads are a good choice for such sync operations and doesn't consume any additional memory.
|
26
|
+
# Using :processes is discouraged as it's likely to consumes a lot of memory.
|
27
|
+
#
|
28
|
+
# Concurrency (concurrency_level):
|
29
|
+
#
|
30
|
+
# Defaults to 2, the higher the level, the faster it will sync.
|
31
|
+
# If you want a high concurrency level (>2), use :threads and not :processes.
|
32
|
+
#
|
33
|
+
sync_with CloudFiles do |cf|
|
34
|
+
cf.username = "my_username"
|
35
|
+
cf.api_key = "my_api_key"
|
36
|
+
cf.container = "my_container"
|
37
|
+
cf.auth_url = "https://auth.api.rackspacecloud.com"
|
38
|
+
cf.servicenet = false
|
39
|
+
cf.path = "/backups"
|
40
|
+
cf.mirror = true
|
41
|
+
cf.concurrency_type = :threads
|
42
|
+
cf.concurrency_level = 50
|
43
|
+
|
44
|
+
cf.directories do |directory|
|
45
|
+
directory.add "/path/to/directory/to/sync"
|
46
|
+
directory.add "/path/to/other/directory/to/sync"
|
47
|
+
end
|
48
|
+
end
|
@@ -0,0 +1,12 @@
|
|
1
|
+
##
|
2
|
+
# RSync::Local [Syncer]
|
3
|
+
#
|
4
|
+
sync_with RSync::Local do |rsync|
|
5
|
+
rsync.path = "~/backups/"
|
6
|
+
rsync.mirror = true
|
7
|
+
|
8
|
+
rsync.directories do |directory|
|
9
|
+
directory.add "/var/apps/my_app/public/uploads"
|
10
|
+
directory.add "/var/apps/my_app/logs"
|
11
|
+
end
|
12
|
+
end
|
@@ -0,0 +1,17 @@
|
|
1
|
+
##
|
2
|
+
# RSync::Pull [Syncer]
|
3
|
+
#
|
4
|
+
sync_with RSync::Pull do |rsync|
|
5
|
+
rsync.ip = "123.45.678.90"
|
6
|
+
rsync.port = 22
|
7
|
+
rsync.username = "my_username"
|
8
|
+
rsync.password = "my_password"
|
9
|
+
rsync.path = "~/backups/"
|
10
|
+
rsync.mirror = true
|
11
|
+
rsync.compress = true
|
12
|
+
|
13
|
+
rsync.directories do |directory|
|
14
|
+
directory.add "/var/apps/my_app/public/uploads"
|
15
|
+
directory.add "/var/apps/my_app/logs"
|
16
|
+
end
|
17
|
+
end
|
@@ -0,0 +1,17 @@
|
|
1
|
+
##
|
2
|
+
# RSync::Push [Syncer]
|
3
|
+
#
|
4
|
+
sync_with RSync::Push do |rsync|
|
5
|
+
rsync.ip = "123.45.678.90"
|
6
|
+
rsync.port = 22
|
7
|
+
rsync.username = "my_username"
|
8
|
+
rsync.password = "my_password"
|
9
|
+
rsync.path = "~/backups/"
|
10
|
+
rsync.mirror = true
|
11
|
+
rsync.compress = true
|
12
|
+
|
13
|
+
rsync.directories do |directory|
|
14
|
+
directory.add "/var/apps/my_app/public/uploads"
|
15
|
+
directory.add "/var/apps/my_app/logs"
|
16
|
+
end
|
17
|
+
end
|
@@ -0,0 +1,45 @@
|
|
1
|
+
##
|
2
|
+
# Amazon S3 [Syncer]
|
3
|
+
#
|
4
|
+
# Available Regions:
|
5
|
+
#
|
6
|
+
# - ap-northeast-1
|
7
|
+
# - ap-southeast-1
|
8
|
+
# - eu-west-1
|
9
|
+
# - us-east-1
|
10
|
+
# - us-west-1
|
11
|
+
#
|
12
|
+
# Mirroring:
|
13
|
+
#
|
14
|
+
# When enabled it will keep an exact mirror of your filesystem on S3. This means
|
15
|
+
# that when you remove a file from the filesystem, it will also remote it from S3.
|
16
|
+
#
|
17
|
+
# Concurrency (concurrency_type):
|
18
|
+
#
|
19
|
+
# - :threads (recommended)
|
20
|
+
# - :processes
|
21
|
+
# - false
|
22
|
+
#
|
23
|
+
# Threads are a good choice for such sync operations and doesn't consume any additional memory.
|
24
|
+
# Using :processes is discouraged as it's likely to consumes a lot of memory.
|
25
|
+
#
|
26
|
+
# Concurrency (concurrency_level):
|
27
|
+
#
|
28
|
+
# Defaults to 2, the higher the level, the faster it will sync.
|
29
|
+
# If you want a high concurrency level (>2), use :threads and not :processes.
|
30
|
+
#
|
31
|
+
sync_with S3 do |s3|
|
32
|
+
s3.access_key_id = "my_access_key_id"
|
33
|
+
s3.secret_access_key = "my_secret_access_key"
|
34
|
+
s3.bucket = "my-bucket"
|
35
|
+
s3.region = "us-east-1"
|
36
|
+
s3.path = "/backups"
|
37
|
+
s3.mirror = true
|
38
|
+
s3.concurrency_type = :threads
|
39
|
+
s3.concurrency_level = 50
|
40
|
+
|
41
|
+
s3.directories do |directory|
|
42
|
+
directory.add "/path/to/directory/to/sync"
|
43
|
+
directory.add "/path/to/other/directory/to/sync"
|
44
|
+
end
|
45
|
+
end
|
@@ -0,0 +1,11 @@
|
|
1
|
+
Backup's Ruby Gem releases:
|
2
|
+
http://rubygems.org/gems/backup
|
3
|
+
|
4
|
+
Backup's Git repository:
|
5
|
+
https://github.com/meskyanichi/backup
|
6
|
+
|
7
|
+
Backup's Issue Tracker:
|
8
|
+
https://github.com/meskyanichi/backup/issues
|
9
|
+
|
10
|
+
Backup's Wikipedia/Documentation/Guides:
|
11
|
+
https://github.com/meskyanichi/backup/wiki
|
@@ -0,0 +1,9 @@
|
|
1
|
+
|
2
|
+
Backup <%= @model.label %> (<%= @model.trigger %>) Failed!
|
3
|
+
|
4
|
+
See the attached backup log for details.
|
5
|
+
|
6
|
+
===========================================================================
|
7
|
+
<%= Backup::Template.new.result("general/version.erb") %>
|
8
|
+
|
9
|
+
<%= Backup::Template.new.result("general/links") %>
|
@@ -0,0 +1,7 @@
|
|
1
|
+
|
2
|
+
Backup <%= @model.label %> (<%= @model.trigger %>) finished without any errors!
|
3
|
+
|
4
|
+
===========================================================================
|
5
|
+
<%= Backup::Template.new.result("general/version.erb") %>
|
6
|
+
|
7
|
+
<%= Backup::Template.new.result("general/links") %>
|
@@ -0,0 +1,9 @@
|
|
1
|
+
|
2
|
+
Backup <%= @model.label %> (<%= @model.trigger %>) finished with warnings.
|
3
|
+
|
4
|
+
See the attached backup log for details.
|
5
|
+
|
6
|
+
===========================================================================
|
7
|
+
<%= Backup::Template.new.result("general/version.erb") %>
|
8
|
+
|
9
|
+
<%= Backup::Template.new.result("general/links") %>
|
@@ -0,0 +1,10 @@
|
|
1
|
+
|
2
|
+
Cache data written! You will no longer need to manually authorize this
|
3
|
+
Dropbox account via an authorization URL on this machine.
|
4
|
+
|
5
|
+
Note: If you run Backup with this Dropbox account in another location,
|
6
|
+
or on other machines, you will need to either authorize them the same
|
7
|
+
way, or simply copy over the cache file from:
|
8
|
+
<%= @cached_file %>
|
9
|
+
to the cache directory on your other machines to use this Dropbox
|
10
|
+
account there as well.
|
metadata
ADDED
@@ -0,0 +1,311 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: backup_checksum
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 3.0.23
|
5
|
+
prerelease:
|
6
|
+
platform: ruby
|
7
|
+
authors:
|
8
|
+
- Lukasz Kaniowski
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
date: 2012-03-09 00:00:00.000000000Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: thor
|
16
|
+
requirement: &2155338440 !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
18
|
+
requirements:
|
19
|
+
- - ~>
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: 0.14.6
|
22
|
+
type: :runtime
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: *2155338440
|
25
|
+
- !ruby/object:Gem::Dependency
|
26
|
+
name: POpen4
|
27
|
+
requirement: &2155331240 !ruby/object:Gem::Requirement
|
28
|
+
none: false
|
29
|
+
requirements:
|
30
|
+
- - ~>
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: 0.1.4
|
33
|
+
type: :runtime
|
34
|
+
prerelease: false
|
35
|
+
version_requirements: *2155331240
|
36
|
+
description:
|
37
|
+
email: lukasz.kaniowski@gmail.com
|
38
|
+
executables:
|
39
|
+
- backup
|
40
|
+
extensions: []
|
41
|
+
extra_rdoc_files: []
|
42
|
+
files:
|
43
|
+
- .gitignore
|
44
|
+
- .travis.yml
|
45
|
+
- Gemfile
|
46
|
+
- Gemfile.lock
|
47
|
+
- Guardfile
|
48
|
+
- LICENSE.md
|
49
|
+
- README.md
|
50
|
+
- backup_checksum.gemspec
|
51
|
+
- bin/backup
|
52
|
+
- lib/backup.rb
|
53
|
+
- lib/backup/archive.rb
|
54
|
+
- lib/backup/binder.rb
|
55
|
+
- lib/backup/checksum/base.rb
|
56
|
+
- lib/backup/checksum/shasum.rb
|
57
|
+
- lib/backup/cleaner.rb
|
58
|
+
- lib/backup/cli/helpers.rb
|
59
|
+
- lib/backup/cli/utility.rb
|
60
|
+
- lib/backup/compressor/base.rb
|
61
|
+
- lib/backup/compressor/bzip2.rb
|
62
|
+
- lib/backup/compressor/gzip.rb
|
63
|
+
- lib/backup/compressor/lzma.rb
|
64
|
+
- lib/backup/compressor/pbzip2.rb
|
65
|
+
- lib/backup/config.rb
|
66
|
+
- lib/backup/configuration/base.rb
|
67
|
+
- lib/backup/configuration/checksum/base.rb
|
68
|
+
- lib/backup/configuration/checksum/shasum.rb
|
69
|
+
- lib/backup/configuration/compressor/base.rb
|
70
|
+
- lib/backup/configuration/compressor/bzip2.rb
|
71
|
+
- lib/backup/configuration/compressor/gzip.rb
|
72
|
+
- lib/backup/configuration/compressor/lzma.rb
|
73
|
+
- lib/backup/configuration/compressor/pbzip2.rb
|
74
|
+
- lib/backup/configuration/database/base.rb
|
75
|
+
- lib/backup/configuration/database/mongodb.rb
|
76
|
+
- lib/backup/configuration/database/mysql.rb
|
77
|
+
- lib/backup/configuration/database/postgresql.rb
|
78
|
+
- lib/backup/configuration/database/redis.rb
|
79
|
+
- lib/backup/configuration/database/riak.rb
|
80
|
+
- lib/backup/configuration/encryptor/base.rb
|
81
|
+
- lib/backup/configuration/encryptor/gpg.rb
|
82
|
+
- lib/backup/configuration/encryptor/open_ssl.rb
|
83
|
+
- lib/backup/configuration/helpers.rb
|
84
|
+
- lib/backup/configuration/notifier/base.rb
|
85
|
+
- lib/backup/configuration/notifier/campfire.rb
|
86
|
+
- lib/backup/configuration/notifier/hipchat.rb
|
87
|
+
- lib/backup/configuration/notifier/mail.rb
|
88
|
+
- lib/backup/configuration/notifier/presently.rb
|
89
|
+
- lib/backup/configuration/notifier/prowl.rb
|
90
|
+
- lib/backup/configuration/notifier/twitter.rb
|
91
|
+
- lib/backup/configuration/storage/base.rb
|
92
|
+
- lib/backup/configuration/storage/cloudfiles.rb
|
93
|
+
- lib/backup/configuration/storage/dropbox.rb
|
94
|
+
- lib/backup/configuration/storage/ftp.rb
|
95
|
+
- lib/backup/configuration/storage/local.rb
|
96
|
+
- lib/backup/configuration/storage/ninefold.rb
|
97
|
+
- lib/backup/configuration/storage/rsync.rb
|
98
|
+
- lib/backup/configuration/storage/s3.rb
|
99
|
+
- lib/backup/configuration/storage/scp.rb
|
100
|
+
- lib/backup/configuration/storage/sftp.rb
|
101
|
+
- lib/backup/configuration/syncer/base.rb
|
102
|
+
- lib/backup/configuration/syncer/cloud.rb
|
103
|
+
- lib/backup/configuration/syncer/cloud_files.rb
|
104
|
+
- lib/backup/configuration/syncer/rsync/base.rb
|
105
|
+
- lib/backup/configuration/syncer/rsync/local.rb
|
106
|
+
- lib/backup/configuration/syncer/rsync/pull.rb
|
107
|
+
- lib/backup/configuration/syncer/rsync/push.rb
|
108
|
+
- lib/backup/configuration/syncer/s3.rb
|
109
|
+
- lib/backup/database/base.rb
|
110
|
+
- lib/backup/database/mongodb.rb
|
111
|
+
- lib/backup/database/mysql.rb
|
112
|
+
- lib/backup/database/postgresql.rb
|
113
|
+
- lib/backup/database/redis.rb
|
114
|
+
- lib/backup/database/riak.rb
|
115
|
+
- lib/backup/dependency.rb
|
116
|
+
- lib/backup/encryptor/base.rb
|
117
|
+
- lib/backup/encryptor/gpg.rb
|
118
|
+
- lib/backup/encryptor/open_ssl.rb
|
119
|
+
- lib/backup/errors.rb
|
120
|
+
- lib/backup/logger.rb
|
121
|
+
- lib/backup/model.rb
|
122
|
+
- lib/backup/notifier/base.rb
|
123
|
+
- lib/backup/notifier/campfire.rb
|
124
|
+
- lib/backup/notifier/hipchat.rb
|
125
|
+
- lib/backup/notifier/mail.rb
|
126
|
+
- lib/backup/notifier/presently.rb
|
127
|
+
- lib/backup/notifier/prowl.rb
|
128
|
+
- lib/backup/notifier/twitter.rb
|
129
|
+
- lib/backup/package.rb
|
130
|
+
- lib/backup/packager.rb
|
131
|
+
- lib/backup/pipeline.rb
|
132
|
+
- lib/backup/splitter.rb
|
133
|
+
- lib/backup/storage/base.rb
|
134
|
+
- lib/backup/storage/cloudfiles.rb
|
135
|
+
- lib/backup/storage/cycler.rb
|
136
|
+
- lib/backup/storage/dropbox.rb
|
137
|
+
- lib/backup/storage/ftp.rb
|
138
|
+
- lib/backup/storage/local.rb
|
139
|
+
- lib/backup/storage/ninefold.rb
|
140
|
+
- lib/backup/storage/rsync.rb
|
141
|
+
- lib/backup/storage/s3.rb
|
142
|
+
- lib/backup/storage/scp.rb
|
143
|
+
- lib/backup/storage/sftp.rb
|
144
|
+
- lib/backup/syncer/base.rb
|
145
|
+
- lib/backup/syncer/cloud.rb
|
146
|
+
- lib/backup/syncer/cloud_files.rb
|
147
|
+
- lib/backup/syncer/rsync/base.rb
|
148
|
+
- lib/backup/syncer/rsync/local.rb
|
149
|
+
- lib/backup/syncer/rsync/pull.rb
|
150
|
+
- lib/backup/syncer/rsync/push.rb
|
151
|
+
- lib/backup/syncer/s3.rb
|
152
|
+
- lib/backup/template.rb
|
153
|
+
- lib/backup/version.rb
|
154
|
+
- spec/archive_spec.rb
|
155
|
+
- spec/cleaner_spec.rb
|
156
|
+
- spec/cli/helpers_spec.rb
|
157
|
+
- spec/cli/utility_spec.rb
|
158
|
+
- spec/compressor/base_spec.rb
|
159
|
+
- spec/compressor/bzip2_spec.rb
|
160
|
+
- spec/compressor/gzip_spec.rb
|
161
|
+
- spec/compressor/lzma_spec.rb
|
162
|
+
- spec/compressor/pbzip2_spec.rb
|
163
|
+
- spec/config_spec.rb
|
164
|
+
- spec/configuration/base_spec.rb
|
165
|
+
- spec/configuration/compressor/bzip2_spec.rb
|
166
|
+
- spec/configuration/compressor/gzip_spec.rb
|
167
|
+
- spec/configuration/compressor/lzma_spec.rb
|
168
|
+
- spec/configuration/compressor/pbzip2_spec.rb
|
169
|
+
- spec/configuration/database/base_spec.rb
|
170
|
+
- spec/configuration/database/mongodb_spec.rb
|
171
|
+
- spec/configuration/database/mysql_spec.rb
|
172
|
+
- spec/configuration/database/postgresql_spec.rb
|
173
|
+
- spec/configuration/database/redis_spec.rb
|
174
|
+
- spec/configuration/database/riak_spec.rb
|
175
|
+
- spec/configuration/encryptor/gpg_spec.rb
|
176
|
+
- spec/configuration/encryptor/open_ssl_spec.rb
|
177
|
+
- spec/configuration/notifier/base_spec.rb
|
178
|
+
- spec/configuration/notifier/campfire_spec.rb
|
179
|
+
- spec/configuration/notifier/hipchat_spec.rb
|
180
|
+
- spec/configuration/notifier/mail_spec.rb
|
181
|
+
- spec/configuration/notifier/presently_spec.rb
|
182
|
+
- spec/configuration/notifier/prowl_spec.rb
|
183
|
+
- spec/configuration/notifier/twitter_spec.rb
|
184
|
+
- spec/configuration/storage/cloudfiles_spec.rb
|
185
|
+
- spec/configuration/storage/dropbox_spec.rb
|
186
|
+
- spec/configuration/storage/ftp_spec.rb
|
187
|
+
- spec/configuration/storage/local_spec.rb
|
188
|
+
- spec/configuration/storage/ninefold_spec.rb
|
189
|
+
- spec/configuration/storage/rsync_spec.rb
|
190
|
+
- spec/configuration/storage/s3_spec.rb
|
191
|
+
- spec/configuration/storage/scp_spec.rb
|
192
|
+
- spec/configuration/storage/sftp_spec.rb
|
193
|
+
- spec/configuration/syncer/cloud_files_spec.rb
|
194
|
+
- spec/configuration/syncer/rsync/base_spec.rb
|
195
|
+
- spec/configuration/syncer/rsync/local_spec.rb
|
196
|
+
- spec/configuration/syncer/rsync/pull_spec.rb
|
197
|
+
- spec/configuration/syncer/rsync/push_spec.rb
|
198
|
+
- spec/configuration/syncer/s3_spec.rb
|
199
|
+
- spec/database/base_spec.rb
|
200
|
+
- spec/database/mongodb_spec.rb
|
201
|
+
- spec/database/mysql_spec.rb
|
202
|
+
- spec/database/postgresql_spec.rb
|
203
|
+
- spec/database/redis_spec.rb
|
204
|
+
- spec/database/riak_spec.rb
|
205
|
+
- spec/dependency_spec.rb
|
206
|
+
- spec/encryptor/base_spec.rb
|
207
|
+
- spec/encryptor/gpg_spec.rb
|
208
|
+
- spec/encryptor/open_ssl_spec.rb
|
209
|
+
- spec/errors_spec.rb
|
210
|
+
- spec/logger_spec.rb
|
211
|
+
- spec/model_spec.rb
|
212
|
+
- spec/notifier/base_spec.rb
|
213
|
+
- spec/notifier/campfire_spec.rb
|
214
|
+
- spec/notifier/hipchat_spec.rb
|
215
|
+
- spec/notifier/mail_spec.rb
|
216
|
+
- spec/notifier/presently_spec.rb
|
217
|
+
- spec/notifier/prowl_spec.rb
|
218
|
+
- spec/notifier/twitter_spec.rb
|
219
|
+
- spec/package_spec.rb
|
220
|
+
- spec/packager_spec.rb
|
221
|
+
- spec/pipeline_spec.rb
|
222
|
+
- spec/spec_helper.rb
|
223
|
+
- spec/splitter_spec.rb
|
224
|
+
- spec/storage/base_spec.rb
|
225
|
+
- spec/storage/cloudfiles_spec.rb
|
226
|
+
- spec/storage/cycler_spec.rb
|
227
|
+
- spec/storage/dropbox_spec.rb
|
228
|
+
- spec/storage/ftp_spec.rb
|
229
|
+
- spec/storage/local_spec.rb
|
230
|
+
- spec/storage/ninefold_spec.rb
|
231
|
+
- spec/storage/rsync_spec.rb
|
232
|
+
- spec/storage/s3_spec.rb
|
233
|
+
- spec/storage/scp_spec.rb
|
234
|
+
- spec/storage/sftp_spec.rb
|
235
|
+
- spec/syncer/base_spec.rb
|
236
|
+
- spec/syncer/cloud_files_spec.rb
|
237
|
+
- spec/syncer/rsync/base_spec.rb
|
238
|
+
- spec/syncer/rsync/local_spec.rb
|
239
|
+
- spec/syncer/rsync/pull_spec.rb
|
240
|
+
- spec/syncer/rsync/push_spec.rb
|
241
|
+
- spec/syncer/s3_spec.rb
|
242
|
+
- spec/version_spec.rb
|
243
|
+
- templates/cli/utility/archive
|
244
|
+
- templates/cli/utility/compressor/bzip2
|
245
|
+
- templates/cli/utility/compressor/gzip
|
246
|
+
- templates/cli/utility/compressor/lzma
|
247
|
+
- templates/cli/utility/compressor/pbzip2
|
248
|
+
- templates/cli/utility/config
|
249
|
+
- templates/cli/utility/database/mongodb
|
250
|
+
- templates/cli/utility/database/mysql
|
251
|
+
- templates/cli/utility/database/postgresql
|
252
|
+
- templates/cli/utility/database/redis
|
253
|
+
- templates/cli/utility/database/riak
|
254
|
+
- templates/cli/utility/encryptor/gpg
|
255
|
+
- templates/cli/utility/encryptor/openssl
|
256
|
+
- templates/cli/utility/model.erb
|
257
|
+
- templates/cli/utility/notifier/campfire
|
258
|
+
- templates/cli/utility/notifier/hipchat
|
259
|
+
- templates/cli/utility/notifier/mail
|
260
|
+
- templates/cli/utility/notifier/presently
|
261
|
+
- templates/cli/utility/notifier/prowl
|
262
|
+
- templates/cli/utility/notifier/twitter
|
263
|
+
- templates/cli/utility/splitter
|
264
|
+
- templates/cli/utility/storage/cloud_files
|
265
|
+
- templates/cli/utility/storage/dropbox
|
266
|
+
- templates/cli/utility/storage/ftp
|
267
|
+
- templates/cli/utility/storage/local
|
268
|
+
- templates/cli/utility/storage/ninefold
|
269
|
+
- templates/cli/utility/storage/rsync
|
270
|
+
- templates/cli/utility/storage/s3
|
271
|
+
- templates/cli/utility/storage/scp
|
272
|
+
- templates/cli/utility/storage/sftp
|
273
|
+
- templates/cli/utility/syncer/cloud_files
|
274
|
+
- templates/cli/utility/syncer/rsync_local
|
275
|
+
- templates/cli/utility/syncer/rsync_pull
|
276
|
+
- templates/cli/utility/syncer/rsync_push
|
277
|
+
- templates/cli/utility/syncer/s3
|
278
|
+
- templates/general/links
|
279
|
+
- templates/general/version.erb
|
280
|
+
- templates/notifier/mail/failure.erb
|
281
|
+
- templates/notifier/mail/success.erb
|
282
|
+
- templates/notifier/mail/warning.erb
|
283
|
+
- templates/storage/dropbox/authorization_url.erb
|
284
|
+
- templates/storage/dropbox/authorized.erb
|
285
|
+
- templates/storage/dropbox/cache_file_written.erb
|
286
|
+
homepage: http://rubygems.org/gems/backup_checksum
|
287
|
+
licenses: []
|
288
|
+
post_install_message:
|
289
|
+
rdoc_options: []
|
290
|
+
require_paths:
|
291
|
+
- lib
|
292
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
293
|
+
none: false
|
294
|
+
requirements:
|
295
|
+
- - ! '>='
|
296
|
+
- !ruby/object:Gem::Version
|
297
|
+
version: '0'
|
298
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
299
|
+
none: false
|
300
|
+
requirements:
|
301
|
+
- - ! '>='
|
302
|
+
- !ruby/object:Gem::Version
|
303
|
+
version: '0'
|
304
|
+
requirements: []
|
305
|
+
rubyforge_project:
|
306
|
+
rubygems_version: 1.8.10
|
307
|
+
signing_key:
|
308
|
+
specification_version: 3
|
309
|
+
summary: It is a clone of http://rubygems.org/gems/backup with checksum added
|
310
|
+
test_files: []
|
311
|
+
has_rdoc:
|