<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>PCR&#039;s notepad &#187; MySQL</title>
	<atom:link href="http://notepad.patheticcockroach.com/category/software/mysql/feed/" rel="self" type="application/rss+xml" />
	<link>http://notepad.patheticcockroach.com</link>
	<description>The area in patheticcockroach.com where the EEG isn&#039;t isoelectric</description>
	<lastBuildDate>Fri, 30 Jul 2010 11:13:31 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>MySQL maintenance &#8211; making and restoring backups</title>
		<link>http://notepad.patheticcockroach.com/199/mysql-maintenance-making-and-restoring-backups/</link>
		<comments>http://notepad.patheticcockroach.com/199/mysql-maintenance-making-and-restoring-backups/#comments</comments>
		<pubDate>Wed, 07 May 2008 21:32:00 +0000</pubDate>
		<dc:creator>David Dernoncourt</dc:creator>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[web development]]></category>

		<guid isPermaLink="false">http://notepad.patheticcockroach.com/?p=199</guid>
		<description><![CDATA[I use this to back up a MediaWiki and a phpBB database. This is just a generic way to back up and restore databases with MySQL. You may want to compress this too, but we&#8217;ll cover only the very basics here, eg just do a backup and restore it. To make the backup: mysqldump &#8211;user=[the [...]]]></description>
			<content:encoded><![CDATA[<p>I use this to back up a MediaWiki and a phpBB database. This is just a generic way to back up and restore databases with MySQL. You may want to compress this too, but we&#8217;ll cover only the very basics here, eg just do a backup and restore it.</p>
<p>To make the backup:<br />
<blockquote>mysqldump &#8211;user=[the user] &#8211;password=[the password] [database name] > [target path/target file.sql]</p></blockquote>
<p>To restore the backup:<br />
<blockquote>mysql &#8211;verbose &#8211;user=[the user] &#8211;password=[the password] [database name] < [backup path/backup file.sql]</p></blockquote>
<p>NB: &#8211;verbose is <span style="font-weight:bold;">optional and slower</span>, but I like using it <img src='http://notepad.patheticcockroach.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://notepad.patheticcockroach.com/199/mysql-maintenance-making-and-restoring-backups/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
