NetBackup10 AdminGuide MariaDB
NetBackup10 AdminGuide MariaDB
Administrator's Guide
Release 10.0
NetBackup™ for MariaDB Administrator's Guide
Last updated: 2022-02-25
Legal Notice
Copyright © 2022 Veritas Technologies LLC. All rights reserved.
Veritas, the Veritas Logo, and NetBackup are trademarks or registered trademarks of Veritas
Technologies LLC or its affiliates in the U.S. and other countries. Other names may be
trademarks of their respective owners.
This product may contain third-party software for which Veritas is required to provide attribution
to the third party (“Third-party Programs”). Some of the Third-party Programs are available
under open source or free software licenses. The License Agreement accompanying the
Software does not alter any rights or obligations you may have under those open source or
free software licenses. Refer to the Third-party Legal Notices document accompanying this
Veritas product or available at:
https://www.veritas.com/about/legal/license-agreements
The product described in this document is distributed under licenses restricting its use, copying,
distribution, and decompilation/reverse engineering. No part of this document may be
reproduced in any form by any means without prior written authorization of Veritas Technologies
LLC and its licensors, if any.
The Licensed Software and Documentation are deemed to be commercial computer software
as defined in FAR 12.212 and subject to restricted rights as defined in FAR Section 52.227-19
"Commercial Computer Software - Restricted Rights" and DFARS 227.7202, et seq.
"Commercial Computer Software and Commercial Computer Software Documentation," as
applicable, and any successor regulations, whether delivered by Veritas as on premises or
hosted services. Any use, modification, reproduction release, performance, display or disclosure
of the Licensed Software and Documentation by the U.S. Government shall be solely in
accordance with the terms of this Agreement.
http://www.veritas.com
Technical Support
Technical Support maintains support centers globally. All support services will be delivered
in accordance with your support agreement and the then-current enterprise technical support
policies. For information about our support offerings and how to contact Technical Support,
visit our website:
https://www.veritas.com/support
You can manage your Veritas account information at the following URL:
https://my.veritas.com
If you have questions regarding an existing support agreement, please email the support
agreement administration team for your region as follows:
Japan [email protected]
Documentation
Make sure that you have the current version of the documentation. Each document displays
the date of the last update on page 2. The latest documentation is available on the Veritas
website:
https://sort.veritas.com/documents
Documentation feedback
Your feedback is important to us. Suggest improvements or report errors or omissions to the
documentation. Include the document title, document version, chapter title, and section title
of the text on which you are reporting. Send feedback to:
You can also see documentation information or ask a question on the Veritas community site:
http://www.veritas.com/community/
https://sort.veritas.com/data/support/SORT_Data_Sheet.pdf
Contents
Index .................................................................................................................... 45
Chapter 1
Introduction to NetBackup
for MariaDB Agent
This chapter includes the following topics:
Note: Ensure that the MariaDB agent and NetBackup are of same version for
successful backup and restore operations.
Introduction to NetBackup for MariaDB Agent 7
Features of NetBackup for MariaDB
Feature Description
Backup The agent supports full instance backups of the MariaDB database.
Step Action
Step Action
Step 3 Install the NetBackup for MariaDB Agent on your operating system.
■ Set the privileges for the MariaDB users for backup and restore operations.
Table 2-2 lists the user type and the privileges for the respective user.
To set the MariaDB server user privileges, run the following MariaDB commands:
GRANT SELECT, INSERT, UPDATE, CREATE, DROP, RELOAD, SHUTDOWN, FILE,
INDEX, ALTER, SUPER, LOCK TABLES, CREATE VIEW, SHOW VIEW, TRIGGER,
CREATE ROUTINE, DELETE, EVENT, ALTER ROUTINE ON, *.* TO 'USER' @
'localhost' IDENTIFIED BY 'PASSWORD';
■ NBMariaDBAgent_8.2_AMD64/cab1.cab
■ NBMariaDBAgent_8.2_AMD64/Setup.exe
■ NBMariaDBAgent_8.2_AMD64/NBMariaDBAgent.msi
When you install the agent, accept the VERITAS LICENSE AGREEMENT to proceed
with installing the agent successfully.
The agent by default gets installed at the following locations:
■ (Windows) C:\Program Files\VERITAS\NBMariaDBAgent
■ (Linux RHEL & SUSE) /usr/NBMariaDBAgent/
Installing the NetBackup for MariaDB Agent 13
Installing NetBackup for MariaDB Agent
Note: Ensure that the MariaDB agent and NetBackup are of same version for
successful backup and restore operations.
To accept the EULA agreement automatically (silent installation), create a
/tmp/AgentInstallAnswer.conf file with following content:
Prerequisites
Before you authenticate the password, you must meet the following prerequisites:
■ (Windows) Set the user environment variable MYSQL_HOME to point to my.ini
file path.
■ (Linux) Include the Mariadb bin directory in $PATH.
To authenticate the password
1 (Optional) Add the client section.
2 Under the Client section, edit the my.ini or my.cnf file to add the password.
For example,
[client]
port=3306
password=<password>
3 To verify the password authentication, login to MariaDB server using the
following command:
mysql -u <user>
If the nbmariadb.conf file does not exist, you can create the file by running the
backup utility command without any options. For example, run the ./nbmariadb
command. This command creates the default nbmariadb.conf file.
Table 3-1 lists the nbmariadb.conf file parameters:
DB_PORT Configures the MariaDB database Backups and When you do not specify
server port number on which the restores the port number, the
backup or the restore should be default is 3306.
performed. The port number verifies
the MariaDB service status.
DB_USER Configures the MariaDB database Backups When you do not specify
user name. the username, the default
is root.
CLIENT_NAME Defines the NetBackup MariaDB Redirected When you do not specify
client name. restores and query the client name, the
default is NetBackup
master server.
SNAPSHOT_SIZE (Linux) Specifies the snapshot size LVM backups When you do not specify
for LVM snapshots. Specify the the snapshot size, the
snapshot size in kilobytes, default is MB.
megabytes, or gigabytes as KB, MB,
or GB respectively.
Configuring the NetBackup for MariaDB 17
The nbmariadb.conf configuration file
NBMARIADB_LOG_LEVEL The NBMARIADB_LOG_LEVEL The log levels help When you do not specify
parameter lets you set the logging to control the the nbmariadb log level,
level for the nbmariadb logs. For a amount of the default is log level 1.
information that
particular logging level, all details at
that level or lower are logged. you want to
access for
The nbmariadb debug logs includes
troubleshooting
the following verbose levels:
errors.
■ 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.
NBMARIADB_LOG_SIZE Specifies the nbmariadb log size in You can specify When you do not specify
MB. The default size is 10MB. When the value the nbmariadb log size,
the log reaches the specified size, it according to the the default is 10MB.
overwrites the existing log events that you
information. want to write into
the logs.
Configuring the NetBackup for MariaDB 18
Configuring the MariaDB backups with DataStore policies
Note: The XBSA framework supports the Application Backup schedule type
only.
Configuring the NetBackup for MariaDB 19
Configuring the MariaDB backups with DataStore policies
8 Under the Clients tab, click New and then add the NetBackup client that has
the NetBackup for MariaDB Agent.
9 In the Add Client screen, click New, and then in the Client Name field, type
the name of the client.
10 In the NetBackup Administration Console, click NetBackup Management
> Policies to view the policy in the existing policies list.
11 Verify the settings in nbmariadb.conf file, before you run the backup.
12 For more information, See “The nbmariadb.conf configuration file” on page 15.
Note: Ensure that the MariaDB agent and NetBackup are of same version for
successful backup and restore operations.
Chapter 4
NetBackup for MariaDB
backup and restore
This chapter includes the following topics:
■ Redirected restores
■ Disaster recovery
Note: Ensure that the MariaDB agent and NetBackup are of same version for
successful backup and restore operations.
MariaDB
Database server Sends MariaDB data
for back up
Requests snapshot, reads and
mounts snapshot, reads the NetBackup 3 NetBackup
MariaDB data MariaDB agent master server
2 5
Snapshot Back up status is
creation returned
NetBackup
media server
NetBackup client
NetBackup XBSA
MariaDB data is
VSS/LVM Snapshot 4 backed up
Storage unit
The agent copies the associated files (the whole instance or the individual database)
and then sends to the NetBackup XBSA interface. The NetBackup XBSA interface
writes this data to the mounted media or disk storage managed by the NetBackup
media server.
The command prompt displays the successful completion status of the backup.
The Activity Monitor also displays the status for the backup job.
Note: Ensure that the snapshot size is 50% of the instance size that you want
to backup.
■ (Linux) Create a symbolic link libmariadb.so and ensure that it points to the
correct libmariadb.so.<n> library version.
Ensure that you update the MARIADB_LIB_INSTALL_PATH parameter in the
nbmariadb.conf file with the absolute path of the symbolic link.
For more information, See “Post-installation requirements for NetBackup for
MariaDB Agent” on page 11.
■ Set the FLUSH and LOCK user privileges.
■ Set the following parameters in the nbmariadb.conf file:
■ DB_USER
NetBackup for MariaDB backup and restore 23
Performing MariaDB backups
■ DB_PORT
■ MASTER_SERVER_NAME
■ POLICY_NAME
■ SCHEDULE_NAME
■ MARIADB_LIB_INSTALL_PATH
■ (Linux) SNAPSHOT_SIZE
-S master_server_name
-P policy_name
-s schedule_name
(Linux)-z snapshot_size
-l mariadb_library_path
[-portnum db_port]
[-u db_user]
(Linux)-b backup_type
2 (Optional) When prompted, type the database password. The NetBackup then
connects to the database and initiates the backup.
By default, NetBackup uses the values that you have configured in the
nbmariadb.conf file.
Before you run a query, you must set the following parameters in the
nbmariadb.conf file or provide on the command line:
■ CLIENT_NAME
■ POLICY_NAME
■ MASTER_SERVER_NAME
To query backup
1 Configure the settings in the nbmariadb.conf file or the nbmariadb command
line.
2 Run the following command:
nbmariadb -o query -S master_server_name [-C client_name] [-P
policy_name]
For example, to query a backup from Client A, run the following command:
nbmariadb -o query -S master_server_name [-C ClientA]
For example, to list backup files with the policy name policy_name, run the following
command:
nbmariadb -o query -S master_server_name [-P policy_name]
For example, to query a backup from the client Client A with policy name
policy_name, run the following command:
■ DB_BACKUP_ID
■ MASTER_SERVER_NAME
To delete a backup
1 Configure the parameters, in the nbmariadb.conf file or the nbmariadb
command line.
2 Run the following command:
nbmariadb -o delete -S master_server_name -id db_backup_image_name.
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 NetBackup master server.
Note: Ensure that the MariaDB agent and NetBackup are of same version for
successful backup and restore operations.
NetBackup for MariaDB backup and restore 26
About restoring MariaDB backups
Read progress
file
2
Progress file
NetBackup
media server
NetBackup client
NetBackup XBSA
Storage unit
Prerequisites
Before you run a restore, you must meet the following prerequisites:
■ Ensure that versions of the MariaDB agent and NetBackup are same. If you
upgrade NetBackup to newer version, then you must upgrade the agent version
also.
NetBackup for MariaDB backup and restore 27
Performing the restores for MariaDB databases
■ (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.
■ (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
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.
Note: Ensure that the MariaDB agent and NetBackup are of same version for
successful backup and restore operations.
NetBackup for MariaDB backup and restore 28
Disaster recovery
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]
Disaster recovery
Disaster recovery is the plan to recover the data that may get lost in a disaster
event. The agent supports redirected restore as a disaster recovery strategy.
For more information, See “Redirected restores” on page 27.
Chapter 5
Troubleshooting for
NetBackup for MariaDB
This chapter includes the following topics:
Step1 Remember the error Error messages are usually the vehicles for telling
message you something went wrong. If you do not see an
error on the command line, but still suspect a
problem, check the logs and the reports. These
can provide an error message that directly points
to the problem. The logs and reports are essential
troubleshooting tools.
Troubleshooting for NetBackup for MariaDB 30
Troubleshooting errors when using NetBackup for MariaDB
Step 2 Identify what you were doing Ask the following questions:
when the problem occurred.
■ What operation was tried?
■ What method did you use?
■ What type of server platform and operating
system was involved?
■ If your site uses both master server and media
server, was it a master server or a media
server?
■ If a client was involved, what type of client was
it?
■ Have you performed the operation successfully
in the past? If so, what is different now?
■ What is the service pack level?
■ Do you use operating system software with the
latest fixes supplied, especially those required
for use with NetBackup?
■ Is your device firmware at a level, or higher than
the level, at which it has been tested according
to the posted device compatibility lists?
Step 4 Correct the problem. After you define the problem, use the information
to correct it.
Step 5 Contact Technical Support If you cannot solve the troubleshooting, contact
the Technical support.
■ install_path\NetBackup\logs\bpcd
Troubleshooting for NetBackup for MariaDB 31
Troubleshooting errors when using NetBackup for MariaDB
■ install_path\NetBackup\logs\user_ops\dbext\logs
You must enable the bprd and the bpcd log files. For more information, see the
NetBackup Troubleshooting Guide
The logs that are specific to NetBackup for MariaDB Agent are located at:
■ install_path\nbmariadb.log
The logs that are specific to NetBackup XBSA are located at:
■ <NetBackup_install_path>/netbackup/logs/exten_client
The nbmariadb backup fails You may encounter this problem Verify the following and then run the backup again:
with the following error: when the nbmariadb.conf file
■ Add or update the MariaDB library file location
is not updated with the following:
Unable to load mariadb library in the nbmariadb.conf file.
■ MARIADB_LIB_INSTALL_PATH ■ Ensure that the
■ MARIADB_LIB_INSTALL_PATH MARIADB_LIB_INSTALL_PATH is set to the
does not point to correct path. It should point to libmariadb
libmariadb.so.<n> library version.
library version. ■ (Linux) Create a symbolic link
libmariadb.so that points to the
libmariadb.so.<n> library version.
The nbmariadb backup fails The nbmariadb backup fails To add the appropriate database user name and
with the following error: when the nbmariadb.conf file port number
is updated with invalid username
Unable to connect to the ■ Configure the appropriate database user name
or port number.
database and port number in the nbmariadb.conf file
or provide the parameters from the
nbmariadbcommand line.
For more information, See “The
nbmariadb.conf configuration file” on page 15.
Troubleshooting for NetBackup for MariaDB 32
Troubleshooting errors when using NetBackup for MariaDB
The nbmariadb backup fails The nbmariadb backup fails if To run a nbmariadb backup
with the following error: the environment variable path is
■ Update the environment variable path with
not updated with NetBackup bin
Unable to load xbsa.dll NetBackup_install_path/bin.
directory.
The nbmariadb backup fails The nbmariadb backup fails if To run the nbmariadb backup
with the following error: the nbmariadb.conf file is not
■ Configure the valid master server name, policy
updated with the required
XBSA initiation failed name, schedule type in the nbmariadb.conf
parameters.
file or from the command line.
■ Verify if there are communication errors
between the nbmariadb agent and the
NetBackup master server.
For more information see the NetBackup
Administration guide.
(Windows)VSS snapshot The nbmariadb backup may Run cmd.exe in Administrator mode.
creation failed fail when the user does not have
the privileges to run the
nbmariadb operations.
The nbmariadb restore The nbmariadb restore fails if For a successful restore
operation does not restore any the nbmariadb.conf file is not
■ Verify that the target directory is valid and
data from the target NetBackup updated with the NetBackup
empty.
client. client name and the target
■ Initiate the restore from the NetBackup source
directory.
client.
■ Set the NetBackup client name and target
directory parameters in the nbmariadb.conf
file.
The nbmariadb backup fails The nbmariadb backup may To verify the space in the volume group
with the following error: fail when the volume group does
1 To view the space in the volume, run the
not have sufficient space for the
(Linux) Error creating LVM following command:
snapshot.
snapshot
$vgs
To verify the space in the
volume group The command displays the volume group
details.
Error messages after a The nbmariadb backup gives To remove the snapshots
successful backup: these errors when the volume
1 To list the existing snapshot, run the
group contains the snapshots.
<volume_group>/<snapshot_name> following command:
You can list the snapshots and
Read failure after 0 of 4096 at
then remove them before you $lvs
29393616896: input or output
run the backup again.
error. The command displays the snapshot details.
Note: The nbmariadb created
OR 2 To remove the snapshots, run the following
LVM snapshot names are
command:
<volume_group>/<snapshot_name>: prefixed with mariadbsnap
read failure after 0 of 4096 at $ lvremove -f
4096: input or output error. <volume_group>/<snapshot_name>
The nbmariadb backup fails You may encounter this problem Verify the following and then run the backup again:
with the following error: when the nbmariadb.conf file
■ Add or update the MariaDB library file location
is not updated with the following:
"Failed to load MariaDB Library" in the nbmariadb.conf file.
■ MariaDB library file location. For more information, See “The
■ The nbmariadb.conf configuration file” on page 15.
MARIADB_LIB_INSTALL_PATH ■ Ensure that the
does not point to MARIADB_LIB_INSTALL_PATHis set to the
libmariadb.so.<n> absolute path of the symbolic link.
■ (Linux) Create a symbolic link
libmariadb.so and ensure that it points to
the correct libmariadb.so.<n> library
version.
For more information, See “Post-installation
requirements for NetBackup for MariaDB
Agent” on page 11.
Troubleshooting for NetBackup for MariaDB 34
Troubleshooting errors when using NetBackup for MariaDB
The nbmariadb backup on The nbmariadb backup fails To unmount the snapshot
Linux (LVM), fails with the during an attempt to unmount
1 To list all mounted file systems run the
following error: the snapshot, the device, or
following command:
when you remove the existing
Error unmounting the
snapshots. $ mount-l
snapshot-Device or resource
busy 2 If the snapshot still exists, create a mount
directory using the following command:
OR
$mount<mount_directory>
Error removing the
snapshot-mariadbsnap_<timestamp> Note: This directory is created in
/mnt/<snapshot_name>. The prefix
names for snapshot are pgsqlsnap.
1vremove -f
<volume_group>/<snapshot_name>
Even after a successful restore, The restore operation is ■ Verify that the MariaDB agent and NetBackup
the MariaDB services failed to successful, only when you are of same version for successful restore
start. restore the backup on a machine operations.
that has the same minor version ■ Verify that the MariaDB version from the
of MariaDB. backed up data is same as the MariaDB
version on the computer where you want to
For example, if you back up a
restore the data.
file from MariaDB version 10.2.x,
then you must restore the file to
a computer with MariaDB
version 10.2.x.
Troubleshooting for NetBackup for MariaDB 35
Troubleshooting errors when using NetBackup for MariaDB
The nbmariadb.conf file is Starting from NetBackup 8.2, the If the nbmariadb.conf file does not exist, you
missing after installing the agent nbmariadb.conf file is not can create the file by running the backup utility
on RHEL or SUSE created by default when you command without any options. For example, run
install the agent on RHEL or the ./nbmariadb command. This command
SUSE. The existing creates the default nbmariadb.conf file.
configuration file is prevented
from getting overwritten as the
RPM installer simply overwrites
any existing files in the
destination directory
/usr/NBMariaDBAgent/.
Appendix A
About NetBackup for
MariaDB commands and
conventions
This appendix includes the following topics:
■ The parameters that you provide on the command line takes precedence over
the nbmariadb.conf file.
■ Specify the operation type -o on the nbmariadb command line.
■ Specify the parameters and options for the respective operations on the
nbmariadb command line or in the nbmariadb.conf file.
About NetBackup for MariaDB commands and conventions 37
About NetBackup for MariaDB command conventions
Options Description
-h Displays the Help usage, when it is the only option on the nbmariadb
command line.
-id Configures the specified backup using the backup image name.
-portnum Configures the database server port number that identifies the MariaDB
instance on which the backup or restore is performed.
nbmariadb -h
■ Brackets [ ] indicate that the enclosed component of the command line is optional.
Other parameters are required.
About NetBackup for MariaDB commands and conventions 38
About NetBackup for MariaDB command conventions
■ Italics indicate that the information is user supplied. For example, you may
provide the policy name and the schedule name for a backup operation.
■ nbmariadb -o backup
■ nbmariadb -o restore
■ nbmariadb -o query
■ nbmariadb -o delete
NetBackup for MariaDB commands 40
nbmariadb -o backup
nbmariadb -o backup
nbmariadb -o backup – runs the backup operation from the NetBackup client.
SYNOPSIS
nbmariadb -o backup
-S master_server_name
-P policy_name
-s schedule_name
(Linux) -l mariadb_library_path
(LVM) -z snapshot_size
[-portnum db_port]
[-u db_user]
Description
This command invokes the backup operation from the NetBackup client using the
NetBackup DataStore policy name and the schedule type. The parameter -S and
-P are required parameters for Windows. The parameters -l and (LVM) -z are
required parameters for Linux. The -portnum, -b, and -u are the optional
parameters.
On Linux systems, the directory path is /usr/NBMariaDBAgent/
On Windows, the directory path is install_path\NBMariaDBAgent\
Options
-l
(Linux) Configures the MariaDB library directory
-portnum
Configures the database port number that identifies the MariaDB instance on
which the backup is performed.
-P
Configures the NetBackup DataStore policy name.
NetBackup for MariaDB commands 41
nbmariadb -o backup
-S
Configures the NetBackup server name.
-s
Specifies the schedule name that you have configured for the DataStore policy.
-u
Configures the database user name.
-z
(LVM backups) Specifies the LVM snapshot size.
-b Configures the backup type as LVM or non-LVM.
NetBackup for MariaDB commands 42
nbmariadb -o restore
nbmariadb -o restore
nbmariadb -o restore – restores the backup files from the NetBackup server.
SYNOPSIS
nbmariadb -o restore -S master_server_name -t target_directory
-portnum db_port[-id db_backup_image_name] [-C client_name]
Description
The nbmariadb command restores the backup file using -t, -S, and (non-LVM)
portnum as the required parameters. The -id and -C are optional parameters.
Options
-C
Specifies the client name.
-id
Specifies the backup image name.
-portnum
Specifies the database server port.
-S
Configures the NetBackup master server.
-t
Configures the target directory where the backups are restored.
NetBackup for MariaDB commands 43
nbmariadb -o query
nbmariadb -o query
nbmariadb -o query – query the backup.
SYNOPSIS
nbmariadb -o query -S master_server_name [-C client_name] [-P
policy_name]
Description
The nbmariadb -o query command gets the backup using -S as the required
parameter and -C and -P as optional parameters.
On Linux systems, the directory path to this command is /usr/NBMariaDBAgent/
On Windows systems, the directory path to this command is
install_path\NBMariaDBAgent\
Options
-C Retrieves and lists all the backups of the specified client.
-P Retrieves and lists all backups with the specified policy name.
-S Configures the NetBackup master server.
NetBackup for MariaDB commands 44
nbmariadb -o delete
nbmariadb -o delete
nbmariadb -o delete – deletes the backup information from the NetBackup catalog
files.
SYNOPSIS
nbmariadb -o delete -S master_server_name -id db_backup_image_name
Description
The nbmariadb -o delete command deletes the backup information from the
NetBackup catalog files, but retains the backups in the storage media.
The parameter -S and -id are the required parameters.
Options
-id
Specifies the backup using the backup image name.
-S
Configures the NetBackup master server.
Index
A M
authenticating password 13 MariaDB agent
backup 6
B features 6
redirected restore 6
backup
restore 6
associated files 21
MARIADB_LIB_INSTALL_PATH 15
backup information 21
MARIADB_TARGET_DIRECTORY 15
client name 21
delete 21
mariadb library path 21 N
mariadb library version 21 nbmariadb.conf file
master server 21 client 15
policy name 21 command line 15
query 21 configure 15
schedule name 21 default 15
snapshot size 21 location 15
symbolic link 21 parameters 15
validate 21 predefined settings 15
required parameters 15
C NBMARIADB_LOG_LEVEL 15
NBMARIADB_LOG_SIZE 15
CLIENT_NAME 15
D O
operating systems 10
DataStore policy 18
DB_BACKUP_ID 15
DB_PORT 15 P
DB_USER 15 package 7, 12
Default Application Backup 18 platform files 12
POLICY_NAME 15
F post installation requirements 11
prerequisites
features 7
installed 10
MariaDB database 10
I NetBackup 8.2 10
installation 9
installing 13
R
restore
L altnames directory 27
license 8 data directory 27
destination client 27
Index 46
restore (continued)
different client 27
different file path 27
different host 27
MariaDB services 27
ownership of data directory 27
parameters 27
portnum 27
target directory 27
restores
redirected 27
target directory 27
S
SCHEDULE_NAME 15
snapshot 7
SNAPSHOT_SIZE 15
U
uninstalling 14
user privileges 11
W
workflow 7