Skip to main content

Database Backup Options

Comments

8 comments

  • GOT
    You only want to use Option 1. The only time this causes an issue is if you have manually created a database not through the cPanel account interface because that database would not be tied to a user and would not get backed up. If that is the case then you can use the database map tool in whm to attach a database to a user.
    0
  • linux4me2
    You only want to use Option 1. The only time this causes an issue is if you have manually created a database not through the cPanel account interface because that database would not be tied to a user and would not get backed up. If that is the case then you can use the database map tool in whm to attach a database to a user.

    Thanks! That's what I needed to know. I don't have any databases created outside of cPanel's UI, so I'll go with option #1. It's probably been set on opion #3 since I got this server, and I'm glad I haven't needed a database backup and run into those "InnoDB issues."
    0
  • GOT
    Well, you DID say: there are some databases in /var/lib/mysql/ that aren't associated with user accounts So, those should be mapped to user accounts if you do have them.
    0
  • linux4me2
    Well, you DID say: there are some databases in /var/lib/mysql/ that aren't associated with user accounts So, those should be mapped to user accounts if you do have them.

    That was misleading. I'm talking about:
    • cphulkd
    • mysql
    • performance_schema
    0
  • GOT
    Yes you don't need to worry about backing up the system databases.
    0
  • linux4me2
    Cool. Thanks!
    0
  • cPanelLauren
    Thanks @GOT for the knowledgeable and helpful response :)
    0
  • linux4me2
    Thanks @GOT for the knowledgeable and helpful response :)

    @cPanelLauren You can mark this one solved if you like.
    0

Please sign in to leave a comment.