backup_zh 4.0.3.1 → 4.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +15 -7
- data/lib/backup.rb +6 -0
- data/lib/backup/cli.rb +10 -0
- data/lib/backup/config/dsl.rb +3 -3
- data/lib/backup/database/mysql.rb +17 -6
- data/lib/backup/database/postgresql.rb +2 -2
- data/lib/backup/database/sqlite.rb +57 -0
- data/lib/backup/encryptor/open_ssl.rb +7 -2
- data/lib/backup/model.rb +26 -1
- data/lib/backup/notifier/base.rb +30 -0
- data/lib/backup/notifier/campfire.rb +1 -7
- data/lib/backup/notifier/command.rb +99 -0
- data/lib/backup/notifier/datadog.rb +107 -0
- data/lib/backup/notifier/flowdock.rb +6 -5
- data/lib/backup/notifier/hipchat.rb +27 -8
- data/lib/backup/notifier/http_post.rb +2 -7
- data/lib/backup/notifier/mail.rb +19 -10
- data/lib/backup/notifier/nagios.rb +3 -8
- data/lib/backup/notifier/pagerduty.rb +81 -0
- data/lib/backup/notifier/prowl.rb +8 -9
- data/lib/backup/notifier/pushover.rb +1 -7
- data/lib/backup/notifier/ses.rb +88 -0
- data/lib/backup/notifier/slack.rb +7 -17
- data/lib/backup/notifier/twitter.rb +1 -7
- data/lib/backup/notifier/zabbix.rb +1 -6
- data/lib/backup/package.rb +4 -0
- data/lib/backup/packager.rb +8 -2
- data/lib/backup/storage/base.rb +15 -3
- data/lib/backup/storage/cycler.rb +24 -14
- data/lib/backup/storage/ftp.rb +15 -1
- data/lib/backup/storage/s3.rb +2 -1
- data/lib/backup/syncer/base.rb +2 -2
- data/lib/backup/version.rb +1 -1
- data/templates/cli/config +2 -2
- data/templates/cli/databases/sqlite +11 -0
- data/templates/cli/model +1 -1
- data/templates/cli/notifiers/command +32 -0
- data/templates/cli/notifiers/datadog +57 -0
- data/templates/cli/notifiers/hipchat +1 -0
- data/templates/cli/notifiers/mail +3 -0
- data/templates/cli/notifiers/pagerduty +12 -0
- data/templates/cli/notifiers/ses +15 -0
- data/templates/cli/notifiers/slack +3 -4
- data/templates/cli/storages/dropbox +1 -0
- data/templates/cli/storages/ftp +1 -0
- data/templates/cli/storages/local +1 -0
- data/templates/cli/storages/ninefold +1 -0
- data/templates/cli/storages/s3 +2 -0
- data/templates/cli/storages/scp +1 -0
- data/templates/cli/storages/sftp +1 -0
- data/templates/general/links +3 -3
- metadata +53 -136
data/templates/cli/storages/ftp
CHANGED
data/templates/cli/storages/s3
CHANGED
data/templates/cli/storages/scp
CHANGED
data/templates/cli/storages/sftp
CHANGED
data/templates/general/links
CHANGED
@@ -1,3 +1,3 @@
|
|
1
|
-
Project Home: https://github.com/
|
2
|
-
Documentation: http://
|
3
|
-
Issue Tracker: https://github.com/
|
1
|
+
Project Home: https://github.com/backup/backup
|
2
|
+
Documentation: http://backup.github.io/backup
|
3
|
+
Issue Tracker: https://github.com/backup/backup/issues
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: backup_zh
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.0
|
4
|
+
version: 4.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael van Rooijen
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2015-10-08 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: addressable
|
@@ -40,89 +40,89 @@ dependencies:
|
|
40
40
|
- !ruby/object:Gem::Version
|
41
41
|
version: 1.1.14
|
42
42
|
- !ruby/object:Gem::Dependency
|
43
|
-
name:
|
43
|
+
name: aws-ses
|
44
44
|
requirement: !ruby/object:Gem::Requirement
|
45
45
|
requirements:
|
46
46
|
- - '='
|
47
47
|
- !ruby/object:Gem::Version
|
48
|
-
version: 0.
|
48
|
+
version: 0.6.0
|
49
49
|
type: :runtime
|
50
50
|
prerelease: false
|
51
51
|
version_requirements: !ruby/object:Gem::Requirement
|
52
52
|
requirements:
|
53
53
|
- - '='
|
54
54
|
- !ruby/object:Gem::Version
|
55
|
-
version: 0.
|
55
|
+
version: 0.6.0
|
56
56
|
- !ruby/object:Gem::Dependency
|
57
|
-
name:
|
57
|
+
name: buftok
|
58
58
|
requirement: !ruby/object:Gem::Requirement
|
59
59
|
requirements:
|
60
60
|
- - '='
|
61
61
|
- !ruby/object:Gem::Version
|
62
|
-
version:
|
62
|
+
version: 0.2.0
|
63
63
|
type: :runtime
|
64
64
|
prerelease: false
|
65
65
|
version_requirements: !ruby/object:Gem::Requirement
|
66
66
|
requirements:
|
67
67
|
- - '='
|
68
68
|
- !ruby/object:Gem::Version
|
69
|
-
version:
|
69
|
+
version: 0.2.0
|
70
70
|
- !ruby/object:Gem::Dependency
|
71
|
-
name:
|
71
|
+
name: builder
|
72
72
|
requirement: !ruby/object:Gem::Requirement
|
73
73
|
requirements:
|
74
74
|
- - '='
|
75
75
|
- !ruby/object:Gem::Version
|
76
|
-
version:
|
76
|
+
version: 3.2.2
|
77
77
|
type: :runtime
|
78
78
|
prerelease: false
|
79
79
|
version_requirements: !ruby/object:Gem::Requirement
|
80
80
|
requirements:
|
81
81
|
- - '='
|
82
82
|
- !ruby/object:Gem::Version
|
83
|
-
version:
|
83
|
+
version: 3.2.2
|
84
84
|
- !ruby/object:Gem::Dependency
|
85
|
-
name:
|
85
|
+
name: descendants_tracker
|
86
86
|
requirement: !ruby/object:Gem::Requirement
|
87
87
|
requirements:
|
88
88
|
- - '='
|
89
89
|
- !ruby/object:Gem::Version
|
90
|
-
version:
|
90
|
+
version: 0.0.3
|
91
91
|
type: :runtime
|
92
92
|
prerelease: false
|
93
93
|
version_requirements: !ruby/object:Gem::Requirement
|
94
94
|
requirements:
|
95
95
|
- - '='
|
96
96
|
- !ruby/object:Gem::Version
|
97
|
-
version:
|
97
|
+
version: 0.0.3
|
98
98
|
- !ruby/object:Gem::Dependency
|
99
|
-
name:
|
99
|
+
name: diff-lcs
|
100
100
|
requirement: !ruby/object:Gem::Requirement
|
101
101
|
requirements:
|
102
102
|
- - '='
|
103
103
|
- !ruby/object:Gem::Version
|
104
|
-
version:
|
104
|
+
version: 1.2.5
|
105
105
|
type: :runtime
|
106
106
|
prerelease: false
|
107
107
|
version_requirements: !ruby/object:Gem::Requirement
|
108
108
|
requirements:
|
109
109
|
- - '='
|
110
110
|
- !ruby/object:Gem::Version
|
111
|
-
version:
|
111
|
+
version: 1.2.5
|
112
112
|
- !ruby/object:Gem::Dependency
|
113
|
-
name:
|
113
|
+
name: dogapi
|
114
114
|
requirement: !ruby/object:Gem::Requirement
|
115
115
|
requirements:
|
116
116
|
- - '='
|
117
117
|
- !ruby/object:Gem::Version
|
118
|
-
version: 1.
|
118
|
+
version: 1.20.0
|
119
119
|
type: :runtime
|
120
120
|
prerelease: false
|
121
121
|
version_requirements: !ruby/object:Gem::Requirement
|
122
122
|
requirements:
|
123
123
|
- - '='
|
124
124
|
- !ruby/object:Gem::Version
|
125
|
-
version: 1.
|
125
|
+
version: 1.20.0
|
126
126
|
- !ruby/object:Gem::Dependency
|
127
127
|
name: dropbox-sdk
|
128
128
|
requirement: !ruby/object:Gem::Requirement
|
@@ -249,34 +249,6 @@ dependencies:
|
|
249
249
|
- - '='
|
250
250
|
- !ruby/object:Gem::Version
|
251
251
|
version: 1.3.2
|
252
|
-
- !ruby/object:Gem::Dependency
|
253
|
-
name: guard
|
254
|
-
requirement: !ruby/object:Gem::Requirement
|
255
|
-
requirements:
|
256
|
-
- - '='
|
257
|
-
- !ruby/object:Gem::Version
|
258
|
-
version: 2.2.5
|
259
|
-
type: :runtime
|
260
|
-
prerelease: false
|
261
|
-
version_requirements: !ruby/object:Gem::Requirement
|
262
|
-
requirements:
|
263
|
-
- - '='
|
264
|
-
- !ruby/object:Gem::Version
|
265
|
-
version: 2.2.5
|
266
|
-
- !ruby/object:Gem::Dependency
|
267
|
-
name: guard-rspec
|
268
|
-
requirement: !ruby/object:Gem::Requirement
|
269
|
-
requirements:
|
270
|
-
- - '='
|
271
|
-
- !ruby/object:Gem::Version
|
272
|
-
version: 4.2.3
|
273
|
-
type: :runtime
|
274
|
-
prerelease: false
|
275
|
-
version_requirements: !ruby/object:Gem::Requirement
|
276
|
-
requirements:
|
277
|
-
- - '='
|
278
|
-
- !ruby/object:Gem::Version
|
279
|
-
version: 4.2.3
|
280
252
|
- !ruby/object:Gem::Dependency
|
281
253
|
name: hipchat
|
282
254
|
requirement: !ruby/object:Gem::Requirement
|
@@ -347,34 +319,6 @@ dependencies:
|
|
347
319
|
- - '='
|
348
320
|
- !ruby/object:Gem::Version
|
349
321
|
version: 1.8.1
|
350
|
-
- !ruby/object:Gem::Dependency
|
351
|
-
name: listen
|
352
|
-
requirement: !ruby/object:Gem::Requirement
|
353
|
-
requirements:
|
354
|
-
- - '='
|
355
|
-
- !ruby/object:Gem::Version
|
356
|
-
version: 2.4.0
|
357
|
-
type: :runtime
|
358
|
-
prerelease: false
|
359
|
-
version_requirements: !ruby/object:Gem::Requirement
|
360
|
-
requirements:
|
361
|
-
- - '='
|
362
|
-
- !ruby/object:Gem::Version
|
363
|
-
version: 2.4.0
|
364
|
-
- !ruby/object:Gem::Dependency
|
365
|
-
name: lumberjack
|
366
|
-
requirement: !ruby/object:Gem::Requirement
|
367
|
-
requirements:
|
368
|
-
- - '='
|
369
|
-
- !ruby/object:Gem::Version
|
370
|
-
version: 1.0.4
|
371
|
-
type: :runtime
|
372
|
-
prerelease: false
|
373
|
-
version_requirements: !ruby/object:Gem::Requirement
|
374
|
-
requirements:
|
375
|
-
- - '='
|
376
|
-
- !ruby/object:Gem::Version
|
377
|
-
version: 1.0.4
|
378
322
|
- !ruby/object:Gem::Dependency
|
379
323
|
name: mail
|
380
324
|
requirement: !ruby/object:Gem::Requirement
|
@@ -417,20 +361,6 @@ dependencies:
|
|
417
361
|
- - '='
|
418
362
|
- !ruby/object:Gem::Version
|
419
363
|
version: 0.0.1
|
420
|
-
- !ruby/object:Gem::Dependency
|
421
|
-
name: method_source
|
422
|
-
requirement: !ruby/object:Gem::Requirement
|
423
|
-
requirements:
|
424
|
-
- - '='
|
425
|
-
- !ruby/object:Gem::Version
|
426
|
-
version: 0.8.2
|
427
|
-
type: :runtime
|
428
|
-
prerelease: false
|
429
|
-
version_requirements: !ruby/object:Gem::Requirement
|
430
|
-
requirements:
|
431
|
-
- - '='
|
432
|
-
- !ruby/object:Gem::Version
|
433
|
-
version: 0.8.2
|
434
364
|
- !ruby/object:Gem::Dependency
|
435
365
|
name: mime-types
|
436
366
|
requirement: !ruby/object:Gem::Requirement
|
@@ -600,33 +530,33 @@ dependencies:
|
|
600
530
|
- !ruby/object:Gem::Version
|
601
531
|
version: 1.3.0
|
602
532
|
- !ruby/object:Gem::Dependency
|
603
|
-
name:
|
533
|
+
name: pagerduty
|
604
534
|
requirement: !ruby/object:Gem::Requirement
|
605
535
|
requirements:
|
606
536
|
- - '='
|
607
537
|
- !ruby/object:Gem::Version
|
608
|
-
version: 0.
|
538
|
+
version: 2.0.1
|
609
539
|
type: :runtime
|
610
540
|
prerelease: false
|
611
541
|
version_requirements: !ruby/object:Gem::Requirement
|
612
542
|
requirements:
|
613
543
|
- - '='
|
614
544
|
- !ruby/object:Gem::Version
|
615
|
-
version: 0.
|
545
|
+
version: 2.0.1
|
616
546
|
- !ruby/object:Gem::Dependency
|
617
|
-
name:
|
547
|
+
name: polyglot
|
618
548
|
requirement: !ruby/object:Gem::Requirement
|
619
549
|
requirements:
|
620
550
|
- - '='
|
621
551
|
- !ruby/object:Gem::Version
|
622
|
-
version: 0.
|
552
|
+
version: 0.3.3
|
623
553
|
type: :runtime
|
624
554
|
prerelease: false
|
625
555
|
version_requirements: !ruby/object:Gem::Requirement
|
626
556
|
requirements:
|
627
557
|
- - '='
|
628
558
|
- !ruby/object:Gem::Version
|
629
|
-
version: 0.
|
559
|
+
version: 0.3.3
|
630
560
|
- !ruby/object:Gem::Dependency
|
631
561
|
name: qiniu
|
632
562
|
requirement: !ruby/object:Gem::Requirement
|
@@ -809,20 +739,6 @@ dependencies:
|
|
809
739
|
- - '='
|
810
740
|
- !ruby/object:Gem::Version
|
811
741
|
version: 0.2.0
|
812
|
-
- !ruby/object:Gem::Dependency
|
813
|
-
name: slop
|
814
|
-
requirement: !ruby/object:Gem::Requirement
|
815
|
-
requirements:
|
816
|
-
- - '='
|
817
|
-
- !ruby/object:Gem::Version
|
818
|
-
version: 3.4.7
|
819
|
-
type: :runtime
|
820
|
-
prerelease: false
|
821
|
-
version_requirements: !ruby/object:Gem::Requirement
|
822
|
-
requirements:
|
823
|
-
- - '='
|
824
|
-
- !ruby/object:Gem::Version
|
825
|
-
version: 3.4.7
|
826
742
|
- !ruby/object:Gem::Dependency
|
827
743
|
name: thor
|
828
744
|
requirement: !ruby/object:Gem::Requirement
|
@@ -865,20 +781,6 @@ dependencies:
|
|
865
781
|
- - '='
|
866
782
|
- !ruby/object:Gem::Version
|
867
783
|
version: 0.7.1
|
868
|
-
- !ruby/object:Gem::Dependency
|
869
|
-
name: timers
|
870
|
-
requirement: !ruby/object:Gem::Requirement
|
871
|
-
requirements:
|
872
|
-
- - '='
|
873
|
-
- !ruby/object:Gem::Version
|
874
|
-
version: 1.1.0
|
875
|
-
type: :runtime
|
876
|
-
prerelease: false
|
877
|
-
version_requirements: !ruby/object:Gem::Requirement
|
878
|
-
requirements:
|
879
|
-
- - '='
|
880
|
-
- !ruby/object:Gem::Version
|
881
|
-
version: 1.1.0
|
882
784
|
- !ruby/object:Gem::Dependency
|
883
785
|
name: treetop
|
884
786
|
requirement: !ruby/object:Gem::Requirement
|
@@ -935,6 +837,20 @@ dependencies:
|
|
935
837
|
- - '='
|
936
838
|
- !ruby/object:Gem::Version
|
937
839
|
version: 0.0.6
|
840
|
+
- !ruby/object:Gem::Dependency
|
841
|
+
name: xml-simple
|
842
|
+
requirement: !ruby/object:Gem::Requirement
|
843
|
+
requirements:
|
844
|
+
- - '='
|
845
|
+
- !ruby/object:Gem::Version
|
846
|
+
version: 1.1.5
|
847
|
+
type: :runtime
|
848
|
+
prerelease: false
|
849
|
+
version_requirements: !ruby/object:Gem::Requirement
|
850
|
+
requirements:
|
851
|
+
- - '='
|
852
|
+
- !ruby/object:Gem::Version
|
853
|
+
version: 1.1.5
|
938
854
|
- !ruby/object:Gem::Dependency
|
939
855
|
name: yard
|
940
856
|
requirement: !ruby/object:Gem::Requirement
|
@@ -988,6 +904,7 @@ files:
|
|
988
904
|
- lib/backup/database/postgresql.rb
|
989
905
|
- lib/backup/database/redis.rb
|
990
906
|
- lib/backup/database/riak.rb
|
907
|
+
- lib/backup/database/sqlite.rb
|
991
908
|
- lib/backup/encryptor/base.rb
|
992
909
|
- lib/backup/encryptor/gpg.rb
|
993
910
|
- lib/backup/encryptor/open_ssl.rb
|
@@ -1000,13 +917,17 @@ files:
|
|
1000
917
|
- lib/backup/model.rb
|
1001
918
|
- lib/backup/notifier/base.rb
|
1002
919
|
- lib/backup/notifier/campfire.rb
|
920
|
+
- lib/backup/notifier/command.rb
|
921
|
+
- lib/backup/notifier/datadog.rb
|
1003
922
|
- lib/backup/notifier/flowdock.rb
|
1004
923
|
- lib/backup/notifier/hipchat.rb
|
1005
924
|
- lib/backup/notifier/http_post.rb
|
1006
925
|
- lib/backup/notifier/mail.rb
|
1007
926
|
- lib/backup/notifier/nagios.rb
|
927
|
+
- lib/backup/notifier/pagerduty.rb
|
1008
928
|
- lib/backup/notifier/prowl.rb
|
1009
929
|
- lib/backup/notifier/pushover.rb
|
930
|
+
- lib/backup/notifier/ses.rb
|
1010
931
|
- lib/backup/notifier/slack.rb
|
1011
932
|
- lib/backup/notifier/twitter.rb
|
1012
933
|
- lib/backup/notifier/zabbix.rb
|
@@ -1049,18 +970,23 @@ files:
|
|
1049
970
|
- templates/cli/databases/postgresql
|
1050
971
|
- templates/cli/databases/redis
|
1051
972
|
- templates/cli/databases/riak
|
973
|
+
- templates/cli/databases/sqlite
|
1052
974
|
- templates/cli/encryptor/gpg
|
1053
975
|
- templates/cli/encryptor/openssl
|
1054
976
|
- templates/cli/model
|
1055
977
|
- templates/cli/notifier/zabbix
|
1056
978
|
- templates/cli/notifiers/campfire
|
979
|
+
- templates/cli/notifiers/command
|
980
|
+
- templates/cli/notifiers/datadog
|
1057
981
|
- templates/cli/notifiers/flowdock
|
1058
982
|
- templates/cli/notifiers/hipchat
|
1059
983
|
- templates/cli/notifiers/http_post
|
1060
984
|
- templates/cli/notifiers/mail
|
1061
985
|
- templates/cli/notifiers/nagios
|
986
|
+
- templates/cli/notifiers/pagerduty
|
1062
987
|
- templates/cli/notifiers/prowl
|
1063
988
|
- templates/cli/notifiers/pushover
|
989
|
+
- templates/cli/notifiers/ses
|
1064
990
|
- templates/cli/notifiers/slack
|
1065
991
|
- templates/cli/notifiers/twitter
|
1066
992
|
- templates/cli/splitter
|
@@ -1091,16 +1017,7 @@ homepage: https://github.com/zires/backup/tree/qi_niu
|
|
1091
1017
|
licenses:
|
1092
1018
|
- MIT
|
1093
1019
|
metadata: {}
|
1094
|
-
post_install_message:
|
1095
|
-
|
1096
|
-
Thank you for installing Backup!
|
1097
|
-
|
1098
|
-
See the Release Notes for changes in this version:
|
1099
|
-
http://meskyanichi.github.io/backup/v4/release-notes
|
1100
|
-
|
1101
|
-
If you're upgrading from v3.x, be sure to read:
|
1102
|
-
http://meskyanichi.github.io/backup/v4/upgrading
|
1103
|
-
|
1020
|
+
post_install_message:
|
1104
1021
|
rdoc_options: []
|
1105
1022
|
require_paths:
|
1106
1023
|
- lib
|
@@ -1108,7 +1025,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
1108
1025
|
requirements:
|
1109
1026
|
- - ">="
|
1110
1027
|
- !ruby/object:Gem::Version
|
1111
|
-
version:
|
1028
|
+
version: '2.0'
|
1112
1029
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
1113
1030
|
requirements:
|
1114
1031
|
- - ">="
|
@@ -1116,7 +1033,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
1116
1033
|
version: '0'
|
1117
1034
|
requirements: []
|
1118
1035
|
rubyforge_project:
|
1119
|
-
rubygems_version: 2.
|
1036
|
+
rubygems_version: 2.4.5
|
1120
1037
|
signing_key:
|
1121
1038
|
specification_version: 4
|
1122
1039
|
summary: Fork form https://github.com/meskyanichi/backup and add Qiniu storage support.
|