From 3f397ff1575b79f74184302f3c3b8e549895f571 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Wed, 4 Jan 2012 18:43:33 -0200 Subject: Adding backup/copy sites; restoration fixes --- share/hydractl/backup-restore-site | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'share/hydractl/backup-restore-site') diff --git a/share/hydractl/backup-restore-site b/share/hydractl/backup-restore-site index ae8f87a..8f10225 100755 --- a/share/hydractl/backup-restore-site +++ b/share/hydractl/backup-restore-site @@ -21,9 +21,9 @@ fi # Check restore strategy. if [ "$1" == "backups" ]; then - hydra_backup_environment_local_website $2 restore + hydra_backup_environment_local_website $2 $3 elif [ "$1" == "localhost" ] || [ "$1" == "`facter hostname`" ]; then - hydra_backup_environment_local $2 restore + hydra_backup_environment_local else hydra_backup_environment_remote $1 restore fi -- cgit v1.2.3