Skip to content

Commit

Permalink
Save to backups dir
Browse files Browse the repository at this point in the history
  • Loading branch information
mataki committed Nov 17, 2011
1 parent c7101f1 commit 95c3b29
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/heroku_backup_task.rb
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ def execute_and_store_s3
unbackuped.each do |transfer|
download(transfer)

filename = backup_filename(transfer["to_url"])
send_s3(transfer)
end

Expand All @@ -60,7 +59,7 @@ def execute_and_store_s3

def backup_filename(to_url)
parts = to_url.split('/')
parts.last
["buckups", parts.last].join('/')
end

def transfering
Expand Down

0 comments on commit 95c3b29

Please sign in to comment.