We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent daf2eb2 commit 280e8ccCopy full SHA for 280e8cc
lib/heroku_mongo_backup.rb
@@ -151,7 +151,7 @@ def initialize
151
puts "Using databased: #{@url}"
152
153
self.db_connect
154
- if ENV['upload_type'] == 'ftp'
+ if ENV['UPLOAD_TYPE'] == 'ftp'
155
self.ftp_connect
156
else
157
self.s3_connect
@@ -161,7 +161,7 @@ def initialize
161
def backup backup_to = :s3
162
self.chdir
163
self.store
164
165
self.ftp_upload
166
@ftp.close
167
@@ -173,7 +173,7 @@ def restore file_name
173
@file_name = file_name
174
175
176
177
self.ftp_download
178
179
0 commit comments