According to everything I am reading in the manual, "Bacula will only recycle 
purged Volumes if there is no other appendable Volume available".

Is there a way to force Bacula to reverse this and always reuse a volume if 
one is marked purged before checking for appendable volumes?  We are doing 
disk backups and have set expiry times for data.  We want to use the least 
disk space and still stay within our expiry times for all data, so we want 
purged volumes from pruning based on our volume retention to be reused. We 
also have set volume sizes, so that backups can be burned off to DVD's.

So far, the only think I have thought of is to have a set amount of volumes, 
but it's not really accomplishing what I really want.

If anyone has any ideas, I'd be grateful.  I would appreciate if you cc 
[EMAIL PROTECTED], since I read this list online only.

Here's some snippets from our existing bacula-dir.conf that may be helpful (in 
progress):

--
#
# Bacula Director Configuration file
#       [EMAIL PROTECTED]
#
Director {
        Name = fondue-dir
        DIRport = 9101
        QueryFile = "/etc/bacula/query.sql"
        WorkingDirectory = "/srv/bacula"
        PidDirectory = "/var/run"
        Maximum Concurrent Jobs = 1
        Password = "secret"
        Messages = Daemon
}
JobDefs {
        Name = "FullIncDiff"
        Type = Backup
        Storage = File
        Messages = Standard
        Pool = Default
        Full Backup Pool = FullPool
        Incremental Backup Pool = IncPool
        Differential Backup Pool = DiffPool
        Priority = 10
        Prune Files = yes
}
Job {
        Name = "fondue-files"
        JobDefs = "FullIncDiff"
        Write Bootstrap = "/srv/bacula/fondue.bsr"
        Client = fondue-fd
        FileSet = "Standard Server"
        Schedule = "WeeklyCycle"
}
Schedule {
        Name = "WeeklyCycle"
        Run = Full 1st sun at 1:05
        Run = Differential 2nd-5th sun at 1:05
        Run = Incremental mon-sat at 1:05
}
Client {
        Name = fondue-fd
        Address = fondue
        FDPort = 9102
        Catalog = MyCatalog
        Password = "secret"                 # password for FileDaemon
        File Retention = 60 days            # 30 days
        Job Retention = 6 months            # six months
        AutoPrune = yes                     # Prune expired Jobs/Files
}
###############
### STORAGE ###
###############
Storage {
        Name = File
        Address = fondue.internal
        SDPort = 9103
        Password = "pBI91oP76GMxFJcM4Q31KjNJU8hNdMZc71tX5mnq4NrU"
        Device = FileStorage
        Media Type = File
}
Pool {
        Name = FullPool
        Pool Type = Backup
        Recycle = yes                           # automatically recycle 
Volumes
        AutoPrune = yes                         # Prune expired volumes
        Volume Retention = 6 months
        #Maximum Volume Jobs = 1
        Label Format = Full-
        Maximum Volumes = 120
        Maximum Volume Bytes = 4831838208       # 4.5GB
}
Pool {
        Name = IncPool
        Pool Type = Backup
        Recycle = yes           # automatically recycle Volumes
        AutoPrune = yes         # Prune expired volumes
        Volume Retention = 14 days
        #Maximum Volume Jobs = 6
        Label Format = Inc-
        Maximum Volumes = 25
        Maximum Volume Bytes = 4831838208       # 4.5GB
}
Pool {
        Name = DiffPool
        Pool Type = Backup
        Recycle = yes
        AutoPrune = yes
        Volume Retention = 35 days
        #Maximum Volume Jobs = 1
        Label Format = Diff-
        Maximum Volumes = 10
}


-- 
Leah Kubik : m416-559-6511 : www.heinous.org
F9B6 FEFE 080B 8299 D7EA  1270 005C EC73 47C9 B7A6

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to