aboutsummaryrefslogtreecommitdiff
path: root/share/hydractl/backup-restore-gitosis
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2012-01-04 18:43:33 -0200
committerSilvio Rhatto <rhatto@riseup.net>2012-01-04 18:43:33 -0200
commit3f397ff1575b79f74184302f3c3b8e549895f571 (patch)
tree345e49f8b0e146e48b9a06db73258d8e88305822 /share/hydractl/backup-restore-gitosis
parent26cbb26cebd495fd6260b6af65b37fe5c8a8c00b (diff)
downloadhydra-3f397ff1575b79f74184302f3c3b8e549895f571.tar.gz
hydra-3f397ff1575b79f74184302f3c3b8e549895f571.tar.bz2
Adding backup/copy sites; restoration fixes
Diffstat (limited to 'share/hydractl/backup-restore-gitosis')
-rwxr-xr-xshare/hydractl/backup-restore-gitosis2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/hydractl/backup-restore-gitosis b/share/hydractl/backup-restore-gitosis
index f569a8e..f8b9ea3 100755
--- a/share/hydractl/backup-restore-gitosis
+++ b/share/hydractl/backup-restore-gitosis
@@ -12,7 +12,7 @@ DATE="`date +%Y%m%d`"
# Check restore strategy.
if [ "$1" == "localhost" ] || [ "$1" == "`facter hostname`" ]; then
- hydra_backup_environment_local $2 restore
+ hydra_backup_environment_local
else
hydra_backup_environment_remote $1 restore
fi