:: DEVELOPER ZONE
In case of an operating system crash or power failure,
InnoDB itself does all the job of recovering
data. But to make sure that you can sleep well, observe the
following guidelines:
Always run the MySQL server with the --log-bin
option, or even
--log-bin=,
where the log file name is located on some safe media different
from the drive on which the data directory is located. If you have
such safe media, this can also be good for disk load balancing
(which results in a performance improvement).
log_name
Make periodic full backups, using the last mysqldump command given earlier that makes an online, non-blocking backup.
Make periodic incremental backups by flushing the logs with
FLUSH LOGS or mysqladmin
flush-logs.
© 1995-2005 MySQL AB. All rights reserved.

User Comments
Warning: query failed: Unknown column 'user.firstname' in 'field list' in /data0/sites/live/web-main/lib/mysql-cxn.php on line 69
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /data0/sites/live/web-main/lib/docbook.php on line 245
Add your own comment.