dmitryv-backup 2.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (59) hide show
  1. data/CHANGELOG +125 -0
  2. data/LICENSE +20 -0
  3. data/README.md +180 -0
  4. data/VERSION +1 -0
  5. data/bin/backup +108 -0
  6. data/generators/backup/backup_generator.rb +69 -0
  7. data/generators/backup/templates/backup.rake +56 -0
  8. data/generators/backup/templates/backup.rb +229 -0
  9. data/generators/backup/templates/create_backup_tables.rb +18 -0
  10. data/generators/backup_update/backup_update_generator.rb +50 -0
  11. data/generators/backup_update/templates/migrations/update_backup_tables.rb +27 -0
  12. data/lib/backup.rb +131 -0
  13. data/lib/backup/adapters/archive.rb +34 -0
  14. data/lib/backup/adapters/base.rb +138 -0
  15. data/lib/backup/adapters/custom.rb +41 -0
  16. data/lib/backup/adapters/mysql.rb +60 -0
  17. data/lib/backup/adapters/postgresql.rb +56 -0
  18. data/lib/backup/adapters/sqlite.rb +25 -0
  19. data/lib/backup/command_helper.rb +11 -0
  20. data/lib/backup/compressors/base.rb +7 -0
  21. data/lib/backup/compressors/gzip.rb +9 -0
  22. data/lib/backup/compressors/seven_zip.rb +9 -0
  23. data/lib/backup/configuration/adapter.rb +21 -0
  24. data/lib/backup/configuration/adapter_options.rb +8 -0
  25. data/lib/backup/configuration/attributes.rb +19 -0
  26. data/lib/backup/configuration/base.rb +77 -0
  27. data/lib/backup/configuration/helpers.rb +24 -0
  28. data/lib/backup/configuration/mail.rb +20 -0
  29. data/lib/backup/configuration/smtp.rb +8 -0
  30. data/lib/backup/configuration/storage.rb +8 -0
  31. data/lib/backup/connection/cloudfiles.rb +75 -0
  32. data/lib/backup/connection/s3.rb +85 -0
  33. data/lib/backup/environment/base.rb +12 -0
  34. data/lib/backup/environment/rails_configuration.rb +15 -0
  35. data/lib/backup/environment/unix_configuration.rb +109 -0
  36. data/lib/backup/mail/base.rb +97 -0
  37. data/lib/backup/mail/mail.txt +7 -0
  38. data/lib/backup/record/base.rb +65 -0
  39. data/lib/backup/record/cloudfiles.rb +28 -0
  40. data/lib/backup/record/ftp.rb +39 -0
  41. data/lib/backup/record/local.rb +26 -0
  42. data/lib/backup/record/s3.rb +26 -0
  43. data/lib/backup/record/scp.rb +33 -0
  44. data/lib/backup/record/sftp.rb +38 -0
  45. data/lib/backup/storage/base.rb +10 -0
  46. data/lib/backup/storage/cloudfiles.rb +16 -0
  47. data/lib/backup/storage/ftp.rb +38 -0
  48. data/lib/backup/storage/local.rb +22 -0
  49. data/lib/backup/storage/s3.rb +17 -0
  50. data/lib/backup/storage/scp.rb +30 -0
  51. data/lib/backup/storage/sftp.rb +31 -0
  52. data/lib/generators/backup/USAGE +10 -0
  53. data/lib/generators/backup/backup_generator.rb +47 -0
  54. data/lib/generators/backup/templates/backup.rake +56 -0
  55. data/lib/generators/backup/templates/backup.rb +229 -0
  56. data/lib/generators/backup/templates/create_backup_tables.rb +18 -0
  57. data/setup/backup.rb +231 -0
  58. data/setup/backup.sqlite3 +0 -0
  59. metadata +271 -0
