<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://wiki.makespace.org/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://wiki.makespace.org/index.php?action=history&amp;feed=atom&amp;title=Backup</id>
		<title>Backup - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://wiki.makespace.org/index.php?action=history&amp;feed=atom&amp;title=Backup"/>
		<link rel="alternate" type="text/html" href="http://wiki.makespace.org/index.php?title=Backup&amp;action=history"/>
		<updated>2026-07-29T10:45:16Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.22.6</generator>

	<entry>
		<id>http://wiki.makespace.org/index.php?title=Backup&amp;diff=962&amp;oldid=prev</id>
		<title>JimM: Created page with &quot;=== MediaWiki ===  Our plan is based on http://www.mediawiki.org/wiki/Manual:Backing_up_a_wiki.   This is the shell script used to create backup files of MediaWiki's database and...&quot;</title>
		<link rel="alternate" type="text/html" href="http://wiki.makespace.org/index.php?title=Backup&amp;diff=962&amp;oldid=prev"/>
				<updated>2012-10-26T12:41:48Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;=== MediaWiki ===  Our plan is based on http://www.mediawiki.org/wiki/Manual:Backing_up_a_wiki.   This is the shell script used to create backup files of MediaWiki&amp;#039;s database and...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;=== MediaWiki ===&lt;br /&gt;
&lt;br /&gt;
Our plan is based on http://www.mediawiki.org/wiki/Manual:Backing_up_a_wiki. &lt;br /&gt;
&lt;br /&gt;
This is the shell script used to create backup files of MediaWiki's database and configuration files:&lt;br /&gt;
&lt;br /&gt;
 #!/bin/sh&lt;br /&gt;
 nice -n 19 /usr/bin/mysqldump -u wikiuser wikidb -c --password=&amp;lt;wikiuser password&amp;gt; | nice -n 19 /bin/gzip -9 &amp;gt; ~/backup-wikidb-$(date '+%a').sql.gz&lt;br /&gt;
 tar zcf backup-mediawiki-etc-$(date '+%a').tar.gz /etc/mediawiki&lt;br /&gt;
&lt;br /&gt;
This is invoked each midnight by a crontab entry:&lt;br /&gt;
 0 0 * * * /home/jimm/backup-mediawiki&lt;br /&gt;
&lt;br /&gt;
The files backup-mediawiki-* are then copied off to a remote server by a crontab running on another machine.&lt;br /&gt;
&lt;br /&gt;
==== Restoration plan ====&lt;br /&gt;
Not planned or tested yet.&lt;/div&gt;</summary>
		<author><name>JimM</name></author>	</entry>

	</feed>