Bacula-users

Re: [Bacula-users] Using removable SATA disks as media

2010-04-09 14:50:51
Subject: Re: [Bacula-users] Using removable SATA disks as media
From: Phil Stracchino <alaric AT metrocast DOT net>
To: bacula-users AT lists.sourceforge DOT net
Date: Fri, 09 Apr 2010 14:47:49 -0400
On 04/09/10 11:57, Joseph Spenner wrote:
> Phil:
>   Thanks for the reply.  Here's my Pool and Storage defs:
> 
> =====
> # Definition of file storage device
> Storage {
>   Name = File
>   Address = backula-va
>   SDPort = 9103
>   Password = "somepass"
>   Device = FileStorage
>   Media Type = File
> }
> 
> 
> # File Pool definition
> Pool {
>   Name = File
>   Pool Type = Backup
>   Recycle = yes
>   AutoPrune = yes
>   Volume Retention = 1 days
>   Use Volume Once = yes
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   Maximum Volume Bytes = 1400G
>   Maximum Volumes = 10
> }

That's your problem, right there.  I had a suspicion that would be what
was wrong.

You've told it to use each volume once, and it's doing exactly what you
told it to.  The problem is, that directive doesn't mean what you
probably think it does.  You presumably meant "Use this volume for one
set of backups only."  But what that directive actually means is "Allow
EXACTLY ONE JOB on this volume."

Try replacing that directive with this one:

Volume Use Duration = 23h

And you'll want to fix that Volume Retention directive, too, unless you
really want the volume to be pruned the day after the backup.  If your
plan is to use the volumes in a 10-day rotation, try setting the Volume
Retention to 9 days.



-- 
  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.

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users