FEATURE: Avoid creating an archive for database only backups.

This commit is contained in:
Guo Xiang Tan
2016-08-01 21:18:42 +08:00
parent 1ae625ec2e
commit 0a942dbc73
4 changed files with 62 additions and 45 deletions

View File

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