Bacula-users

Re: [Bacula-users] Volume rotate?

2010-09-21 00:09:53
Subject: Re: [Bacula-users] Volume rotate?
From: John Drescher <drescherjm AT gmail DOT com>
To: Michael Van Der Beek <michael.van AT antlabs DOT com>
Date: Tue, 21 Sep 2010 00:06:52 -0400
> I've setup a Bacula to backup 5 mounted NFS drives.
> These are backing up machines that are running Redhat 9 and
> Solaris 5.9. So I don't really want to attempt to compile clients on them :)
>
> What is troubling me is that the backup just goes through the Full, 
> differential cycles and it does not create new volumes.
> The setups are identical for each of these 5 directories.
>
> Here are some of the configs. Any suggestion as to how to get bacula to 
> create a new volume on each Full backup?
> The cycle is basically one full backup every 7 days.
>
> Pool {
>  Name = bss
>  Pool Type = Backup
>  Maximum Volume Jobs = 26
>  Volume Retention = 180 days
>  Volume Use Duration = 7
>  Recycle = yes
>  AutoPrune = yes
>  Maximum Volumes = 26               # Limit number of Volumes in Pool
>  LabelFormat = bss-
> }
>
> FileSet {
>  Name = bss
>  Include {
>    File = /home/bss
>    File = /home/bss-home
>    Options {
>      signature = MD5
>      Compression = GZIP1
>    }
>  }
>  Exclude {
>     File = /home/bss/lost+found
>     File = /home/bss-home/lost+found
>     File = /home/bss-home/core
>    }
> }
>
> Job {
>  Name = bss
>  Type = Backup
>  Level = Differential
>  Client = sms-backup.xxx.xxx.xx
>  FileSet = bss
>  Schedule = bss
>  Storage = File
>  Pool = bss
>  Messages = Standard
> }
>
> Thanks for your help!
>

Your config says that use a tape for up to 7 days and after seven days
hold it for 180 days after the last written time before recycling the
volume. Since you have not posted the bacula-sd file I assume you have
Label Media=yes in the storage configuration.

John

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users