NetBackup™ for MySQL Administrator's Guide
Name
nbmysql -o backup — runs the backup from the NetBackup client.
SYNOPSIS
nbmysql -o backup
-S primary_server_name
-P policy_name
-s schedule_name
(Linux) -l mysql_library_path
[(Linux) -b backup_type auto, lvm, and nonlvm]
[(Linux) -d MySQL_install_directory
(LVM) -z snapshot_size
[-p database_server_port]
[-u database_server_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, -s and -P are required parameters for Windows. The parameters -l and (LVM) -z are required parameters for Linux. The -p , -u, -b, -d are the optional parameters.
Note:
In non-LVM deployments, do not set the snapshot size in the -l option.
On Linux systems, the directory path is /usr/openv/netbackup/bin
On Windows, the directory path is install_path\NetBackup\bin
Options
- -l
(Linux) Configures the MySQL library directory.
- -p
Configures the database port number that identifies the MySQL instance on which the backup is performed.
- -P
Configures the NetBackup DataStore policy name.
- -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.
- -d
Configures the MySQL install directory path.
- -b
Configures the backup type as LVM or non-LVM.