NetBackup™ Commands Reference Guide
- Introduction
- Appendix A. NetBackup Commands
Name
nbmariadb — protects MariaDB instances and databases
SYNOPSIS
-o backup -S primary_server_name -P policy_name -s schedule_name -l MariaDB_library_path -z LVM_snapshot_size [-b Backup_Type] [-portnum database_server_port] [-u database_server_user] [-instance database_instance_name]
-o restore -S primary_server_name -t target_directory -portnum database_server_port [-id db_backup_id] [-C client_name]
-o query -S primary_server_name [-P policy_name] [-C client_name] [-instance database_instance_name]
-o delete -S primary_server_name -id db_backup_id
-o help
On UNIX systems, the directory path to this command is /usr/openv/netbackup/bin
On Windows systems, the directory path to this command is install_pathNetBackup\bin
DESCRIPTION
Use the nbmariadb command to perform backup, restore, query, and delete operations to protect MariaDB instances and databases. For more information about MariaDB instances and databases, see the NetBackup for MariaDB Administrator's Guide.
OPTIONS
- -b
Used to specify the backup type for the backup operation. Acceptable values are:
LVM (logical volume manager) to use the LVM snapshot method.
NONLVM (Non-logical volume manager) to use non-logical volume manager methods such as mysqldump or mariabackup.
- -C
Use this option to specify the NetBackup client name.
- -id
This option specifies the database backup image name.
- -instance
Used to list of all the database instance names.
- -l
The library path for MariaDB database.
- -o
Used to indicate what operation to perform. Possible values are:
backup: Used to initiate a backup the MariaDB from the NetBackup client using the NetBackup DataStore policy name (-P) and the schedule type (-s) specified.
Additionally, Windows backups require the primary server name (-S). Linux backups require the library path (-l) and the snapshot size (-z) parameters.
restore: Used to restore the MariaDB backup file using target directory (-t), primary server (-S), and database port number (-portnum) parameters.
query: Used to query primary server (-S) to determine what MariaDB backups are available.
delete: Deletes the backup information from the NetBackup catalog files but retains the backup on the storage media.
help: Display the help that is associated with this command.
- -P
The NetBackup DataStore policy name.
- -portnum
Specifies the port number that is associated with the MariaDB instance for backup.
- -s
The NetBackup schedule name.
- -S
Specifies the name of the NetBackup primary server.
- -t
Use this option to specify the target restore directory.
- -u
Specifies the name of database server user NetBackup uses to perform the specified operation.
- -z
Used to specify the snapshot size of LVM backup type.