Bacula-users

[Bacula-users] RunAfterJob %v on CopyJob

2010-11-24 18:41:57
Subject: [Bacula-users] RunAfterJob %v on CopyJob
From: Dan Langille <dan AT langille DOT org>
To: bacula-users <bacula-users AT lists.sourceforge DOT net>
Date: Wed, 24 Nov 2010 18:38:07 -0500
I have this in a Job:

  RunAfterJob  = "/home/dan/bin/dlt-stats-kraken %l %v"

The job output appears below. The key item: the write volume is ETU006

However, the %v value is: FileAuto-1305, which is the read volume.  I 
can see the case for needing both values in the script.  I'm guessing we 
need a new parameter.  :)

****

24-Nov 18:14 bacula-dir JobId 40184: The following 1 JobId was chosen to
be copied: 40164
24-Nov 18:14 bacula-dir JobId 40184: Copying using JobId=40164
Job=ngaio.2010-11-24_16.47.19_32
24-Nov 18:14 bacula-dir JobId 40184: Bootstrap records written to
/home/bacula/working/bacula-dir.restore.10.bsr
24-Nov 18:14 bacula-dir JobId 40184: Start Copying JobId 40184,
Job=CopyMegaFileToTape.2010-11-24_18.14.51_03
24-Nov 18:14 bacula-dir JobId 40184: Using Device "DTL01"
24-Nov 18:14 kraken-sd JobId 40184: Ready to read from volume
"FileAuto-1305" on device "MegaFile" (/storage/compressed/bacula/volumes).
24-Nov 18:14 kraken-sd JobId 40184: Forward spacing Volume
"FileAuto-1305" to file:block 0:2134680546.
24-Nov 18:14 kraken-sd JobId 40184: End of Volume at file 0 on device
"MegaFile" (/storage/compressed/bacula/volumes), Volume "FileAuto-1305"
24-Nov 18:14 kraken-sd JobId 40184: End of all volumes.
24-Nov 18:14 kraken-sd JobId 40184: Sending spooled attrs to the
Director. Despooling 6,701 bytes ...
24-Nov 18:14 bacula-dir JobId 40184: Bacula bacula-dir 5.0.3 (04Aug10):
24-Nov-2010 18:14:57
   Build OS:               i386-portbld-freebsd8.1 freebsd 8.1-STABLE
   Prev Backup JobId:      40164
   Prev Backup Job:        ngaio.2010-11-24_16.47.19_32
   New Backup JobId:       40185
   Current JobId:          40184
   Current Job:            CopyMegaFileToTape.2010-11-24_18.14.51_03
   Backup Level:           Full
   Client:                 wocker-fd
   FileSet:                "wocker files" 2010-03-14 05:55:02
   Read Pool:              "FullsFile" (From Job resource)
   Read Storage:           "MegaFile" (From Pool resource)
   Write Pool:             "Fulls" (From Job Pool's NextPool resource)
   Write Storage:          "DigitalTapeLibrary" (From Storage from Pool's
NextPool resource)
   Catalog:                "MyCatalog" (From Client resource)
   Start time:             24-Nov-2010 18:14:54
   End time:               24-Nov-2010 18:14:57
   Elapsed time:           3 secs
   Priority:               10
   SD Files Written:       23
   SD Bytes Written:       3,093,824 (3.093 MB)
   Rate:                   1031.3 KB/s
   Volume name(s):         ETU006
   Volume Session Id:      40
   Volume Session Time:    1290545377
   Last Volume Bytes:      15,063,229,440 (15.06 GB)
   SD Errors:              0
   SD termination status:  OK
   Termination:            Copying OK

24-Nov 18:14 bacula-dir JobId 40184: Begin pruning Jobs older than 3 years .
24-Nov 18:14 bacula-dir JobId 40184: No Jobs found to prune.
24-Nov 18:14 bacula-dir JobId 40184: Begin pruning Jobs.
24-Nov 18:14 bacula-dir JobId 40184: No Files found to prune.
24-Nov 18:14 bacula-dir JobId 40184: End auto prune.

24-Nov 18:14 bacula-dir JobId 40184: shell command: run AfterJob
"/home/dan/bin/dlt-stats-kraken Full FileAuto-1305"


-- 
Dan Langille - http://langille.org/

------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

<Prev in Thread] Current Thread [Next in Thread>
  • [Bacula-users] RunAfterJob %v on CopyJob, Dan Langille <=