backup 2.4.1 → 2.4.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/README.md +7 -70
  2. data/VERSION +1 -1
  3. data/lib/backup/adapters/base.rb +2 -0
  4. metadata +45 -45
data/README.md CHANGED
@@ -32,9 +32,9 @@ __Backup__ is a Ruby Gem written for __Unix__ and __Ruby on Rails (2 and 3)__ en
32
32
 
33
33
  * Amazon S3
34
34
  * Rackspace Cloud Files
35
+ * Dropbox (Using your API key/secret from developers.dropbox.com)
35
36
  * Remote Server (Available Protocols: SCP, SFTP, FTP)
36
37
  * Local server (Example Locations: Another Hard Drive, Network path)
37
- * Dropbox (you should get your API key and secret at developers.dropbox.com)
38
38
 
39
39
  ### Adapters
40
40
 
@@ -62,8 +62,7 @@ With Backup you can very easily specify how many backups you would like to have
62
62
 
63
63
  ### Email Notifications
64
64
 
65
- You will be able to specify whether you would like to be notified by email when a backup successfully been stored.
66
- Simply fill in the email configuration block and set "notify" to true inside the backup procedure you would like to be notified of.
65
+ You will be able to specify whether you would like to be notified by email when a backup successfully been stored. Simply fill in the email configuration block and set "notify" to true inside the backup procedure you would like to be notified of.
67
66
 
68
67
  ### Quick Example of a Single Backup Setting/Procedure inside the Backup Configuration File
69
68
 
@@ -76,7 +75,7 @@ Simply fill in the email configuration block and set "notify" to true inside the
76
75
  storage :s3 do
77
76
  access_key_id 'access_key_id'
78
77
  secret_access_key 'secret_access_key'
79
- # host 's3-ap-southeast-1.amazonaws.com' #the s3 host. Defaults to s3.amazonaws.com
78
+ host 's3-ap-southeast-1.amazonaws.com'
80
79
  bucket '/bucket/backups/mysql/'
81
80
  use_ssl true
82
81
  end
@@ -98,73 +97,11 @@ __Unix Environment__
98
97
 
99
98
  That's it. This was a simple example of how it works.
100
99
 
101
- ## Interested in trying out Backup?
100
+ ## Want to take Backup for a spin?
102
101
 
103
- ### Getting started with Backup for the *Unix Environment*
102
+ ### Wiki Pages
104
103
 
