Hi I have multiple databases need to back up daily. Currently, I am using cronjob to set a batch file to back it up. Here are my situation, I have about 10 databases need to backup, 3 of them are growing pretty fast, let me show you the current DB size:
- DB1 = 35 mb
- DB2 = 10 mb
- DB3 = 9 mb
- the rest: DBx = 5 mb
My batch file code is:
mysqldump -u root -pxxxx DB1 > d:/backup/DB1_datetime.sql
mysqldump -u root -pxxxx DB2 > d:/backup/DB2_datetime.sql
... and so for the rest
I have run this for 2 days, seems quite okay to me. But I wonder, if it will effect my website performance when executing the batch file.
If this method is not good, how do you backup multiple databases while its on live and the size keep increasing daily?