From: Robert Nelson Date: Wed, 25 Oct 2006 00:10:05 +0000 (+0000) Subject: Fix Windows version of catalog backup scripts. X-Git-Tag: Release-2.0.0~344 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=82a3f71e0585d01527612f7909208c9cea4767b4;p=bacula%2Fbacula Fix Windows version of catalog backup scripts. git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@3573 91ce42f0-d328-0410-95d8-f526ca767f89 --- diff --git a/bacula/src/win32/cats/delete_catalog_backup.cmd b/bacula/src/win32/cats/delete_catalog_backup.cmd index 6ff55912ac..f25a676da4 100644 --- a/bacula/src/win32/cats/delete_catalog_backup.cmd +++ b/bacula/src/win32/cats/delete_catalog_backup.cmd @@ -1,4 +1,4 @@ rem rem This script deletes a catalog dump rem -del /f %WORKING_DIR%/bacula.sql +del /f "@working_dir_cmd@\bacula.sql" diff --git a/bacula/src/win32/cats/make_catalog_backup.cmd b/bacula/src/win32/cats/make_catalog_backup.cmd index 29cee07d38..ef0cdea713 100644 --- a/bacula/src/win32/cats/make_catalog_backup.cmd +++ b/bacula/src/win32/cats/make_catalog_backup.cmd @@ -13,7 +13,7 @@ rem rem @echo on -cd @working_dir@ +cd @working_dir_cmd@ del /f bacula.sql 2>nul set MYSQLPASSWORD= @@ -24,18 +24,18 @@ if not "%3"=="" set MYSQLPASSWORD=--password=%3 @echo off rem rem To read back a MySQL database use: -rem cd @working_dir@ -rem rd /s /q -f @SQL_BINDIR@\..\data\bacula -rem mysql