From 78ea81afb6468b5eb2e9d15a5720df175c6dac61 Mon Sep 17 00:00:00 2001 From: Neil Lalonde Date: Tue, 22 Jul 2014 10:08:59 -0400 Subject: [PATCH] Revert "Pretend to allow full path to backup files". This breaks our jobs that backup to a full path. --- script/discourse | 2 -- 1 file changed, 2 deletions(-) diff --git a/script/discourse b/script/discourse index 0ce7fb2c1..b7bae9c9c 100755 --- a/script/discourse +++ b/script/discourse @@ -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"