Editing Task:Wiki dumps

Warning: You are not logged in. Your IP address will be recorded in this page's edit history.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 1: Line 1:
{{task|proposed}}
{{task|proposed}}
-
 
Public weekly SQL dumps of the maemo.org wiki should be made available. This would allow the community to make their own copies of the dumps for backups and for use with offline viewers such as evopedia.
Public weekly SQL dumps of the maemo.org wiki should be made available. This would allow the community to make their own copies of the dumps for backups and for use with offline viewers such as evopedia.
Line 6: Line 5:
There are two types of dump of MediaWiki:
There are two types of dump of MediaWiki:
* A database dump using <pre>mysqldump -h<hostname> -u<user> -p <dbname></pre> which includes account data and site information
* A database dump using <pre>mysqldump -h<hostname> -u<user> -p <dbname></pre> which includes account data and site information
-
* An XML dump of the page contents, which is done on the shell on the server with <pre>php $MEDIAWIKI_DIR/maintenance/dumpBackup.php --full > mediawiki_dump.xml</pre>
+
* An XML dump of the page contents, which is done on the shell on the server with <pre><php $MEDIAWIKI_DIR/maintenance/dumpBackup.php --full > mediawiki_dump.xml</pre>
All image files and attachments are stored on the filesystem in `/var/lib/mediawiki/images` and can be archived with a .tar.gz
All image files and attachments are stored on the filesystem in `/var/lib/mediawiki/images` and can be archived with a .tar.gz

Learn more about Contributing to the wiki.


Please note that all contributions to maemo.org wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see maemo.org wiki:Copyrights for details). Do not submit copyrighted work without permission!


Cancel | Editing help (opens in new window)

Templates used on this page: