Bacula-users

Re: [Bacula-users] Automatic_Volume_Labeling_Creation

2010-02-09 16:14:53
Subject: Re: [Bacula-users] Automatic_Volume_Labeling_Creation
From: Phil Stracchino <alaric AT metrocast DOT net>
To: bacula-users AT lists.sourceforge DOT net
Date: Tue, 09 Feb 2010 16:11:58 -0500
On 02/09/10 15:14, connextis wrote:
> I got Problems to set up the admin job, which closes the last created volume 
> in a pool.
> how does the script know which is the last used volume?

Well, one way would be to have your script issue a list volumes command
to the console, then parse the output to sort by last-written date.


-- 
  Phil Stracchino, CDK#2     DoD#299792458     ICBM: 43.5607, -71.355
  alaric AT caerllewys DOT net   alaric AT metrocast DOT net   phil AT 
co.ordinate DOT org
         Renaissance Man, Unix ronin, Perl hacker, Free Stater
                 It's not the years, it's the mileage.

------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users