ArielGlenn has uploaded a new change for review. (
https://gerrit.wikimedia.org/r/392873 )
Change subject: fix up usage message and dest path for xml/sql dumps rsync
......................................................................
fix up usage message and dest path for xml/sql dumps rsync
Change-Id: I87137f753a53f39b5e71666cd3c8cb498a0e5afd
---
M modules/dumps/files/generation/rsync-to-peers.sh
1 file changed, 3 insertions(+), 2 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/operations/puppet
refs/changes/73/392873/1
diff --git a/modules/dumps/files/generation/rsync-to-peers.sh
b/modules/dumps/files/generation/rsync-to-peers.sh
index c91b3ea..fe6730d 100644
--- a/modules/dumps/files/generation/rsync-to-peers.sh
+++ b/modules/dumps/files/generation/rsync-to-peers.sh
@@ -13,7 +13,8 @@
usage() {
cat<<EOF
-Usage: $0 --dumpsdir <path> --xmlremotedirs <path>,<path>,<path>...
+Usage: $0 --xmldumpsdir <path> --xmlremotedirs <path>,<path>,<path>... \\
+ --miscdumpsdir <path> --miscremotedirs <path>,<path>,<path>...
--xmldumpsdir path to root of xml/sql dumps tree for rsync to peer hosts
--xmlremotedirs comma-separated list of remote destinations to which to
rsync
@@ -80,7 +81,7 @@
# rsync of xml/sql dumps for public wikis
for dest in $xmlremotedirs_list; do
/usr/bin/rsync -a --contimeout=600 --timeout=600
${xmldumpsdir}/public/*html "$dest" > /dev/null 2>&1
- /usr/bin/rsync -a --contimeout=600 --timeout=600 --exclude='**bad/'
--exclude='**save/' --exclude='**not/' --exclude='**temp/' --exclude='**tmp/'
--exclude='*.inprog' ${dumpsdir}/public/*wik* "$dest" > /dev/null 2>&1
+ /usr/bin/rsync -a --contimeout=600 --timeout=600 --exclude='**bad/'
--exclude='**save/' --exclude='**not/' --exclude='**temp/' --exclude='**tmp/'
--exclude='*.inprog' ${xmldumpsdir}/public/*wik* "$dest" > /dev/null 2>&1
done
# rsync of misc dumps, not necessarily to/from the same tree as the public
wikis
--
To view, visit https://gerrit.wikimedia.org/r/392873
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I87137f753a53f39b5e71666cd3c8cb498a0e5afd
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: ArielGlenn <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits