aboutsummaryrefslogtreecommitdiff
path: root/share/hydractl/backup-copy-sites
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2014-03-09 21:09:06 -0300
committerSilvio Rhatto <rhatto@riseup.net>2014-03-09 21:09:06 -0300
commit048e111c64459e33640b3030ad5f38ff05c6d41d (patch)
tree55144e4415ed604663c2fba0d54f8894689f5af6 /share/hydractl/backup-copy-sites
parent4929f0e5487243f23a736e1c2bc2cd76c4f6ba95 (diff)
downloadhydra-048e111c64459e33640b3030ad5f38ff05c6d41d.tar.gz
hydra-048e111c64459e33640b3030ad5f38ff05c6d41d.tar.bz2
Avoid backing up and copying the backups site
Diffstat (limited to 'share/hydractl/backup-copy-sites')
-rwxr-xr-xshare/hydractl/backup-copy-sites4
1 files changed, 4 insertions, 0 deletions
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