I would like to prune based on the volume retention I set in pool
resources, not based upon client. In reading the docs, I found that
auto pruning can occur based on statements in both the client and pool
resources. Thus I set all of my client resources file and job retention
times to 100 years, assuming this would prevent any auto pruning from
occurring based upon the clients. Then I set my various pool resources
volume retention times as I wished.
However I have one pool "Default" that I really don't want to prune
automatically and thus I set its volume retention time to 100 years. I
assume it's associated job (and thus file?) records were pruned
initially because of the 60 default retention times for clients. Now
I've made the changes to bacula-dir.conf and SIGHUPed the process. But
after running bscan to rebuild the job and file records, it still gets
pruned every night.
Can someone explain what I'm missing? Hopefully before tonight? :)
The client and pool resource portions of my bacula-dir.conf file follow.
Thanks,
Drew
--- BEGIN Client ---
# Client (File Services) to backup
Client {
Name = blacklamb-fd
Address = blacklamb
FDPort = 9102
Catalog = MyCatalog
Password = "baculapassword" # password for FileDaemon
File Retention = 100 years # set job & file to 100 years as
pruning
Job Retention = 100 years # occurs when shortest time expires
AutoPrune = yes # Prune expired Jobs/Files
}
Client {
Name = blacksheep-fd
Address = blacksheep
FDPort = 9102
Catalog = MyCatalog
Password = "baculapassword" # password for FileDaemon
File Retention = 100 years # set job & file to 100 years as
pruning
Job Retention = 100 years # occurs when shortest time
expires
AutoPrune = yes # Prune expired Jobs/Files
}
Client {
Name = tv-fd
Address = tv
FDPort = 9102
Catalog = MyCatalog
Password = "baculapassword" # password for FileDaemon
File Retention = 100 years # set job & file to 100 years as
pruning
Job Retention = 100 years # occurs when shortest time
expires
AutoPrune = yes # Prune expired Jobs/Files
}
Client {
Name = bigdaddy-fd
Address = bigdaddy
FDPort = 9102
Catalog = MyCatalog
Password = "baculapassword" # password for FileDaemon
File Retention = 100 years # set job & file to 100 years as
pruning
Job Retention = 100 years # occurs when shortest time
expires
AutoPrune = yes # Prune expired Jobs/Files
}
Client {
Name = lillady-fd
Address = lillady
FDPort = 9102
Catalog = MyCatalog
Password = "baculapassword" # password for FileDaemon
File Retention = 100 years # set job & file to 100 years as
pruning
Job Retention = 100 years # occurs when shortest time
expires
AutoPrune = yes # Prune expired Jobs/Files
}
--- END Client ---
--- BEGIN Pool ---
# Default pool definition
Pool {
Name = Default
Pool Type = Backup
Recycle = yes # Bacula can automatically recycle
Volumes
Recycle Oldest Volume = yes
Maximum Volume Jobs = 0
LabelFormat = "TAPE-"
AutoPrune = yes # Prune expired volumes
Volume Retention = 100 years
Accept Any Volume = yes # write on any volume in the pool
}
Pool {
Name = Fulls
Pool Type = Backup
Recycle = yes # Bacula can automatically recycle
Volumes
Recycle Oldest Volume = yes
Maximum Volume Jobs = 1
LabelFormat = "FULL-"
AutoPrune = yes # Prune expired volumes
Volume Retention = 35 days
Accept Any Volume = yes # write on any volume in the pool
Maximum Volumes = 10
}
Pool {
Name = Differentials
Pool Type = Backup
Recycle = yes # Bacula can automatically recycle
Volumes
Recycle Oldest Volume = yes
Maximum Volume Jobs = 1
LabelFormat = "DIFF-"
AutoPrune = yes # Prune expired volumes
Volume Retention = 8 days
Accept Any Volume = yes # write on any volume in the pool
Maximum Volumes = 25
}
Pool {
Name = Incrementals
Pool Type = Backup
Recycle = yes # Bacula can automatically recycle
Volumes
Recycle Oldest Volume = yes
Maximum Volume Jobs = 1
LabelFormat = "INCR-"
AutoPrune = yes # Prune expired volumes
Volume Retention = 7 days
Accept Any Volume = yes # write on any volume in the pool
Maximum Volumes = 48
}
Pool {
Name = Catalogs
Pool Type = Backup
Recycle = yes # Bacula can automatically recycle
Volumes
Recycle Oldest Volume = yes
Maximum Volume Jobs = 1
LabelFormat = "CAT-"
AutoPrune = yes # Prune expired volumes
Volume Retention = 8 days
Accept Any Volume = yes # write on any volume in the pool
Maximum Volumes = 10
}
Pool {
Name = Manual_File
Pool Type = Backup
Recycle = yes # Bacula can automatically recycle
Volumes
Recycle Oldest Volume = yes
Maximum Volume Jobs = 1
LabelFormat = "MF-"
AutoPrune = yes # Prune expired volumes
Volume Retention = 100 years
Accept Any Volume = yes # write on any volume in the pool
Maximum Volumes = 20
}
--- END Pool ---
-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users