From 11233840b1c822a323010c5f91f62389cc8e9368 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Tue, 27 Sep 2011 17:29:01 -0300 Subject: Support for restore method --- share/hydractl/backup-restore-site | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'share') diff --git a/share/hydractl/backup-restore-site b/share/hydractl/backup-restore-site index bf68779..16ebf93 100755 --- a/share/hydractl/backup-restore-site +++ b/share/hydractl/backup-restore-site @@ -8,7 +8,7 @@ source $APP_BASE/lib/hydra/functions || exit 1 hydra_config_load -SITE="$3" +SITE="$2" SITES="/var/sites" FOLDER="$SITES/$SITE" @@ -17,7 +17,7 @@ if [ -z "$SITE" ]; then exit 1 fi -hydra_backup_environment $* +hydra_backup_environment $1 restore # Check if folder exist on the backup if [ ! -d "$RESTOREDIR/$FOLDER" ]; then -- cgit v1.2.3