Skip to content

Commit

Permalink
Delete backup file after uploading (#4893)
Browse files Browse the repository at this point in the history
  • Loading branch information
dorner authored Dec 31, 2024
1 parent 220af87 commit 1957a79
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/tasks/backup_db_rds.rake
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,5 @@ task :backup_db_rds => :environment do

logger.info("Uploading #{backup_filename}")
blob_client.create_block_blob("backups", backup_filename, File.read(backup_filename))
File.delete(backup_filename)
end

0 comments on commit 1957a79

Please sign in to comment.