Veritas NetBackup™ for MariaDB Administrator's Guide
- Introduction to NetBackup for MariaDB Agent
- Installing the NetBackup for MariaDB Agent
- Configuring the NetBackup for MariaDB
- The NetBackup for MariaDB backups and restores
- Troubleshooting for NetBackup for MariaDB
- Appendix A. About NetBackup for MariaDB commands and conventions
- Appendix B. The NetBackup for MariaDB commands
About restoring MariaDB backups
The nbmariadb -o restore command for restore initiates the restore operation using -S, -t, and portnum as the required parameters. The parameters -id and -C are optional parameters.
The parameter -id restores the backup using the specified backup image name. The parameter -C lists all the backups that exists on the specified client. When you do not specify the client, it defaults to the NetBackup master server.
When you initiate a restore, the agent reads the command line arguments and parses the nbmariadb.conf
configuration file. The agent then interacts with the NetBackup XBSA interface to retrieve the backup according to the specified parameters.
The NetBackup XBSA interface reads the progress files to receive the MariaDB backup files to restore them to the target directory.
The command prompt indicates the successful completion status of the restore. The Activity Monitor also displays the status for the restore job.
Before you run a restore, you must meet the following prerequisites:
(LVM users) Ensure that data logs and the logs directory reside on logical volumes
Ensure that you restore the MariaDB instance to a valid empty target directory.
(non-LVM) Ensure that the MariaDB service is running.
Set the following parameters in the
nbmariadb.conf
file:CLIENT_NAME
DB_BACKUP_ID
(Linux) DB_PORT
MARIADB_TARGET_DIRECTORY
MASTER_SERVER_NAME