Additional MySQL backup during the day

cosmin

Well-Known Member
Feb 6, 2002
154
1
318
Bucuresti
Hi!

I want to make local on backup hdd another 1-2 full mysql backup during the day. A cron job to run every x hours and make a new backup but not incremental for all /var/lib/mysql. I want to have last x backups and after that the script can remove the oldest and make the new one.
Any ideea about a script to do that? I don't want a mysqldump, I prefer a backup for all folder.
cPanel backup script can do this (if I choose this option form WHM) but I don't know how.

Many thanks!
 

cPanelLauren

Forums Analyst II
Staff member
Nov 14, 2017
8,110
659
263
Houston
cPanel Access Level
DataCenter Provider