02-19-2015 12:06 PM
I'm running NBU 7.0.1 Enterprise Server. Is there a command to set the services to auto start at boot? Currently, they're all set to start manually. I would've thought that bpup would've had an option switch to address that but, apparently not. I really want to avoid having to use the Windows Services MMC to individually change the ~15-20 related services manually.
Thank you in advance.
Solved! Go to Solution.
02-19-2015 11:03 PM
sc can change the start mode of a service
Be aware that not all Netbackup services should be automatic if you not using all the features
02-19-2015 12:38 PM
Go into services (from Run-> services.msc)
Find the NetBackup daemons and highlight, right click and goto Properties. Change Startup Type from Manual to Automatic. It's only a few services and once done should not need doing again!!
On installation it is set to Automatic by default.
I've attached a snippet of the NetBackup Services I have set to Auto-Start.
Click both images to open them up (one is for NBU Services and the other for Symantec PBX Service)
02-19-2015 12:54 PM
Thank you kindly for the reply, revarooo. I know how to manually change the setting but, I'm looking for a quicker, more streamlined method via the native NBU command-line set. Does a command option exist or can this only be done manually?
02-19-2015 01:13 PM
How about create a batch file to start up NetBackup: "C:\program files\veritas\netbackup\bpup -f"
and add it to the Windows Startup under Start -> All Programs -> Startup. Not recommended, I'd stick with using the services. Is there any reason you don't want to use the Windows Services?
02-19-2015 04:17 PM
Thank you for the suggestion. However, I was looking for something quicker and could just be executed w/ a single command syntax. Again, the reason I don't want to use the Services MMC is because, it's slow and cumbersome to make those changes, especially in a troubleshooting situation, etc.
Thank you again for your assistance! Much appreciated!
02-19-2015 11:03 PM
sc can change the start mode of a service
Be aware that not all Netbackup services should be automatic if you not using all the features
02-19-2015 11:20 PM
Single command syntax -
Start: bpup -f -v
Stop: bpdown -f -v
02-19-2015 11:30 PM
02-20-2015 01:28 PM
This only starts and stops the services, but does not change the startup type.
02-20-2015 01:40 PM
Thanks, Michael. I was looking for a native NBU command-line option that could do that but, it would seem that there isn't one and this is the next best option. For anyone that needs/wants to know, this is what I used:
'sc config {ServiceKeyName} start= {auto | demand}'
{ServiceKeyName} = name of the NetBackup service
02-20-2015 02:41 PM
Correct, it was me, which lead me to my question. It would be nice feature request/product enhancement though.
02-20-2015 08:25 PM