NetBackup™ Web UI MySQL Administrator's Guide
- Overview
- Managing MySQL instances and databases
- Managing MySQL environment credentials
- Protecting MySQL instances and databases
- Restoring MySQL instances and databases
- Troubleshooting MySQL operations
- API for MySQL instances and databases
Configure MySQL instance
You can configure MySQL protection using the following environment variables:
(optional) PATH - Add MySQL bin path to this environment variable for running queries and connecting to databases.
(optional) LIB_MYSQL_CLIENT_<port> - This environment variable is used for MySQL multi-instance deployment.
For Windows set this environment variable to provide the location of
libmysql.dll
library.For Linux set this environment variable to provide the location of
libmysqlclient.so
library.
(optional) MYSQL_SOCKFILE_<port> - This environment variable is used for MySQL multi-instance deployment. For Linux set this environment variable to provide the location of respective instances
mysql.sock
file.(optional) MYSQL_BACKUP_DUMP_DIRECTORY - Set this environment variable as temporary backup dump directory for non streaming backup. For example, for Linux, user can set this environment variable to required location using below command:
echo "export MYSQL_BACKUP_DUMP_DIRECTORY=/home/custom_dump_dir_location/" > > ~/.bashrc
For Windows, user can create new environment variable and add path of folder location as below:
MYSQL_BACKUP_DUMP_DIRECTORY=C:\custom_dump_dir_location
(optional) LVM SNAPSHOT_SIZE - Set this environment variable to provide the snapshot size for LVM backup for Linux operating system only. You can set environment variable of LVM Snapshot size to 500 MB using below command:
echo "export LVM_SNAPSHOT_SIZE=500MB" >> ~/.bashrc
Note:
The default snapshot size is set to 500MB.