Veritas NetBackup™ for MariaDB Administrator's Guide

Last Published:
Product(s): NetBackup (8.1.1)
  1. Introduction to NetBackup for MariaDB Agent
    1.  
      About NetBackup for MariaDB Agent
    2.  
      Features of NetBackup for MariaDB
    3.  
      The NetBackup for MariaDB Agent package
    4.  
      About the NetBackup for MariaDB Agent license
    5.  
      NetBackup for MariaDB documentation
  2. Installing the NetBackup for MariaDB Agent
    1.  
      Planning the Installation of NetBackup for MariaDB Agent
    2.  
      Verifying the operating systems and the platforms
    3.  
      Installing prerequisites for NetBackup for MariaDB Agent
    4.  
      Post-installation requirements for NetBackup for MariaDB Agent
    5.  
      Describing the NetBackup for MariaDB Agent package
    6.  
      Installing NetBackup for MariaDB Agent
    7.  
      Authenticating the password
    8.  
      Uninstalling the NetBackup for MariaDB Agent
  3. Configuring the NetBackup for MariaDB
    1.  
      The nbmariadb.conf configuration file
    2.  
      Configuring NetBackup for MariaDB backups with DataStore policies
  4. The NetBackup for MariaDB backups and restores
    1.  
      About MariaDB backups
    2.  
      Performing MariaDB backups
    3.  
      Validating the backup information
    4.  
      Querying the backups
    5.  
      Deleting backup information from the NetBackup catalog files
    6.  
      About restoring MariaDB backups
    7.  
      Performing the restores for MariaDB databases
    8.  
      Redirected restores
    9.  
      Disaster recovery
  5. Troubleshooting for NetBackup for MariaDB
    1.  
      Troubleshooting errors when using NetBackup for MariaDB
  6. Appendix A. About NetBackup for MariaDB commands and conventions
    1.  
      About NetBackup for MariaDB commands
    2.  
      About NetBackup for MariaDB command conventions
  7. Appendix B. The NetBackup for MariaDB commands
    1.  
      nbmariadb -o backup
    2.  
      nbmariadb -o restore
    3.  
      nbmariadb -o query
    4.  
      nbmariadb -o delete

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.

The NetBackup for MariaDB restore workflow

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.

Prerequisites

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