diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2012-07-22 16:24:00 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2012-07-22 16:24:00 -0300 |
commit | d224c84e790c3e4486ffa9dc2a0e49627bb801e0 (patch) | |
tree | 467d3458c61f17332feef285df1156560f9dd1fd | |
parent | e86f4c78c00a091f913ff802e31fe3306c295fa6 (diff) | |
download | hydra-d224c84e790c3e4486ffa9dc2a0e49627bb801e0.tar.gz hydra-d224c84e790c3e4486ffa9dc2a0e49627bb801e0.tar.bz2 |
Setting BASEDIR at backup-restore-database
-rwxr-xr-x | share/hydractl/backup-restore-database | 1 |
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 |