Andre MATOS wrote:

>What is the best way to make a good and trustable backup from a live
>database, in other words, without shutdown the database? Is there any
>free open source tool for this also?

There's no free/open source tool that makes a true hot backup when
you're using InnoDB.

mysqldump can be scripted to only dump one table at a time, but that
means the tables will not be consistent.  You can dump the entire
dataset, but that will lock out other users.  mysqldump files are easily
readable and if you backup a table at a time you can restore only a
single table.

InnoDB Hot Backup makes a consistent backup across all tables without
disturbing users.  It's not free and you can only restore the entire
data set (to which you could then apply binlogs from the backup time
forward to bring the data set up to current time).  You also cannot view
or edit the files with a text editor.  Also, InnoDB Hot Backup only
backs up the InnoDB table space and logs.  You must also back up your
table definitions and binlogs separately.

This is all described in the InnoDB manual at http://www.innodb.com/

We use both methods as they are helpful under different circumstances.

Good luck,
Ware Adams

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

Reply via email to