Skip to main content

MySQL backup question

Comments

3 comments

  • cPanelMichael
    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
  • Lor
    [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
  • cPanelMichael
    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.