cPanel MySQL backups are not really helpful and I find them very inconvenient:
1) Everything is backed up into a huge file, not helping me if I need to restore a single row or table;
2) It does not rotate backups every day, it replaces the previous backup file;
3) It locks my site completely for a few minutes ( = downtime!! ) while backing up the database.
I created my own script to back up MySQL databases which addresses all the problems I mentioned, but now I would like to disable MySQL Backup on cPanel entirely, without having to disable the other system files backup!
I would disable it myself on the /scripts/cpbackup, but I am sure my changes would be overwritten in the next cPanel updates.
I am sure this has been requested before and this was already planned, but I don't find it in the Feature Requests site in here. You created a new backup system, but it is simply the same thing as before... why is it so hard to allow us to disable MySQL Backups?
A system administrator should be responsible for their actions, so there is no point for cPanel to discard simple requests like this just because you think it's absurd.
I would like to prevent the 5-minute downtime on my site every day without having to disable the whole backup thing. Thank you.
I'm not sure how customized your custom script is.
If you are calling /scripts/pkgacct directly you can skip mysql by passing the --skipmysql parameter to it:
/scripts/pkgacct --skipmysql <user> <backup directory> <backup type>
Not sure if that helps any.
I'm not sure how customized your custom script is.
If you are calling /scripts/pkgacct directly you can skip mysql by passing the --skipmysql parameter to it:
/scripts/pkgacct --skipmysql <user> <backup directory> <backup type>
Not sure if that helps any.
Agreed here; we have a custom database backup because neither of the cPanel options work well to take consistent backups of large, busy databases. It seems like an oversight that the backup configuration gives options for backing up accounts only, whole directory, or both, but not neither.
Agreed here; we have a custom database backup because neither of the cPanel options work well to take consistent backups of large, busy databases. It seems like an oversight that the backup configuration gives options for backing up accounts only, whole directory, or both, but not neither.
Replies have been locked on this page!