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.