FIX: Make sure constant reflects the right backup extenstion.

This commit is contained in:
Guo Xiang Tan
2016-08-24 10:28:23 +08:00
parent 2cb4cb7b72
commit 3e4b02bbd4
3 changed files with 6 additions and 5 deletions

View File

@@ -7,7 +7,8 @@ module BackupRestore
class OperationRunningError < RuntimeError; end
VERSION_PREFIX = "v".freeze
DUMP_FILE = "dump.sql"
DUMP_FILE = "dump.sql.gz".freeze
OLD_DUMP_FILE = "dump.sql".freeze
METADATA_FILE = "meta.json"
LOGS_CHANNEL = "/admin/backups/logs"