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

The nbmariadb.conf configuration file

The NetBackup for MariaDB (nbmariadb.conf) configuration file contains the parameters for the respective operations. It contains predefined settings and is located on the client. You can configure the parameters in the nbmariadb.conf file or provide them on the command line, where the command line parameters take precedence.

The nbmariadb.conf file keeps you from providing the parameters every time you run operations. When parameters are not configured in the nbmariadb.conf file, then the default parameter value takes precedence.

The nbmariadb.conf file is located in the following locations:

  • (Windows)

    C:\Program Files\Veritas\NBMariaDBAgent\nbmariadb.conf .

  • (Linux RHEL and SUSE) /usr/NBMariaDBAgent\nbmariadb.conf

Table: The nbmariadb.conf file parameters lists the nbmariadb.conf file parameters:

Table: The nbmariadb.conf file parameters

Parameters

Description

Required parameter for

Default value

DB_PORT

Configures the MariaDB database server port number on which the backup or the restore should be performed. The port number verifies the MariaDB service status.

Backups and restores

When you do not specify the port number, the default is 3306.

DB_USER

Configures the MariaDB database user name.

Backups

When you do not specify the username, the default is root.

MARIADB_LIB_INSTALL_PATH

(Linux) Configures the libmariadb.so binary path.

Backups

No default value.

MASTER_SERVER_NAME

Specifies the NetBackup master server to run backups, restores query and delete the backups and restores.

Backups, restores, query, and delete.

No default value.

POLICY_NAME

Specifies the DataStore policy name.

Backups

No default value.

SCHEDULE_NAME

Identifies the backup schedule that you configured while creating the DataStore policy.

Backups

No default value.

CLIENT_NAME

Defines the NetBackup MariaDB client name.

Redirected restores and query

When you do not specify the client name, the default is NetBackup master server.

SNAPSHOT_SIZE

(Linux) Specifies the snapshot size for LVM snapshots. Specify the snapshot size in kilobytes, megabytes, or gigabytes as KB, MB, or GB respectively.

LVM backups

When you do not specify the snapshot size, the default is MB.

DB_BACKUP_ID

DB_BACKUP_ID is the backup image name. This parameter configures the backup file that you specify using the backup id.

To delete a backup by specifying its backup image name.

No default value.

MARIADB_TARGET_DIRECTORY

Specifies the destination directory where you want to restore the backups.

Restores

No default value.

NBMARIADB_LOG_LEVEL

The NBMARIADB_LOG_LEVEL parameter lets you set the logging level for the nbmariadb logs. For a particular logging level, all details at that level or lower are logged.

The nbmariadb debug logs includes the following verbose levels:

  • 1 - ERROR: Conditions that should be corrected, such as configuration errors.

  • 2 - WARN: Conditions that are not errors, but that might require special handling.

  • 3 - INFO: Informational messages

  • 4 - DEBUG: Debugging the messages that is used for troubleshooting.

The log levels help to control the amount of information that you want to access for troubleshooting errors.

When you do not specify the nbmariadb log level, the default is log level 1.

NBMARIADB_LOG_SIZE

Specifies the nbmariadb log size in MB. The default size is 10MB. When the log reaches the specified size, it overwrites the existing log information.

You can specify the value according to the events that you want to write into the logs.

When you do not specify the nbmariadb log size, the default is 10MB.