Skip to main content

Skipping a specific database in cPanel backups

Comments

3 comments

  • cPanelPeter cPanel Staff
    Hello, You could disable the user from the backup and instead, create a cron job entry to call /usr/local/cpanel/scripts/pkgacct with the --skipacctdb option. This is explained here Package A cPanel Account. It would create a cpmove file instead with everything except the database.
    0
  • rinogo
    Thanks, Peter! We ended up just dissociating the DBs from the cPanel account. To do so, we removed /var/cpanel/databases/.cache and modified /var/cpanel/databases/.yaml. Of course, now we must administer the DBs from the command-line, but that's fine. Are there any other drawbacks or concerns about this approach that we should be aware of? Next time around, we'll use the approach that you've provided. Thanks again!
    0
  • cPanelMichael
    ]Are there any other drawbacks or concerns about this approach that we should be aware of?

    You will not be able to manage the databases from cPanel and the databases will not count towards the account's disk space usage. Thank you.
    0

Please sign in to leave a comment.