If MySQL backups have been configured in WHM >> Backup >> Backup Configuration, the server may have a recent backup already. First, check to see where backups are being stored and what kind of MySQL backups are being made:
grep 'BACKUPDIR\|MYSQL' /var/cpanel/backups/config
The BACKUPDIR
is where cPanel stores the backups if they are retained locally. While these backups are useful, it may be prudent to generate a more current backup of MySQL.
MYSQLBACKUP
can return any of the following:
accounts
- All databases under each cPanel account are backed up directly into the account's backup.dir
- The MySQL data directory is backed up only (custom data directories are taken into account).both
- All databases under each cPanel account are backed up directly into the account's backup, and the MySQL data directory is backed up separately.