<?xml version="1.0" encoding="UTF-8"?>
<feed xml:lang="en-US" xmlns="http://www.w3.org/2005/Atom">
  <title>opensoul.org - Automatically backing up your remote database on deploy Comments</title>
  <id>tag:opensoul.org,2009:/2007/2/9/automatically-backing-up-your-remote-database-on-deploy/comments</id>
  <generator uri="http://mephistoblog.com" version="0.8.0">Mephisto Drax</generator>
  <link href="http://opensoul.org/2007/2/9/automatically-backing-up-your-remote-database-on-deploy/comments.xml" rel="self" type="application/atom+xml"/>
  <link href="/2007/2/9/automatically-backing-up-your-remote-database-on-deploy" rel="alternate" type="text/html"/>
  <updated>2007-04-06T02:46:08Z</updated>
  <entry xml:base="http://opensoul.org/">
    <author>
      <name>Ritchie</name>
    </author>
    <id>tag:opensoul.org,2007-02-09:1015:2606</id>
    <published>2007-04-06T02:46:08Z</published>
    <updated>2007-04-06T02:46:08Z</updated>
    <category term="Code"/>
    <link href="http://opensoul.org/2007/2/9/automatically-backing-up-your-remote-database-on-deploy" rel="alternate" type="text/html"/>
    <title>Comment on 'Automatically backing up your remote database on deploy' by Ritchie</title>
<content type="html">&lt;p&gt;Nice one, Brandon. Worked a treat. The only thing I had to change was the mysqldump line to:&lt;/p&gt;


	&lt;pre&gt;&lt;code&gt;run &quot;mysqldump -u #{db['username']} --password=#{db['password']} -h #{db['host']} #{db['database']} | bzip2 -c &amp;gt; #{file}&quot;  do |ch, stream, data|&lt;/code&gt;&lt;/pre&gt;


	&lt;p&gt;To accomodate the fact that my database (at MediaTemple) isn&#8217;t on localhost.&lt;/p&gt;


	&lt;p&gt;Thanks&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://opensoul.org/">
    <author>
      <name>John Nunemaker</name>
    </author>
    <id>tag:opensoul.org,2007-02-09:1015:1017</id>
    <published>2007-02-09T16:46:12Z</published>
    <updated>2007-02-09T16:46:12Z</updated>
    <category term="Code"/>
    <link href="http://opensoul.org/2007/2/9/automatically-backing-up-your-remote-database-on-deploy" rel="alternate" type="text/html"/>
    <title>Comment on 'Automatically backing up your remote database on deploy' by John Nunemaker</title>
<content type="html">&lt;p&gt;Great idea brandon.&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://opensoul.org/">
    <author>
      <name>Eric Anderson</name>
    </author>
    <id>tag:opensoul.org,2007-02-09:1015:1016</id>
    <published>2007-02-09T15:57:36Z</published>
    <updated>2007-02-09T15:57:36Z</updated>
    <category term="Code"/>
    <link href="http://opensoul.org/2007/2/9/automatically-backing-up-your-remote-database-on-deploy" rel="alternate" type="text/html"/>
    <title>Comment on 'Automatically backing up your remote database on deploy' by Eric Anderson</title>
<content type="html">&lt;p&gt;Nice. I have had this happen myself a few times as well. Bonus points might be to try to catch the failure when it occurs and automatically restore the backup as part of a rollback process.&lt;/p&gt;</content>  </entry>
</feed>
