NetWorker recover completion query program (nsrrecomp)

The nsrreccomp command is a command-line based program used to query the NetWorker server's jobs database and the recover log files in order to display a recover completion report. The jobs database is maintained by the nsrjobd(1m) daemon and can alternatively be queried using the jobquery(1m) command.

The recover log files are located on the NetWorker server machine in the /nsr/logs/recover directory.

NOTE: Manual recovers have a recover_job_name of recover.

examplecommand
Display recover completion report for the scheduled recover resource recover1. nsrreccomp recover1
The above command is equivalent to nsrreccomp —H — i — o — b 2048 recover1
Display recover completion report from a specific server. nsrreccomp -s example.server.com recover1
List all of the recover records in the jobs database nsrreccomp —L
List the recover records for scheduled recover recover1 presently in jobs database. nsrreccomp — L recover1
Display recover completion report for scheduled recover recover1 started at time start_time. nsrreccomp — t start_time recover1
Display only information about a specific source client for the most recent scheduled recover run. nsrreccomp — c example.client.com recover1
The above command is equivalent to nsrreccomp —H — i — o — b 2048 -c example.client.com recover1
Display only the header. nsrreccomp — H recover1
Display at most the last 50 lines of output for the most recent recover job recover1. nsrreccomp — l 50 recover1
Display at most the last 1024 bytes of output for the most recent recover job recover1. nsrreccomp — b 1024 recover1 NOTE: The —b option does not include partial lines, so this will likely result in less than 1024 bytes of output from the job.