Manual:Backing up a wiki/Duesentrieb's backup script

Script originally created by User:Duesentrieb: MediaWiki backup


 * Modified by User:Kaotic to add the ability for the script to place the wiki into read only mode during the database dump and then restore access after the dump has been completed.


 * User:Megam0rf added a few lines to circumvent Kaotic's problem with ?> at the end of the LocalSettings.php which had to be removed prior to running the script.


 * User:Robkam edited option for default character set, and set it to binary. Note: This is untested.

Note* Be sure to replace --user=XXXX --password=XXXX with your user/pass, unless your credentials are in .my.cnf.