Ransomware attackers specifically target and attempt to destroy backup systems to increase the probability of payment. Hardening your system is critical. Please ensure you have reviewed your platform security using the Security Hardening Checklist
Cohesity

COHESITY Documentation

Explore our documentation to get started, discover products & new features, access troubleshooting guides, register sources, platforms support.

Products
Data Security Alliance
Visit Cohesity.com
Demos
Support
Blogs
Developers
Partner Portals
Cohesity Community
© 2026 Cohesity, Inc. All Rights Reserved.
Terms of Use|
Privacy Policy|
Legal|
  1. Home
  2. NetBackup™ Commands Reference Guide
  3. Appendix A. NetBackup Commands
  4. nbmariadb
NetBackup™ Commands Reference Guide

Name

nbmariadb — protects MariaDB instances and databases

SYNOPSIS

nbmariadb -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]

nbmariadb -o restore -S primary_server_name -t target_directory -portnum database_server_port [-id db_backup_id] [-C client_name]

nbmariadb -o query -S primary_server_name [-P policy_name] [-C client_name] [-instance database_instance_name]

nbmariadb -o delete -S primary_server_name -id db_backup_id

nbmariadb -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.

Feedback

Was this page helpful?
Previous

nblogparser

Next

nbmysql

Feedback

Was this page helpful?