Hello,
12.10.2007 11:58,, Andy Brown wrote::
> Hi All,
> I'm having a hard time getting this right on our install here, so
> wondered if anyone can advise what I'm doing wrong here.
> Scenario is a dozen servers backing up to this server. I have a 333Gb
> array for backing up to on /backups/bacula/
> The problem is that I keep using up all of the disk space as it never
> seems to re-use any pools, it keeps stopping, asking for more to be
> created then exhausts all available space. So I must have some settings
> not quite right!
>
> The SD config:
>
> Device {
> Name = FileStorage
> Media Type = File
> Archive Device = /backups/bacula
> LabelMedia = yes; # lets Bacula label unlabeled media
> Random Access = Yes;
> AutomaticMount = yes; # when device opened, read it
> RemovableMedia = no;
> AlwaysOpen = no;
> MaximumPartSize = 5000M;
That directive takes no effect, it's only used for DVD writing.
> }
>
>
> The director config:
>
> Storage {
> Name = File
> Address = backups.mynet.net
> SDPort = 9103
> Password = "xx"
> Device = FileStorage
> Media Type = File
> }
>
> Pool {
> Name = Full-Pool
> Pool Type = Backup
> Recycle = yes
> AutoPrune = yes
> Volume Retention = 1 months
> Label Format = Full-
> Maximum Volumes = 3
> Maximum Volume Bytes = 16g
> PurgeOldestVolume =yes
> }
> Pool {
> Name = Diff-Pool
> Pool Type = Backup
> Recycle = yes
> AutoPrune = yes
> Volume Retention = 40 days
> Label Format = Diff-
> Maximum Volumes = 3
> Maximum Volume Bytes = 10g
> PurgeOldestVolume =yes
> }
> Pool {
> Name = Inc-Pool
> Pool Type = Backup
> Recycle = yes
> AutoPrune = yes
> Volume Retention = 20 days
> Label Format = Inc-
> Maximum Volumes = 3
> Maximum Volume Bytes = 10g
> PurgeOldestVolume = yes
> }
The above looks good, provided the retention times and set volume
sizes fit, i.e. you have enough volumes available to hold the data of
a complete cycle of backups.
In the case of the Inc-Pool, for example, you only allow 30 GB of data
to be stored. Purge oldest volume is dangerous in that it could delete
incrementals from between the last differential or full backup, and
the currently running job, which would make your backups more or less
worthless. You should be absolutely sure the 20 GB remaining after a
volume is purged are sufficient. See the last two paragraphs in the
manual description of this option...
> Job {
> Name = twitcher-client
> Type = Backup
> Client = twitcher-fd
> FileSet = "Full Set"
> Schedule = "WeeklyCycle"
> Storage = FileLocal
> Messages = Standard
> Pool = Full-Pool
> Full Backup Pool = Full-Pool
> Incremental Backup Pool = Inc-Pool
> Differential Backup Pool = Diff-Pool
> Write Bootstrap = "/var/lib/bacula/twitcher.bsr"
> Priority = 10
> Reschedule On Error = yes
> Reschedule Interval = 1 hour
> Reschedule Times = 3
> }
>
>
> Any advice, or pointers please!!
Does the output of the 'show pool=Inc-Pool' bconsole command
correspond to what you set up? Of course, similar for the other pools.
What is the state of your volumes? If you think a certain volume
should be recycled, you can check its settings with 'llist
volume=<name>' in bconsole.
In my opinion, with "Purge Oldest Volume" you're sure to shoot
yourself in the foot one day. Relying on regular retention is much
more useful in most cases - if nothing more, it forces you to balance
the retention times, backup frequency, and available space to really
fit your needs.
Arno
> --
> Andy
>
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems? Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> _______________________________________________
> Bacula-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/bacula-users
--
Arno Lehmann
IT-Service Lehmann
www.its-lehmann.de
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users