Skip to main content

Acronis does not backup MySql Database

Thread needs solution

Hello currently I am using acronis home 2011. I am using the nonstop backup to backup certain folders on my pc including the MySql 5.5 folder of my MySql database. The backup seems to be working fine, no errors reported by acronis, but when I try to restore any version of the backup, the MySql 5.5 folder is not restored correctly.

What I mean is that although I get no errors from the Acronis restore process , the resulting folder of MySql 5.5 folder contains only 110 MB of data while the original folder is over 1.3 GB. Are there any incompatibilities between acronis and MySql or is there an option I have to set in order to properly backup and restore my database?

I should probably mention the following:

1) I have tried deleting the backup and starting from the start but the result was the same, and
2) The rest of the folders that I backup using the non-stop backup are restore just fine. The only folder that has the problem is the MySql folder.

0 Users found this helpful

After searching the forum I have found something regarding "transactions databases" (http://forum.acronis.com/content/1563). Can this be the reason of my problem? If yes how can I solved it? Should I need to stop and start the database every five minutes using pre/post in acronis? If yes does not this will cause problem since the database will be down very frequently or is there another way?

Nonstop Backup (as well as True Image disk/partition and file/folder backups) will not be able to correctly back up an open MySQL database.

Normally, when you want to create a MySQL backup, you either have to stop MySQL or issue a read lock on your MySQL tables in order to get a correct backup.

http://forums.mysql.com/list.php?28

Hi James and thanks for your help. Since I backup my system using nonstop backup that runs every 5 minutes, I believe it might be problematic to stop and start the database so frequently. The strange thing is that if I backup the MySql folder using the "files backup" feature of acronis everything is backup and restore just fine.

When you say "issue a read lock on your MySQL tables" do you mean there is an option for that within the acronis software, or is it a command that I have to issued on the MySql database using pre/post in acronis?

Thanks