diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2012-01-04 18:43:33 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2012-01-04 18:43:33 -0200 |
commit | 3f397ff1575b79f74184302f3c3b8e549895f571 (patch) | |
tree | 345e49f8b0e146e48b9a06db73258d8e88305822 /share/hydractl/backup-restore-site | |
parent | 26cbb26cebd495fd6260b6af65b37fe5c8a8c00b (diff) | |
download | hydra-3f397ff1575b79f74184302f3c3b8e549895f571.tar.gz hydra-3f397ff1575b79f74184302f3c3b8e549895f571.tar.bz2 |
Adding backup/copy sites; restoration fixes
Diffstat (limited to 'share/hydractl/backup-restore-site')
-rwxr-xr-x | share/hydractl/backup-restore-site | 4 |
1 files changed, 2 insertions, 2 deletions
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 |