06-28-2022 09:12 AM
Hi Guys,
I´m configuring a Mysql policy (Datastore) using Netbackup 9.1.0.1.
I already configured everything, and the backup is working but only when I run the command from the client´s command prompt, I even see the job running in the activity monitor (Netbackup console)
nbmysql.exe -o backup
The problem is I can't run using frequency or manually, because even though the job is completed successfully, I don't see any data being backed up.
My policy has two schedules like this:
And in the backup selections, I´m pointing to a bat file.
I hope you guys can give a hand here...
06-30-2022 01:04 PM
Hi @AndresV
I had the same problem in another client, but I couldn't improve the troubleshooting.
Have you tried checking the bphdb logs in INSTALL PATH/netbackup/logs ?
Also, take a look at this TN, if you've already seen it, you can disregard it.
https://www.veritas.com/support/en_US/article.100047943
Thiago
06-30-2022 03:09 PM
Hi Thiago,
Looking at the logs I see this:
"C:\Program Files\Veritas\NBMySQLAgent\nbmysql.exe" -o backup -S vcsnbu -P mysql_bk -s Default-Application-Backup -l "C:\Program Files\MySQL\MySQL Server 8.0\lib"
nbmysql successful
nbmysql successful
So I really dont see where the problem is.
What I see is this: "Application popup: nbmysql.exe - System Error : The program can't start because xbsa.dll is missing from your computer. Try reinstalling the program to fix this problem. " in the event viewer
06-30-2022 09:22 PM
@AndresV This error is possibly because you have not set the PATH variable, so its failing to find xbsa.dll
Add NetBackup Client and NetBackup MySql Agent path in PATH variable.
Hope it helps.
06-30-2022 11:56 PM
Good advice from @pats_729 , it's actual also written in the debug logging section of the Netbackup mysql manual
https://www.veritas.com/support/en_US/doc/127649594-130802189-0/v127945442-130802189
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
|