Bacula-users

[Bacula-users] How to configure bacula for 6-day rotating backup

2011-03-14 17:13:47
Subject: [Bacula-users] How to configure bacula for 6-day rotating backup
From: Miłosz Kosobucki <mikom3 AT gmail DOT com>
To: bacula-users AT lists.sourceforge DOT net
Date: Mon, 14 Mar 2011 22:10:41 +0100
Hi,

I have a problem with finding correct configuration for my usage 
scenario. I want to have six days worth of backups. My first approach 
was making a pool with the following configuration:

   Pool Type = Backup
   Recycle = yes
   AutoPrune = yes
   Storage = File
   Maximum Volumes = 6
   Maximum Volume Jobs = 1
   Recycle = yes
   Purge Oldest Volume = yes
   Action On Purge = Truncate

This configuration poses some problems:

1) When the last volume is written bacula tries to rotate to the first 
one. The first one is obviously a Full backup. It then purges the volume 
and deletes the full backup. I then proceeds to make incremental backup 
even though it has just deleted the only full one, what IMHO is wrong. 
It should detect that no full backup will be available after purging and 
make the full backup now.

2) Even if the situation in 1) was resolved properly, I would still be 
vulnerable if current backup failed. For the short period of time 
between purging the old full backup and creating new one, there would be 
no backup in the system.

The ideal solution would be something like using rsync with --link-dest 
option. With this option, I could rotate 6 directories with my daily 
backups, and everything would be resolved with hard links. Is it 
possible to achieve something similar with bacula with hard-disk as 
backup storage method?

Best regards,

-- 
Miłosz Kosobucki <mikom3 AT gmail DOT com>

------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users