Hello Welkin,
maybe an idea for those having very big databases.
I using LVM Snapshot for backing up my database. Taking a snapshot of my db (about 10GB) takes me about 15 sec to get an consistant shot.
This perl script is fine getting consistant snapshots of mysql.
When snapshot is done u can use any backupprogramm u prefer or simply copy the whole database.
Regards
Karsten
P.S. I using Innodb with the option
innodb_file_per_table
otherwise your db will never become smaller when you cleanup history. Onlyway to shrink db (is not using this option) is to dump db and reload it.
maybe an idea for those having very big databases.
I using LVM Snapshot for backing up my database. Taking a snapshot of my db (about 10GB) takes me about 15 sec to get an consistant shot.
This perl script is fine getting consistant snapshots of mysql.
When snapshot is done u can use any backupprogramm u prefer or simply copy the whole database.
Regards
Karsten
P.S. I using Innodb with the option
innodb_file_per_table
otherwise your db will never become smaller when you cleanup history. Onlyway to shrink db (is not using this option) is to dump db and reload it.

Comment