Skip to main content

Posts

Showing posts from January, 2011

Symantec NetBackup CLI Troubleshooting

Did you ever need to troubleshoot Symantec NetBackup from the Command Line? Here you go! (Commands also work on Linux, Solaris and Windows)


C:\Program Files\Veritas\NetBackup\bin\
bpps             = list NetBackup services
nbconsole        = launch NetBackup Administration Console GUI
bpdown -v -f     = shut down NetBackup services by force and show in verbose
bpup -v -f       = start NetBackup services and show in verbose

C:\Program Files\Veritas\NetBackup\bin\admincmd\
bpexpdate -m 123456 -d 0  = expire media ID 123456, effectively releasing the assignment of that tape
nbemmcmd -listmedia -mediaid 123456    = show the parameter of media 123456
nbpemreq -suspend_scheduling           = suspend your policies (running jobs are not affected)
nbpemreq -resume_scheduling            = resume the policies again

C:\Program Files\Veritas\volmgr\bin\
vmoprcmd                     = list devices and media server status (it will say "ACTIVE" if disk and tape are up)
vmoprcmd -d          …