cancel
Showing results for 
Search instead for 
Did you mean: 

NBU Command - Check backup jobs on Master server

FujSOL
Level 4
Partner

Hello  

Got a query on an issue I am facing.

I am running backup commands from a client (Linux) which will initiate a snapshot.  The command is bpbackup

I am looking for a command which will check the status of the backup jobs which have been kicked off by the above command.

Do you know of any commands?

Thanks

FujSol

1 ACCEPTED SOLUTION

Accepted Solutions

Marianne
Moderator
Moderator
Partner    VIP    Accredited Certified

Add log file  '-L /path/logfile' to the bpbackup command.

You can then use 'tail -f /path/logfile'  in another window on the client to monitor progress.

***EDIT***

Above is to monitor progress on client. Activity Monitor or bpdbjobs to monitor on Master....

View solution in original post

10 REPLIES 10

mph999
Level 6
Employee Accredited

bpdbjobs is the command line equiv of activity monitor.  This would I think haveto be run from the master server (or a media server).

Martin

Mark_Solutions
Level 6
Partner Accredited Certified

As Martin says the bpdbjobs is the way

You need to identify the job itself so could use bpstart_notify on the client to write out the job pic to a file and / or use  the bpend_notify to write to a file and then monitor that file

As well as the parameters shown it also has the pid so if you enable multiple data streams and put the following in the bpstart_notify:

@echo pid %stream_pid% > "c:\bpstart.log"

It will pipe out the job pid

If you put the following in the bpend_notify:

@echo Stream PID %stream_pid% finished with status %5>>c:\bpend.log

The status of each stream is pipe out when the job finishes

Hope this give some ideas

Marianne
Moderator
Moderator
Partner    VIP    Accredited Certified

Add log file  '-L /path/logfile' to the bpbackup command.

You can then use 'tail -f /path/logfile'  in another window on the client to monitor progress.

***EDIT***

Above is to monitor progress on client. Activity Monitor or bpdbjobs to monitor on Master....

FujSOL
Level 4
Partner

Hello Marianne

During testing i tried using -L for bpbackup for a windows server and was presented with "EXIT STATUS 144: invalid command usage".  The bpbackup was calling a policy which was a simply a MS-Windows Policy.

Is there a reason for the error?

Many thanks

Andrew

Marianne
Moderator
Moderator
Partner    VIP    Accredited Certified
Please show us full command - with and without -L .

FujSOL
Level 4
Partner

bpbackup -i -p SDC02_SI_PWS_002 -S [MASTERSERVERNAME] -t 13 -h [CLIENTNAME] -s Full-Weekly -L e:\logfile

bpbackup -i -p SDC02_SI_PWS_002 -S [MASTERSERVERNAME] -t 13 -h [CLIENTNAME] -s Full-Weekly

Do you think the order of the command has anything to do with it?

Marianne
Moderator
Moderator
Partner    VIP    Accredited Certified

I will do some tests today but our Lab server is offline at the moment...

Will_Restore
Level 6

I get this msg on client. 

 

bpbackup -i  can only be run on the Master server

Marianne
Moderator
Moderator
Partner    VIP    Accredited Certified

If we look at command usage, it does not really to matter where -L goes:

http://www.symantec.com/docs/HOWTO43639

bpbackup -i [-p policy] [-h hostname] [-s schedule] [-S master_server...] [-t policy_type] [-L progress_log [-en]] [-w [hh:mm:ss]] [-k "keyword_phrase"]

Please double-check that there is not already a file or folder called logfile in E:\

FujSOL
Level 4
Partner

Thanks Marianne - i am running the commands and i am seeing logs, I deleted what logs were in there and then ran the bpbackup command again.  Will keep you posted. 

FujSol