[PATCH] Removing db2 from commit list
Mike McGrath
mmcgrath at redhat.com
Thu Apr 8 20:54:50 UTC 2010
This still causes our db backups to go to multiple locations. Just one fewer then before
db02 is having problems keeping up and it's causing issues to our web services layer
in particular with fas.
Very low risk, very easy to revert. Can I get 2 +1's?
---
configs/db/backup-dbs | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/configs/db/backup-dbs b/configs/db/backup-dbs
index cc1bd09..07486ff 100755
--- a/configs/db/backup-dbs
+++ b/configs/db/backup-dbs
@@ -19,7 +19,7 @@ chown -R dbbackup:dbbackup $DEST/$HOSTNAME.new
mv $DEST/$HOSTNAME.new $DEST/$HOSTNAME
# Sync out
-for host in db01 db02 db03; do
+for host in db01 db03; do
# Sleep if any other rsyncs are already
while su - dbbackup -c "ssh $host 'pgrep rsync'" | grep -q [0-9]; do sleep 10; done
if [ "$host" != $HOSTNAME ]; then
--
1.6.6.1
More information about the infrastructure
mailing list