cancel
Showing results for 
Search instead for 
Did you mean: 

NetBackup recycler

seanbrittus
Level 3
I am trying to generate a process script to recycle (start or stop) the Netbackup services, but it is failing for some reason. Can anyone identify the problem?

@echo off
net %1 VxENE
net %1 Veritas GDM Information server
net %1 NetBackup Client Service
net %1 NetBackup Database Manager
net %1 NetBackup Device Manager
net %1 nbdbd
net %1 NetBackup Request Manager
net %1 NetBackup Volume Manager
1 ACCEPTED SOLUTION

Accepted Solutions

erin4fry
Level 3
Try this (you need to enclose the services in quotes)
Or you can get the actual service name(s) - which usually don't have spaces in them...

@echo off
set action=%1
net %action% VXEne
net %action% "Veritas GDM Information Server"
net %action% "NetBackup Client Service"
net %action% "NetBackup Database Manager"
net %action% "NetBackup Device Manager"
net %action% nbdbd
net %action% "NetBackup Request Manager"
net %action% "NetBackup Volume Manager"

View solution in original post

5 REPLIES 5

Nicolai
Moderator
Moderator
Partner    VIP   


Why not use bpup and bpdown instead ?.  These two command are documented in the "Veritas Netbackup commands".


Regards

Nicolai

basker
Level 3
.

Shashank
Level 4
Try bpup -f -v & bpdown -f -v it will show u the all netbackup services detail

Shashank
Level 4
Try bpup -f -v & bpdown -f -v it will show u the all netbackup services detail

erin4fry
Level 3
Try this (you need to enclose the services in quotes)
Or you can get the actual service name(s) - which usually don't have spaces in them...

@echo off
set action=%1
net %action% VXEne
net %action% "Veritas GDM Information Server"
net %action% "NetBackup Client Service"
net %action% "NetBackup Database Manager"
net %action% "NetBackup Device Manager"
net %action% nbdbd
net %action% "NetBackup Request Manager"
net %action% "NetBackup Volume Manager"