cancel
Showing results for 
Search instead for 
Did you mean: 

Mysql Backup execution from the Netbackup Console

AndresV
VIP
Partner    VIP   

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

mysql01.png

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.

mysql02.png

My policy has two schedules like this:

mysql03.png

And in the backup selections, I´m pointing to a bat file.

mysql04.png

 

I hope you guys can give a hand here...

4 REPLIES 4

Thiago_Ribeiro
Moderator
Moderator
Partner    VIP    Accredited

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

AndresV
VIP
Partner    VIP   

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

 

pats_729
Level 6
Employee

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

Nicolai
Moderator
Moderator
Partner    VIP   

 

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

  • Update the environment variable path with NetBackup_install_path/bin.