The quick answer is:  it depends.  If you read in the manual the
documentation for innodb and myisam tables, you'll see that they're
both stored in an operating-system (somewhat) independent way.

http://dev.mysql.com/doc/refman/5.0/en/moving.html

That references the page Gleb replied with, but it also gives a bit more detail.

-Sheeri

On 1/23/06, George Law <[EMAIL PROTECTED]> wrote:
> Just a quick question regarding mysql backups.
>
> I know myisam tables are portal from machine to machine, but I know
> there are some differences
> Between innodb tables.
>
> I am running mysql 5.0.18 on suse linux 10.  I have innodb set up so it
> stores each table in its own
> .idb file.
>
> I've read that innodb tables are not portable from server to server, my
> question is if I grab the whole
> mysql/data directory, can it be restored back on the same computer in
> the event of a crash.  Do I need
> to enable binlog to do this?
>
>
> I plan on giving myself about a 1 hour maintenance window where all my
> import scripts skip importing and
> then just copying the entire mysql/data directory to a back up server
> where I will tar/gzip the data and push
> it out to a back up directory so it will get dumped to tape.
>
> --
> Geo
>
>
> --
> MySQL General Mailing List
> For list archives: http://lists.mysql.com/mysql
> To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]
>
>

--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to