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