Automatic removal of BACULA volumes

Warning: count(): Parameter must be an array or an object that implements Countable in /home/styllloz/public_html/qa-theme/donut-theme/qa-donut-layer.php on line 274
0 like 0 dislike
Faced with the same tricks.
Doing backups with Bacula, but that's the problem — she doesn't want to delete the actual files containing the volume. Ie I would like to automatically remove old files. In my case, 1 file 1 vol.
The parameter "Maximum Volumes" in the pool settings does not help — Bacula just ceases to burn backups. Google me also did not help.

Here is the config of one of the pools:
Pool {
Name = PDC
Pool Type = Backup

Recycle = no # Bacula can automatically recycle Volumes
AutoPrune = no # Prune expired volumes
Maximum Volume Bytes = 1G # Limit Volume size to something reasonable
Maximum Volume Jobs = 1

# UseVolumeOnce = yes
# Recycle Oldest Volume = yes
# Maximum Volumes = 150 # Limit number of Volumes in Pool

LabelFormat = "${Pool}-${Level}-${Year}-${Month:p/2/0/r}-${Day:p/2/0/r}-${Hour:p/2/0/r}:${Minute:p/2/0/r}-${Job}"

Version Bakula — 5.0.2, system — CentOS 5.5
by | 5 views

1 Answer

0 like 0 dislike
Bakula can't delete files. I too, at one time it tripped. It was agreed for each job to create a volume file, and then just make the rotation, is to rewrite a new job. The only negative — do not add date to file names, or otherwise differentiate them. Yes, in principle it is not necessary — everything can be seen through the console Bakula.

Related questions

0 like 0 dislike
2 answers
0 like 0 dislike
1 answer
0 like 0 dislike
3 answers
0 like 0 dislike
3 answers
110,608 questions
257,186 answers
28,074 users