105
- [http://wiki.github.com/meskyanichi/backup/getting-started-unix](http://wiki.github.com/meskyanichi/backup/getting-started-unix)
106
-
107
-
108
- ### Getting started with Backup for the *Rails Environment*
109
-
110
- [http://wiki.github.com/meskyanichi/backup/getting-started-ruby-on-rails](http://wiki.github.com/meskyanichi/backup/getting-started-ruby-on-rails)
111
-
112
-
113
- ### Production Mode __RAILS_ENV___
114
-
115
- [http://wiki.github.com/meskyanichi/backup/production-mode](http://wiki.github.com/meskyanichi/backup/production-mode)
116
-
117
-
118
- ### Encrypting and Decrypting
119
-
120
- [http://wiki.github.com/meskyanichi/backup/encrypting-and-decrypting](http://wiki.github.com/meskyanichi/backup/encrypting-and-decrypting)
121
-
122
-
123
- ### Backup Configuration File (All Adapters, Storage Methods, Mail Settings and Options)
124
-
125
- [http://wiki.github.com/meskyanichi/backup/configuration-file](http://wiki.github.com/meskyanichi/backup/configuration-file)
126
-
127
-
128
- ### Unix Utility Commands and Rails Rake Tasks
129
-
130
- [http://wiki.github.com/meskyanichi/backup/utility-commands](http://wiki.github.com/meskyanichi/backup/utility-commands)
131
-
132
- [http://wiki.github.com/meskyanichi/backup/rake-tasks](http://wiki.github.com/meskyanichi/backup/rake-tasks)
133
-
134
-
135
- ### Automatic Backups
136
-
137
- [http://wiki.github.com/meskyanichi/backup/automatic-backups](http://wiki.github.com/meskyanichi/backup/automatic-backups)
138
-
139
-
140
- ### Capistrano Recipes
141
-
142
- [http://wiki.github.com/meskyanichi/backup/capistrano-recipes](http://wiki.github.com/meskyanichi/backup/capistrano-recipes)
143
-
144
-
145
- ### Capistrano, Whenever!
146
-
147
- [http://wiki.github.com/meskyanichi/backup/capistrano-whenever](http://wiki.github.com/meskyanichi/backup/capistrano-whenever)
148
-
149
-
150
- ### Understanding "The Backup Database"
151
-
152
- [http://wiki.github.com/meskyanichi/backup/the-backup-database](http://wiki.github.com/meskyanichi/backup/the-backup-database)
153
-
154
-
155
- ### Trouble Shooting
156
-
157
- [http://wiki.github.com/meskyanichi/backup/troubleshooting](http://wiki.github.com/meskyanichi/backup/troubleshooting)
158
-
159
-
160
- ### Requirements
161
-
162
- [http://wiki.github.com/meskyanichi/backup/requirements](http://wiki.github.com/meskyanichi/backup/requirements)
163
-
164
-
165
- ### Resources
166
-
167
- [http://wiki.github.com/meskyanichi/backup/resources](http://wiki.github.com/meskyanichi/backup/resources)
104
+ [Check out our (15) helpful wiki pages](http://github.com/meskyanichi/backup/wiki)
168
105
 
169
106
 
170
107
  ### Requests
@@ -182,4 +119,4 @@ Send us a message! Fork the project!
182
119
  [Report it](http://github.com/meskyanichi/backup/issues)
183
120
 
184
121
 
185
- __Michael van Rooijen | Final Creation. ([http://michaelvanrooijen.com](http://michaelvanrooijen.com))__
122
+ __Michael van Rooijen | Final Creation. ([http://michaelvanrooijen.com/](http://michaelvanrooijen.com))__
data/VERSION CHANGED
@@ -1 +1 @@
1
- 2.4.1
1
+ 2.4.3
@@ -1,3 +1,5 @@
1
+ require 'tempfile'
2
+
1
3
  module Backup
2
4
  module Adapters
3
5
  class Base
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: backup
3
3
  version: !ruby/object:Gem::Version
4
- hash: 29
4
+ hash: 25
5
5
  prerelease: false
6
6
  segments:
7
7
  - 2
8
8
  - 4
9
- - 1
10
- version: 2.4.1
9
+ - 3
10
+ version: 2.4.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - Michael van Rooijen
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-10-17 00:00:00 +02:00
18
+ date: 2010-11-09 00:00:00 -02:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
@@ -211,59 +211,59 @@ files:
211
211
  - CHANGELOG
212
212
  - LICENSE
213
213
  - VERSION
214
- - lib/backup/adapters/archive.rb
215
- - lib/backup/adapters/base.rb
216
- - lib/backup/adapters/custom.rb
217
- - lib/backup/adapters/mongo_db.rb
218
- - lib/backup/adapters/mysql.rb
219
- - lib/backup/adapters/postgresql.rb
220
- - lib/backup/adapters/sqlite.rb
221
- - lib/backup/command_helper.rb
222
- - lib/backup/configuration/adapter.rb
223
- - lib/backup/configuration/adapter_options.rb
224
- - lib/backup/configuration/attributes.rb
225
- - lib/backup/configuration/base.rb
226
- - lib/backup/configuration/helpers.rb
227
- - lib/backup/configuration/mail.rb
228
- - lib/backup/configuration/smtp.rb
229
- - lib/backup/configuration/storage.rb
230
- - lib/backup/connection/cloudfiles.rb
231
- - lib/backup/connection/dropbox.rb
232
- - lib/backup/connection/s3.rb
233
- - lib/backup/environment/base.rb
234
- - lib/backup/environment/rails_configuration.rb
235
- - lib/backup/environment/unix_configuration.rb
236
- - lib/backup/mail/base.rb
237
- - lib/backup/mail/mail.txt
238
- - lib/backup/record/base.rb
239
- - lib/backup/record/cloudfiles.rb
214
+ - lib/generators/backup/templates/create_backup_tables.rb
215
+ - lib/generators/backup/templates/backup.rake
216
+ - lib/generators/backup/templates/backup.rb
217
+ - lib/generators/backup/backup_generator.rb
218
+ - lib/generators/backup/USAGE
240
219
  - lib/backup/record/dropbox.rb
241
- - lib/backup/record/ftp.rb
242
- - lib/backup/record/local.rb
243
220
  - lib/backup/record/s3.rb
244
221
  - lib/backup/record/scp.rb
222
+ - lib/backup/record/cloudfiles.rb
223
+ - lib/backup/record/base.rb
224
+ - lib/backup/record/ftp.rb
245
225
  - lib/backup/record/sftp.rb
246
- - lib/backup/storage/base.rb
247
- - lib/backup/storage/cloudfiles.rb
226
+ - lib/backup/record/local.rb
227
+ - lib/backup/connection/dropbox.rb
228
+ - lib/backup/connection/s3.rb
229
+ - lib/backup/connection/cloudfiles.rb
230
+ - lib/backup/mail/mail.txt
231
+ - lib/backup/mail/base.rb
232
+ - lib/backup/command_helper.rb
248
233
  - lib/backup/storage/dropbox.rb
249
- - lib/backup/storage/ftp.rb
250
- - lib/backup/storage/local.rb
251
234
  - lib/backup/storage/s3.rb
252
235
  - lib/backup/storage/scp.rb
236
+ - lib/backup/storage/cloudfiles.rb
237
+ - lib/backup/storage/base.rb
238
+ - lib/backup/storage/ftp.rb
253
239
  - lib/backup/storage/sftp.rb
240
+ - lib/backup/storage/local.rb
241
+ - lib/backup/environment/rails_configuration.rb
242
+ - lib/backup/environment/unix_configuration.rb
243
+ - lib/backup/environment/base.rb
244
+ - lib/backup/adapters/custom.rb
245
+ - lib/backup/adapters/postgresql.rb
246
+ - lib/backup/adapters/mysql.rb
247
+ - lib/backup/adapters/sqlite.rb
248
+ - lib/backup/adapters/archive.rb
249
+ - lib/backup/adapters/mongo_db.rb
250
+ - lib/backup/adapters/base.rb
251
+ - lib/backup/configuration/attributes.rb
252
+ - lib/backup/configuration/smtp.rb
253
+ - lib/backup/configuration/mail.rb
254
+ - lib/backup/configuration/adapter_options.rb
255
+ - lib/backup/configuration/storage.rb
256
+ - lib/backup/configuration/adapter.rb
257
+ - lib/backup/configuration/base.rb
258
+ - lib/backup/configuration/helpers.rb
254
259
  - lib/backup.rb
255
- - lib/generators/backup/backup_generator.rb
256
- - lib/generators/backup/templates/backup.rake
257
- - lib/generators/backup/templates/backup.rb
258
- - lib/generators/backup/templates/create_backup_tables.rb
259
- - lib/generators/backup/USAGE
260
260
  - bin/backup
261
- - generators/backup/backup_generator.rb
262
- - generators/backup/templates/backup.rake
263
- - generators/backup/templates/backup.rb
264
- - generators/backup/templates/create_backup_tables.rb
265
261
  - generators/backup_update/backup_update_generator.rb
266
262
  - generators/backup_update/templates/migrations/update_backup_tables.rb
263
+ - generators/backup/templates/create_backup_tables.rb
264
+ - generators/backup/templates/backup.rake
265
+ - generators/backup/templates/backup.rb
266
+ - generators/backup/backup_generator.rb
267
267
  - setup/backup.rb
268
268
  - setup/backup.sqlite3
269
269
  has_rdoc: true