Networker

[Networker] Determining when a clone job finishes writing to tape?

2012-11-19 05:26:32
Subject: [Networker] Determining when a clone job finishes writing to tape?
From: bingo <networker-forum AT BACKUPCENTRAL DOT COM>
To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
Date: Mon, 19 Nov 2012 02:11:53 -0800
ok, i got another idea.

After the process has started, start 'jobkill' (you may also filter for 'clone 
job') to find out the job id.
You may also use jobquery and look for active jobs ('job state: active').

Afterwards you can get all job details by querying the jobs db (again):

C:\>jobquery
NetWorker jobs query utility.
Use the "help" command for help.
jobquery> . job id: <job_id_#>
Current query set
jobquery> show start time; end time
jobquery> p
                    end time: 1353319169;
                  start time: 1353319151;
jobquery>
jobquery> q

Of course, these are UNIX time stamps but they are perfect to calculate the 
duration.

+----------------------------------------------------------------------
|This was sent by carsten_reinfeld AT avus-cr DOT de via Backup Central.
|Forward SPAM to abuse AT backupcentral DOT com.
+----------------------------------------------------------------------