User:Kaotic/WikiBackup

script originally created by User:Duesentrieb:

I've added 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.

if your LocalSettings.php has a ?> at the end be sure to remove it as this script simply adds the read only option to the end of the file then removes the last line of the file afterwords, I know this is probably not the best way to accomplish this and would welcome any suggestions to streamline this even further. Thanks!