Skip to content

Don't stop if database.sql.gz already exists

username-removed-5302 requested to merge overwrite-during-backup into master

The existing behavior of the backups is to overwrite whatever data was still there in the scratch directories. This broke when we added a 'gzip' step because 'gzip database.sql' will fail if 'database.sql.gz' already exists. Doing 'rm -f database.sql.gz' before the 'gzip' avoids this failure.

Merge request reports