Problem with back-up/recover

This is a discussion on Problem with back-up/recover within the MySQL Database forums, part of the Database Forums category; I'd like to know if MySQL performs a table integrity check based on storage file date... Yesterday I copied ...


Go Back   Usenet Forums > Database Forums > MySQL Database

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 09-16-2006
Giuseppe Bonaccorso
 
Posts: n/a
Default Problem with back-up/recover

I'd like to know if MySQL performs a table integrity check
based on storage file date... Yesterday I copied an entire
database directory and when I finished I got a 127 error. I
tried also to recover previously backed-up files but the fatal
error continued to appear... Is there a solution, or I have
to set mysql (and its databases) again ?
Thank you !

--
Giuseppe Bonaccorso

WWW: http://www.giuseppebonaccorso.it
NewsID: newsid@giuseppebonaccorso.it
Reply With Quote
  #2 (permalink)  
Old 09-16-2006
Jerry Stuckle
 
Posts: n/a
Default Re: Problem with back-up/recover

Giuseppe Bonaccorso wrote:
> I'd like to know if MySQL performs a table integrity check
> based on storage file date... Yesterday I copied an entire
> database directory and when I finished I got a 127 error. I
> tried also to recover previously backed-up files but the fatal
> error continued to appear... Is there a solution, or I have
> to set mysql (and its databases) again ?
> Thank you !
>


You can't just copy a directory (or files) unless MySQL is completely
shut down. Even then you must ensure you have *everything* - for
instance MySQL also keeps information on available databases in its own
tables.

And no, I don't believe the integrity check is based on the file date.
That would be very unreliable. Rather I believe it's based on
information kept internal to the files.

If you don't have a good backup of the entire system, chances are you're
going to have to set up MySQL again.

And next time I'd suggest you use mysqldump to dump your database. It
ensures a good copy.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 06:04 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0