diff --git a/lib/tasks/backup_db_rds.rake b/lib/tasks/backup_db_rds.rake index 272bd8ef9d..3abc59f6f5 100644 --- a/lib/tasks/backup_db_rds.rake +++ b/lib/tasks/backup_db_rds.rake @@ -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