aboutsummaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2012-07-22 16:24:00 -0300
committerSilvio Rhatto <rhatto@riseup.net>2012-07-22 16:24:00 -0300
commitd224c84e790c3e4486ffa9dc2a0e49627bb801e0 (patch)
tree467d3458c61f17332feef285df1156560f9dd1fd /share
parente86f4c78c00a091f913ff802e31fe3306c295fa6 (diff)
downloadhydra-d224c84e790c3e4486ffa9dc2a0e49627bb801e0.tar.gz
hydra-d224c84e790c3e4486ffa9dc2a0e49627bb801e0.tar.bz2
Setting BASEDIR at backup-restore-database
Diffstat (limited to 'share')
-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