Bacula-users

[Bacula-users] Set Pool For Job Using Python?

2009-04-21 18:56:10
Subject: [Bacula-users] Set Pool For Job Using Python?
From: Dublee <bacula-forum AT backupcentral DOT com>
To: bacula-users AT lists.sourceforge DOT net
Date: Tue, 21 Apr 2009 16:12:53 -0400
If you set up "Volume Retention" and "Volume Use Duration" correctly in your 
Pool definition, Bacula should recycle and use any appendable volume you insert.

For example, in one of my pools, I have eight 1TB SATA hard drives used in a 
two-week rotation.  Set 1 is four hard drives with each of those drives 
representing one day of the week between Monday through Thursday.  Set 2 of the 
remaining four drives would be the next Monday through Thursday.  Each day, I 
perform a full backup of my clients.  I have a separate five-set Friday pool.

Pool {
  Name = DailyPool
  Pool Type = Backup
  Recycle = yes
  AutoPrune = yes
  Volume Retention = 13 days
  Volume Use Duration = 20 hours
}

By setting "Volume Use Duration" to 20 hours, Bacula would mark the volume from 
"Appendable" to "Used" automatically after 20 hours when first used.  This way 
I don't have to manually mark a volume as "Used." When I come into the office 
in the morning, I swap the hard drive with the next appendable volume.

This appendable volume would be recycled by Bacula according to "Volume 
Retention" set to 13 days, exactly a day before I recycle my two-week set.

In your case, for example, if you set "Volume Retention" to be 7 weeks 6 days 
and "Volume Use Duration" to about 6 days (or however long before you put in 
the next USB HD), it should recycle your volumes correctly.

+----------------------------------------------------------------------
|This was sent by wlee337 AT yahoo DOT com via Backup Central.
|Forward SPAM to abuse AT backupcentral DOT com.
+----------------------------------------------------------------------



------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
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] Set Pool For Job Using Python?, Dublee <=