NetWorker savegrp completion query program (nsrsgrpcomp)
The nsrsgrpcomp
command is a command-line based program used to query the NetWorker server's jobs database and the savegrp log files in order to display a savegrp completion report. The jobs database is maintained by the nsrjobd daemon and can alternatively be queried using the jobquery command. The savegrp log files are located on the NetWorker server machine in /nsr/logs/sg/<group_name>
directory.
example | command |
---|---|
Display savegrp completion report. | nsrsgrpcomp group1 |
The above command is equivalent to | nsrsgrpcomp —H — i — o — b 2048 group1 |
Display savegrp completion report from a specific server. | nsrsgrpcomp -s bar.com group1 |
List all savegroup records presently in jobs database | nsrsgrpcomp —L |
List savegroup records for group 'groupname' presently in jobs database | nsrsgrpcomp — L groupname |
Display savegrp completion report for group 'groupname' started at time 'start_time'. | nsrsgrpcomp — t start_time groupname |
Display only information about a specific client. | nsrsgrpcomp — c foo.com group1 |
The above command is equivalent to | nsrsgrpcomp —H — i — o — b 2048 -c foo.com group1 |
Display only information about a specific save set. | nsrsgrpcomp — c bar.com — n "C:\Temp" group1 nsrsgrpcomp — c bar.com — n C:\\Temp group1 nsrsgrpcomp -n foo.com:index group1 nsrsgrpcomp — c foo.com — n /bigspace group1 |
The above command is equivalent to | nsrsgrpcomp —H — i — o — b 2048 — c foo.com — n /bigspace group1 |
Display only summary headers. | nsrsgrpcomp — H group1 |
Display at most last 50 lines of output for a specific save set | nsrsgrpcomp — l 50 — c foo.com — n /bigspace group1 |
Display at most last 1024 bytes of output for a specific save set | nsrsgrpcomp — b 1024 — c foo.com — n /bigspace group1 NOTE: — b option does not include partial lines so this will likely result in less than 1024 bytes of output from the job. |
Display output from a specific save set without prefix | nsrsgrpcomp —N — l 50 — c foo.com — n /bigspace group1 |