Jcrespo has submitted this change and it was merged. (
https://gerrit.wikimedia.org/r/327568 )
Change subject: mariadb-backups: Fix x1 backups
......................................................................
mariadb-backups: Fix x1 backups
Bug: T151999
Change-Id: Id2105dac3d95922354282b44e42e2843cc66e47a
---
M modules/role/templates/mariadb/backups/dumps-misc.sh.erb
1 file changed, 1 insertion(+), 1 deletion(-)
Approvals:
jenkins-bot: Verified
Jcrespo: Looks good to me, approved
diff --git a/modules/role/templates/mariadb/backups/dumps-misc.sh.erb
b/modules/role/templates/mariadb/backups/dumps-misc.sh.erb
index 08be487..3fc977a 100644
--- a/modules/role/templates/mariadb/backups/dumps-misc.sh.erb
+++ b/modules/role/templates/mariadb/backups/dumps-misc.sh.erb
@@ -27,5 +27,5 @@
sql="select schema_name from information_schema.schemata where schema_name
regexp '^(wik|flowdb)'"
-$dump -h x1-slave --databases $($my "$sql" | tr '\n' ' ') | \
+$dump -h x1-slave --databases $($my -h x1-slave -e "$sql" | tr '\n' ' ') | \
pigz > /srv/backups/x1-$(date +%Y%m%d%H%M%S).sql.gz
--
To view, visit https://gerrit.wikimedia.org/r/327568
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Id2105dac3d95922354282b44e42e2843cc66e47a
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Jcrespo <[email protected]>
Gerrit-Reviewer: Jcrespo <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits