]> gitweb.fluxo.info Git - hydra.git/commitdiff
Setting BASEDIR at backup-restore-database
authorSilvio Rhatto <rhatto@riseup.net>
Sun, 22 Jul 2012 19:24:00 +0000 (16:24 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Sun, 22 Jul 2012 19:24:00 +0000 (16:24 -0300)
share/hydractl/backup-restore-database

index 9934c5bb0f40e426177cd2a3feab60d6429b6764..996760a7ab468a7d86f14c5564851a5703244f0f 100755 (executable)
@@ -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