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

Redirected restores

Redirected restores lets you restore backup files to a client different from the client that originally performed the backup. The new location can be a different host or a different file path using a different name for the redirected restore. To redirect a restore to a different host, include the destination client name in the install_path\NetBackup\db\altnames directory.

Performing redirected restores

To redirect a restore to a different host

  1. Update the nbmariadb.conf file with the NetBackup client name as the host and the MariaDB target directory as the directory where you want to redirect the restore.
  2. On the NetBackup master server, create an altnames directory for the host that you want to have permission to perform the redirected restore. For example, to give Host B permissions to restore from another host, create the following file:
    • (Windows) install_path\NetBackup\db\altnames\HostB

    • (Linux RHEL and SLES) /usr/openv/netbackup/db/altnames/HostB

  3. In the altnames directory, add the names of the client(s) whose files the requesting client wants to restore. For example, if you want Host B to have permissions to redirect restores from Host A, add Host A to the Host B file.
  4. Run the following command:

    nbmariadb -o restore -S master_server_name -t target_directory -portnum db_port [-id db_backup_image_name] [-C client_name]

  5. After a successful redirected restore, undo the changes that you made on the master server and the client.

To redirect a restore to a different file path

  1. Run the following command:

    nbmariadb -o restore -S master_server_name -t target_directory -portnum db_port [-id db_backup_image_name] [-C client_name]

  2. After a successful restore, change the ownership of data directory to MariaDB user.
  3. Copy the restore data to the data directory.