03-22-2012 07:00 AM
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
Solved! Go to Solution.
03-22-2012 01:23 PM
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....
03-22-2012 07:29 AM
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
03-22-2012 07:42 AM
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
03-22-2012 01:23 PM
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....
04-02-2012 01:34 AM
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
04-02-2012 02:14 AM
04-02-2012 03:52 AM
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?
04-02-2012 04:14 AM
I will do some tests today but our Lab server is offline at the moment...
04-02-2012 07:25 AM
I get this msg on client.
bpbackup -i can only be run on the Master server
04-02-2012 02:20 PM
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:\
04-05-2012 06:08 AM
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