From: Silvio Rhatto Date: Mon, 10 Mar 2014 00:09:06 +0000 (-0300) Subject: Avoid backing up and copying the backups site X-Git-Tag: 0.2.2~59 X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=048e111c64459e33640b3030ad5f38ff05c6d41d;p=hydra.git Avoid backing up and copying the backups site --- diff --git a/share/hydractl/backup-copy-sites b/share/hydractl/backup-copy-sites index c6c9a1f..250b7a8 100755 --- a/share/hydractl/backup-copy-sites +++ b/share/hydractl/backup-copy-sites @@ -39,5 +39,9 @@ fi # Copy each site. for site in $sites; do + if [ "$site" == "backup" ]; then + continue + fi + hydractl backup-copy-site $SERVER $site done diff --git a/share/hydractl/backup-sites b/share/hydractl/backup-sites index 438564b..e75d72f 100755 --- a/share/hydractl/backup-sites +++ b/share/hydractl/backup-sites @@ -23,5 +23,9 @@ else fi for site in $sites; do + if [ "$site" == "backup" ]; then + continue + fi + hydractl backup-site $site done