Unix Technical Forum

Re: Data back up for innodb tables - Copy paste

This is a discussion on Re: Data back up for innodb tables - Copy paste within the MySQL General forum forums, part of the MySQL category; --> On 2007-02-19 abhishek jain wrote: > I want to copy paste the data files of Innodb database, is it ...


Go Back   Unix Technical Forum > Database Server Software > MySQL > MySQL General forum

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-28-2008, 05:49 AM
Christian Hammers
 
Posts: n/a
Default Re: Data back up for innodb tables - Copy paste


On 2007-02-19 abhishek jain wrote:
> I want to copy paste the data files of Innodb database, is it possible, i
> mean can i just copy the data files like that we do for myisam tables


If you mean for a daily backup while the server is running: No!
You often end up with corrupted tables doing that with MyISAM, too.
Use mysqlhotcopy or mysqldump for that.

If you stop the server, then copy the files and make sure that you have
the same innodb_data_file_path statements at the target host, it maybe works.

bye,

-christian-
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 02:30 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com