NetBackup™ for MariaDB Administrator's Guide
About restoring MariaDB backups
The nbmariadb -o restore command for initiates the restore operation with the -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 exist on the specified client. When you do not specify the client, it defaults to NetBackup primary server.
When you initiate a restore, the agent reads the command line arguments. 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 the logical volume.
Ensure that you restore the MariaDB instance to a valid empty target directory.
(NONLVM) Ensure that the MariaDB service is running.