diff options
Diffstat (limited to 'ansible/roles/mw-backend/files/bin/mw-dump-backup')
-rw-r--r-- | ansible/roles/mw-backend/files/bin/mw-dump-backup | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/ansible/roles/mw-backend/files/bin/mw-dump-backup b/ansible/roles/mw-backend/files/bin/mw-dump-backup new file mode 100644 index 0000000..5530b03 --- /dev/null +++ b/ansible/roles/mw-backend/files/bin/mw-dump-backup @@ -0,0 +1,9 @@ +#!/bin/bash + +set -euo pipefail + +exec php /usr/share/mediawiki/maintenance/dumpBackup.php \ + --full \ + --include-files \ + --uploads \ + > /mediawiki-backup/content-dump.xml |