Topic on Project:Support desk

Better method for backing up the wiki.

7
212.204.84.138 (talkcontribs)

Referring to the document:

Manual:Upgrading

It is suggested that you can back up a MySQL database using the command:

mysqldump --user=wikidb_user --password=wikidb_userpassword wikidb > file.sql

but this isn't entirely accurate. This will not preserve the name of the database name of the wiki. A more robust backup would be:

mysqldump --user=wikidb_user --password=wikidb_userpassword --databases wikidb > file.sql

which tells mysqldump to also include a CREATE DATABASE clause as the first step in the script. Why on earth does the documentation suggest this method?

星耀晨曦 (talkcontribs)

You can edit the document.

212.204.84.138 (talkcontribs)

Well yes (assuming I have edit privileges, which I don't), but the final question is why on earth does the documentation suggest this method. I could gain privileges and start an edit war, but I'm too busy to play that way.

Malyacko (talkcontribs)

Why does software have bugs? Because nobody found and fixed them yet.

But why on earth do you expect to start an edit war by improving docs? This is mediawiki.org.

星耀晨曦 (talkcontribs)

Why this site will have edit war?

2001:16B8:1083:A400:10F1:ADBA:4A02:FA6E (talkcontribs)

He obviously is not convinced of his idea. At least he makes it sound that way.

212.204.84.138 (talkcontribs)

No worries, I forget at times that I'm not in the jungle that is wikipedia where tribal territories can be easily crossed. I probably should get an account, I've participated here enough over the years, I think I'm due for it.