Binary file
metadata ADDED
@@ -0,0 +1,271 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: dmitryv-backup
3
+ version: !ruby/object:Gem::Version
4
+ hash: 31
5
+ prerelease: false
6
+ segments:
7
+ - 2
8
+ - 4
9
+ - 0
10
+ version: 2.4.0
11
+ platform: ruby
12
+ authors:
13
+ - Michael van Rooijen
14
+ autorequire:
15
+ bindir: bin
16
+ cert_chain: []
17
+
18
+ date: 2010-09-25 00:00:00 -06:00
19
+ default_executable:
20
+ dependencies:
21
+ - !ruby/object:Gem::Dependency
22
+ name: s3
23
+ prerelease: false
24
+ requirement: &id001 !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ">="
28
+ - !ruby/object:Gem::Version
29
+ hash: 19
30
+ segments:
31
+ - 0
32
+ - 3
33
+ - 0
34
+ version: 0.3.0
35
+ type: :runtime
36
+ version_requirements: *id001
37
+ - !ruby/object:Gem::Dependency
38
+ name: net-ssh
39
+ prerelease: false
40
+ requirement: &id002 !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ">="
44
+ - !ruby/object:Gem::Version
45
+ hash: 17
46
+ segments:
47
+ - 2
48
+ - 0
49
+ - 15
50
+ version: 2.0.15
51
+ type: :runtime
52
+ version_requirements: *id002
53
+ - !ruby/object:Gem::Dependency
54
+ name: net-scp
55
+ prerelease: false
56
+ requirement: &id003 !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ hash: 19
62
+ segments:
63
+ - 1
64
+ - 0
65
+ - 2
66
+ version: 1.0.2
67
+ type: :runtime
68
+ version_requirements: *id003
69
+ - !ruby/object:Gem::Dependency
70
+ name: net-sftp
71
+ prerelease: false
72
+ requirement: &id004 !ruby/object:Gem::Requirement
73
+ none: false
74
+ requirements:
75
+ - - ">="
76
+ - !ruby/object:Gem::Version
77
+ hash: 7
78
+ segments:
79
+ - 2
80
+ - 0
81
+ - 4
82
+ version: 2.0.4
83
+ type: :runtime
84
+ version_requirements: *id004
85
+ - !ruby/object:Gem::Dependency
86
+ name: activerecord
87
+ prerelease: false
88
+ requirement: &id005 !ruby/object:Gem::Requirement
89
+ none: false
90
+ requirements:
91
+ - - ">="
92
+ - !ruby/object:Gem::Version
93
+ hash: 9
94
+ segments:
95
+ - 2
96
+ - 3
97
+ - 5
98
+ version: 2.3.5
99
+ type: :runtime
100
+ version_requirements: *id005
101
+ - !ruby/object:Gem::Dependency
102
+ name: sqlite3-ruby
103
+ prerelease: false
104
+ requirement: &id006 !ruby/object:Gem::Requirement
105
+ none: false
106
+ requirements:
107
+ - - ">="
108
+ - !ruby/object:Gem::Version
109
+ hash: 21
110
+ segments:
111
+ - 1
112
+ - 2
113
+ - 5
114
+ version: 1.2.5
115
+ type: :runtime
116
+ version_requirements: *id006
117
+ - !ruby/object:Gem::Dependency
118
+ name: hirb
119
+ prerelease: false
120
+ requirement: &id007 !ruby/object:Gem::Requirement
121
+ none: false
122
+ requirements:
123
+ - - ">="
124
+ - !ruby/object:Gem::Version
125
+ hash: 5
126
+ segments:
127
+ - 0
128
+ - 2
129
+ - 9
130
+ version: 0.2.9
131
+ type: :runtime
132
+ version_requirements: *id007
133
+ - !ruby/object:Gem::Dependency
134
+ name: pony
135
+ prerelease: false
136
+ requirement: &id008 !ruby/object:Gem::Requirement
137
+ none: false
138
+ requirements:
139
+ - - ">="
140
+ - !ruby/object:Gem::Version
141
+ hash: 1
142
+ segments:
143
+ - 0
144
+ - 5
145
+ version: "0.5"
146
+ type: :runtime
147
+ version_requirements: *id008
148
+ - !ruby/object:Gem::Dependency
149
+ name: cloudfiles
150
+ prerelease: false
151
+ requirement: &id009 !ruby/object:Gem::Requirement
152
+ none: false
153
+ requirements:
154
+ - - ">="
155
+ - !ruby/object:Gem::Version
156
+ hash: 9
157
+ segments:
158
+ - 1
159
+ - 4
160
+ - 7
161
+ version: 1.4.7
162
+ type: :runtime
163
+ version_requirements: *id009
164
+ description: |-
165
+ Backup is a Ruby Gem written for Unix and Ruby on Rails (2 and 3) environments. It can be used both with
166
+ and without the Ruby on Rails framework! This gem offers a quick and simple solution to backing up databases
167
+ such as MySQL/PostgreSQL/SQLite and Files/Folders. All backups can be transferred to Amazon S3, Rackspace Cloud Files,
168
+ any remote server you have access to (using either SCP, SFTP or regular FTP), or a Local server. Backup handles
169
+ Compression, Archiving, Encryption (OpenSSL or GPG), Backup Cleaning (Cycling) and supports Email Notifications.
170
+ email: meskyanichi@gmail.com
171
+ executables:
172
+ - backup
173
+ extensions: []
174
+
175
+ extra_rdoc_files: []
176
+
177
+ files:
178
+ - README.md
179
+ - CHANGELOG
180
+ - LICENSE
181
+ - VERSION
182
+ - lib/backup/adapters/archive.rb
183
+ - lib/backup/adapters/base.rb
184
+ - lib/backup/adapters/custom.rb
185
+ - lib/backup/adapters/mysql.rb
186
+ - lib/backup/adapters/postgresql.rb
187
+ - lib/backup/adapters/sqlite.rb
188
+ - lib/backup/command_helper.rb
189
+ - lib/backup/compressors/base.rb
190
+ - lib/backup/compressors/gzip.rb
191
+ - lib/backup/compressors/seven_zip.rb
192
+ - lib/backup/configuration/adapter.rb
193
+ - lib/backup/configuration/adapter_options.rb
194
+ - lib/backup/configuration/attributes.rb
195
+ - lib/backup/configuration/base.rb
196
+ - lib/backup/configuration/helpers.rb
197
+ - lib/backup/configuration/mail.rb
198
+ - lib/backup/configuration/smtp.rb
199
+ - lib/backup/configuration/storage.rb
200
+ - lib/backup/connection/cloudfiles.rb
201
+ - lib/backup/connection/s3.rb
202
+ - lib/backup/environment/base.rb
203
+ - lib/backup/environment/rails_configuration.rb
204
+ - lib/backup/environment/unix_configuration.rb
205
+ - lib/backup/mail/base.rb
206
+ - lib/backup/mail/mail.txt
207
+ - lib/backup/record/base.rb
208
+ - lib/backup/record/cloudfiles.rb
209
+ - lib/backup/record/ftp.rb
210
+ - lib/backup/record/local.rb
211
+ - lib/backup/record/s3.rb
212
+ - lib/backup/record/scp.rb
213
+ - lib/backup/record/sftp.rb
214
+ - lib/backup/storage/base.rb
215
+ - lib/backup/storage/cloudfiles.rb
216
+ - lib/backup/storage/ftp.rb
217
+ - lib/backup/storage/local.rb
218
+ - lib/backup/storage/s3.rb
219
+ - lib/backup/storage/scp.rb
220
+ - lib/backup/storage/sftp.rb
221
+ - lib/backup.rb
222
+ - lib/generators/backup/backup_generator.rb
223
+ - lib/generators/backup/templates/backup.rake
224
+ - lib/generators/backup/templates/backup.rb
225
+ - lib/generators/backup/templates/create_backup_tables.rb
226
+ - lib/generators/backup/USAGE
227
+ - bin/backup
228
+ - generators/backup/backup_generator.rb
229
+ - generators/backup/templates/backup.rake
230
+ - generators/backup/templates/backup.rb
231
+ - generators/backup/templates/create_backup_tables.rb
232
+ - generators/backup_update/backup_update_generator.rb
233
+ - generators/backup_update/templates/migrations/update_backup_tables.rb
234
+ - setup/backup.rb
235
+ - setup/backup.sqlite3
236
+ has_rdoc: true
237
+ homepage: http://github.com/meskyanichi/backup
238
+ licenses: []
239
+
240
+ post_install_message:
241
+ rdoc_options: []
242
+
243
+ require_paths:
244
+ - lib
245
+ required_ruby_version: !ruby/object:Gem::Requirement
246
+ none: false
247
+ requirements:
248
+ - - ">="
249
+ - !ruby/object:Gem::Version
250
+ hash: 3
251
+ segments:
252
+ - 0
253
+ version: "0"
254
+ required_rubygems_version: !ruby/object:Gem::Requirement
255
+ none: false
256
+ requirements:
257
+ - - ">="
258
+ - !ruby/object:Gem::Version
259
+ hash: 3
260
+ segments:
261
+ - 0
262
+ version: "0"
263
+ requirements: []
264
+
265
+ rubyforge_project:
266
+ rubygems_version: 1.3.7
267
+ signing_key:
268
+ specification_version: 3
269
+ summary: Backup is a Ruby Gem that simplifies making backups for databases, files and folders.
270
+ test_files: []
271
+