03-19-2012 05:01 PM
We have a NetBackup Client 7.0 running on a Windows 2008 server. I'd like to initiate a backup job interactively from the command line on the client.
Actually, I want to do this as a test, before using it as a post-job command in a Veeam backup task.
With BackupExec, I'm told the command would be:
"c:\Program Files\Symantec\Backup Exec\bemcmd" -o1 -jJOBNAME
where JOBNAME is an existing Job that lacks a defined schedule.
Is there an equivalent command in NetBackup?
Thanks....Lyle
03-19-2012 06:49 PM
Yes, you can use bpbackup.
On the master, you need to add a User schedule to an existing or new policy for this client with an open window during which User backups are allowed. No need for Backup Selection if this is the only schedule in the policy.
On the client, you can specify the Backup Selection in the command or from an input file with '-f filename'. Run bpbackup with options such as:
"C:\Program Files\Veritas\netbackup\bin\bpbackup" -p <policy-name> -s <schedule-name> path/folder
or
"C:\Program Files\Veritas\netbackup\bin\bpbackup" -p <policy-name> -s <schedule-name> -f <filename>
You can also add a log file for troubleshooting, e.g. '-L <logfile>'.
See http://www.symantec.com/docs/HOWTO43639 for command usage.