]> gitweb.fluxo.info Git - hydra.git/commitdiff
Avoid backing up and copying the backups site
authorSilvio Rhatto <rhatto@riseup.net>
Mon, 10 Mar 2014 00:09:06 +0000 (21:09 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Mon, 10 Mar 2014 00:09:06 +0000 (21:09 -0300)
share/hydractl/backup-copy-sites
share/hydractl/backup-sites

index c6c9a1fd322c3fdc0f085b3d5acb940debbea147..250b7a81d9cf192d891237cdd23f2bd1182ace3a 100755 (executable)
@@ -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
index 438564b222e613e656687860eeef4b9431d42e13..e75d72f2601205af92ce96cf1b2b483b38be286c 100755 (executable)
@@ -23,5 +23,9 @@ else
 fi
 
 for site in $sites; do
+  if [ "$site" == "backup" ]; then
+    continue
+  fi
+
   hydractl backup-site $site
 done