Veritas NetBackup™ for MySQL Administrator's Guide
- Introduction to NetBackup for MySQL Agent
- Installing NetBackup for MySQL Agent
- Configuring NetBackup for MySQL Agent
- The NetBackup for MySQL backups and restores
- Troubleshooting for NetBackup for MySQL
- Appendix A. The NetBackup for MySQL commands and conventions
- Appendix B. The NetBackup for MySQL commands
Troubleshooting errors for the NetBackup for MySQL Agent
To troubleshoot problems, you can refer to the logs that are specific to NetBackup for MySQL Agent, NetBackup XBSA, or set the verbose logging levels in the nbmysql.conf
file. The logs are located at the following locations:
The NetBackup logs are located at:
install_path\NetBackup\logs\bprd
install_path\NetBackup\logs\bpcd
install_path\NetBackup\logs\user_ops\dbext\logs
The logs that are specific to NetBackup for MySQL Agent is located at:
install_path\nbmysql.log
The logs that are specific to NetBackup XBSA is located at:
<NetBackup_install_path>/netbackup/logs/extrn_client
.
Verify the following, before you troubleshoot the problems:
All the prerequisites are completed.
All the computers have compatible operating system versions.
The debug logs and reports are verified for errors.
For troubleshooting NetBackup problems, refer to the Veritas NetBackup Troubleshooting Guide and the Veritas NetBackup Commands Reference Guide.
Table: Troubleshooting NetBackup for MySQL backups and restores
Problems | Description | Solution |
---|---|---|
The nbmysql backup fails with the following error: An error has occurred during backup | For a successful backup, complete any of the following:
| |
The nbmysql agent fails to initiate any operation. | The MySQL agent displays an error that is related to absence of the | When the agent fails to initiate operations due to absence of the |
The nbmysql backup fails with the following error: | You may encounter this problem when the
| Verify the following and then run the backup again:
|
The nbysql backup fails with the following error message: Unable to connect to the database | The nbmysql backup fails if the | To add the appropriate database user name and port number
|
The nbmysql backup fails with the following error: Unable to load xbsa.dll | The nbmysql backup fails if the environment variable path is not updated with NetBackup bin directory. | To run a MySQL backup successfully
|
The nbmysql backup fails with the following error: XBSA initiation failed | The nbmysql backup fails if the | To run the MySQL backup successfully
|
The nbmysql backup on Linux (LVM), fails with the following error: Error unmounting the snapshot-Device or resource busy OR Error removing the snapshot-mysqlsnap_<timestamp> Note: <timestamp> is the LVM snapshot time | The nbmysql backup fails during an attempt to unmount the snapshot, the device, or when you remove the existing snapshots. | To unmount the snapshot
|
Error messages after a successful backup: <volume_group>/<snapshot_name> Read failure after 0 of 4096 at 29393616896: input or output error. OR <volume_group>/<snapshot_name>: read failure after 0 of 4096 at 4096: input or output error. | The nbmysql backup gives these errors when the volume group contains the snapshots. You can list the snapshots and then remove them before you run the backup again. | To remove the snapshots
|
The nbmysql backup fails with the following error: | The nbmysql backup may fail when the volume group does not have sufficient space for the snapshot. | To verify the space in the volume group
|
The nbmysql backup may fail when the user does not have the privileges to run the nbmysql operations. | Run cmd.exe in Administrator mode. | |
The nbmysql restore operation does not restore any data from the target NetBackup client. | The nbmysql restore fails if the | Add or update the NetBackup client name in the For more information, See The nbmysql configuration file. |
The nbmysql restore is unsuccessful when you trigger from the target client. | The nbmysql restore fails if the target directory is invalid or not empty for restores. The restore may also fail, when you initiate a redirected restore from the NetBackup target client instead of the NetBackup source client. | For a successful restore
|
Exception error during backups and restores. | The nbmysql restores and backups fail, if the disk space is not sufficient for the restore and backups. | Verify that the disk space is larger than the MySQL database and then initiate backups or restores. Note: Approximately 50% of space more than the MySQL database is required for restores and backups. |