MySQL backup question
First, I'm sorry, I tried to find clear answer using CPanel manual, but ... :(
I want turn off backup(new and legacy) for one account.
Is it possible do not backup files and mysql basas for selected account?
If I select "Backup SQL Databases per account only" it's mean backup will not created for selected account if backup turned off for the account?
-
Hello :) You can enable or disable backups for a particular account via: "WHM Home " Backup " Backup User Selection" Database backups are enabled globally in "WHM Home " Backup " Backup Configuration". It's not possible to exclude database backups on particular accounts. Are you attempting to exclude a particular database from a backup, or is this a global option you are looking to implement on several accounts? Thank you. 0 -
[quote="cPanelMichael, post: 1663562"> Are you attempting to exclude a particular database from a backup ...
Yes, I want to exclude from backup huge database for particular account. I have turned off backup for the account, but yes, i worry about the huge database created on the account.0 -
You may want to disable backups for the account in WHM and instead backup the account manually with the skipacctdb flag. EX: /usr/local/cpanel/scripts/pkgacct --skipacctdb $username
You could then backup other databases associated with the account through the use of the "mysqldump" utility. You could setup a cron job if you prefer it to occur on a regular basis. Thank you.0
Please sign in to leave a comment.
Comments
3 comments