<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="http://www.eiffelroom.org" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title>eiffelroom - Why you should check your database backups - Comments</title>
 <link>http://www.eiffelroom.org/blog/juliant/why_you_should_check_your_database_backups</link>
 <description>Comments for &quot;Why you should check your database backups&quot;</description>
 <language>en</language>
<item>
 <title>Why you should check your database backups</title>
 <link>http://www.eiffelroom.org/blog/juliant/why_you_should_check_your_database_backups</link>
 <description>&lt;p&gt;After three months of development, &lt;em&gt;eiffelroom&lt;/em&gt; is finally launched. It had some starting difficutlies as you probably noticed: Shortly after the official launch I happend to delete the database!&lt;/p&gt;

&lt;p&gt;Now this is no big deal since the server creates daily backups - or so we thought. Well daily backups are made, but the program which stores them does not backup busy files, which unfortunately occur in a database system all the time. So we were left with a partial backup of the MySQL filesystem. These binary files can not be imported into MySQL 4.1 since the database schema is not stored together with the data. So first I had to install MySQL 4.1 on a coworkers machine (It didn&#039;t work on mine), then recreate the schema by setting up the structure of the site again, and then I copied the partial backup over the new files.&lt;/p&gt;

&lt;p&gt;We were actually lucky since the user and content table were in the backup, and the backup was only 4 hours old. So I restored what I could and started redoing the rest. And as I had to do it the second time it was actually quite quick. After one day we were already back.&lt;/p&gt;

&lt;p&gt;So now &lt;em&gt;eiffelroom&lt;/em&gt; can finally be used and - with the help of everyone - we can make it a worthy stay for all Eiffel users.&lt;/p&gt;

&lt;p&gt;And of course we changed the backup policy. MySQL backups should not be done through a filesystem backup but through &lt;a href=&quot;http://dev.mysql.com/doc/refman/5.0/en/mysqldump.html&quot;&gt;dumps&lt;/a&gt;. So we have now a nice cron job which dumps the database to a version independent sql file.&lt;/p&gt;

</description>
 <comments>http://www.eiffelroom.org/blog/juliant/why_you_should_check_your_database_backups#comments</comments>
 <category domain="http://www.eiffelroom.org/tag/backup">backup</category>
 <category domain="http://www.eiffelroom.org/tag/database">database</category>
 <category domain="http://www.eiffelroom.org/tag/eiffelroom">eiffelroom</category>
 <pubDate>Thu, 01 Mar 2007 08:40:53 -0800</pubDate>
 <dc:creator>juliant</dc:creator>
 <guid isPermaLink="false">111 at http://www.eiffelroom.org</guid>
</item>
</channel>
</rss>
