Pool & Volume selection with Dir->Job and Dir->Schedule directives

10 views
Skip to first unread message

Andreas Balogh

unread,
Oct 8, 2019, 12:32:14 PM10/8/19
to bareos...@googlegroups.com
I am a little bit confused as to how precendence is for selection of Pools and Volumes
from Job and Schedule configuration files. I've enclosed my config files below.

My question: though I've configured "Incremental Backup Pool = Daily" in my Sdlc
(Dir->Job) the display in the webui (Director|Status) shows the "Monthly-0006" volume?
I'd have expected a "Daily-" volume.

Regards, Andreas

------------------------------------------------------

Schedule {
Name = "MonthlyCycle"
Run = Level=Full 1st sun at 09:00
Run = Level=Differential 2nd-5th sun at 09:00
Run = Level=Incremental mon-sat at 09:00
}

Job {
Name = Sdlc
Client = sdlc-fd
FileSet = Ubuntu
Type = Backup
Storage = File
Schedule = MonthlyCycle
Pool = Monthly # Mandatory Pool
Full Backup Pool = Monthly
Differential Backup Pool = Weekly
Incremental Backup Pool = Daily
Messages = Standard
Write Bootstrap = "/var/db/bareos/%c.bsr"
}

Pool {
Name = Monthly
Pool Type = Backup
Volume Retention = 75 days
Volume Use Duration = 27 days
Maximum Volume Bytes = 1000G
Label Format = "Monthly-"
}

Pool {
Name = Daily
Pool Type = Backup
Volume Retention = 14 days # How long should the Full Backups be kept? (#06)
Volume Use Duration = 23 hours
Maximum Volume Bytes = 1000G # Limit Volume size to something reasonable
Label Format = "Daily-" # Volumes will be labeled "Full-<volume-id>"
}


bareos-dir Version: 18.2.6 (13 February 2019) FreeBSD-11.2-RELEASE-p14 freebsd
11.2-RELEASE-p14
Daemon started 06-Oct-19 06:03. Jobs: run=6, running=0 mode=0 db:postgresql, self-compiled
binary
Heap: heap=0 smbytes=354,781 max_bytes=1,535,806 bufs=602 max_bufs=9,171

Scheduled Jobs:
Level Type Pri Scheduled Name Volume
===================================================================================
Incremental Backup 10 07-Oct-19 09:00 Sdlc Monthly-0006
Incremental Backup 10 07-Oct-19 09:00 Pluto Monthly-0006
Full Backup 11 07-Oct-19 09:15 BackupCatalog Catalog-0004
====

Reply all
Reply to author
Forward
0 new messages