Forum Discussion

seanbrittus's avatar
16 years ago

NetBackup recycler

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
  • 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"


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


    Regards

    Nicolai
  • Try bpup -f -v & bpdown -f -v it will show u the all netbackup services detail
  • Try bpup -f -v & bpdown -f -v it will show u the all netbackup services detail
  • 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"