• Jacob Vosmaer's avatar
    Don't stop if database.sql.gz already exists · ab94ed08
    Jacob Vosmaer authored
    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.
    ab94ed08
database.rb 2.75 KB