mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-27 09:36:19 -05:00
Revert "Pretend to allow full path to backup files". This breaks our jobs that backup to a full path.
This commit is contained in:
parent
b3316b9f68
commit
78ea81afb6
1 changed files with 0 additions and 2 deletions
|
@ -40,7 +40,6 @@ WHERE table_schema='public' and (data_type like 'char%' or data_type like 'text%
|
|||
|
||||
desc "backup", "Backup a discourse forum"
|
||||
def backup(filename = nil)
|
||||
filename = File.basename(filename)
|
||||
load_rails
|
||||
require "backup_restore"
|
||||
require "export/exporter"
|
||||
|
@ -63,7 +62,6 @@ WHERE table_schema='public' and (data_type like 'char%' or data_type like 'text%
|
|||
|
||||
desc "restore", "Restore a Discourse backup"
|
||||
def restore(filename)
|
||||
filename = File.basename(filename)
|
||||
load_rails
|
||||
require "backup_restore"
|
||||
require "import/importer"
|
||||
|
|
Loading…
Reference in a new issue