aboutsummaryrefslogtreecommitdiff
path: root/share/hydractl
diff options
context:
space:
mode:
Diffstat (limited to 'share/hydractl')
-rwxr-xr-xshare/hydractl/backup-restore-database1
1 files changed, 1 insertions, 0 deletions
diff --git a/share/hydractl/backup-restore-database b/share/hydractl/backup-restore-database
index 9934c5b..996760a 100755
--- a/share/hydractl/backup-restore-database
+++ b/share/hydractl/backup-restore-database
@@ -24,6 +24,7 @@ hydra_config_load
DATE="`date +%Y%m%d`"
HOST="$1"
DATABASE="$2"
+BASEDIR="/tmp"
# Check restore strategy.
if [ "$HOST" == "localhost" ] || [ "$HOST" == "`facter hostname`" ]; then