<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -51,8 +51,6 @@ begin
   @s3.retrieve_files(&quot;mysql-bin.&quot;, @temp_dir)
   logs = Dir.glob(&quot;#{@temp_dir}/mysql-bin.[0-9]*&quot;).sort
   logs.each {|log| @mysql.execute_binary_log(log) }
-  
-  @mysql.execute_sql &quot;reset master&quot; # TODO  maybe we shouldn't do this if we're not going to delete the logs from the S3 bucket because this restarts the numbering again
 ensure
   FileUtils.rm_rf(@temp_dir)
 end</diff>
      <filename>server/files/usr/local/ec2onrails/bin/restore_app_db</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>221658a1e0fba9b5c4205a821e22e595214e2d4a</id>
    </parent>
  </parents>
  <author>
    <name>Paul Dowman</name>
    <email>paul@pauldowman.com</email>
  </author>
  <url>http://github.com/pauldowman/ec2onrails/commit/e493099b86993c044f1b4cdd4ccf333dc9a83265</url>
  <id>e493099b86993c044f1b4cdd4ccf333dc9a83265</id>
  <committed-date>2009-09-25T12:51:55-07:00</committed-date>
  <authored-date>2009-09-25T12:51:55-07:00</authored-date>
  <message>Don't do &quot;reset master&quot; after restoring, because this makes the backup of the newly restored instance inconsistent until a full backup is done.
Thanks to Frank O'Dwyer for pointing this out:
http://groups.google.com/group/ec2-on-rails-discuss/browse_thread/thread/e2386df3d329b9a5</message>
  <tree>079d1353d1f6f286e3278faaeb67f0ba8ceaa279</tree>
  <committer>
    <name>Paul Dowman</name>
    <email>paul@pauldowman.com</email>
  </committer>
</commit>
