On Wed, Feb 24, 2010 at 10:48 AM, Bob Jonkman <span dir="ltr"><<a href="mailto:bjonkman@sobac.com">bjonkman@sobac.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im">On Wed, 24 Feb 2010, Robert P. J. Day wrote:<br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

   a colleague asks me if there's a way to recover a mysql database<br>
that was being hosted by someone else and was apparently corrupted<br>
in ways that are not at all obvious.<br>
<br>
   all the hosting company is providing him with is a tar file of the<br>
/var/lib/mysql/<db>  directory, which consists of nothing but .frm<br>
files (so it's in innodb format, correct?).  they won't give him the<br>
ibdata1 file or ib log files, for security reasons.<br>
     <br>
</blockquote></blockquote>
<br>
<br></div>
Can your colleague ask the hosting company to "restore the database" to the state it was X number of days ago?  Was backup and restore part of their contract?<br>
<br>
Seems to me the benefits of having databases professionally hosted are business continuity, high availability, data integrity, &c...<font color="#888888"></font></blockquote><div><br>Very true.<br><br>But even with that, I have cron scripts that do daily dumps of the data base for clients and instruct them to download them at least once a week, if not every day, and keep it on another server. This way there is some recourse if there is such a catastrophe or the hosting company goes out of business. <br>
</div></div>-- <br>Khalid M. Baheyeldin<br><a href="http://2bits.com">2bits.com</a>, Inc.<br><a href="http://2bits.com">http://2bits.com</a><br>Drupal optimization, development, customization and consulting.<br>Simplicity is prerequisite for reliability. --  Edsger W.Dijkstra<br>
Simplicity is the ultimate sophistication. --   Leonardo da Vinci<br>