Confused about some features, who can explain me what happens

27 views
Skip to first unread message

DUCARROZ Birgit

unread,
May 12, 2020, 5:34:18 AM5/12/20
to bareos-users
I'm a bit confused about what follows.

1) I wonder why in the GUI sometimes I am able to see under "Storages"
my volumes and sometimes not which is actually the case (see
print-screen). I would like to see the infos of my volumes, but actually
no chance via the GUI.


2) I thought that incremental level is writing into incremental-Volume,
full level is writing into full-Volume etc. But it is not. Why?


Level Type Pri Name Volume
=============================================================

Incremental Backup 10 vm25-linux Full-0031
Incremental Backup 10 backup-bareos-fd Incremental-0269
Full Backup 11 BackupCatalog Incremental-0269



Pool {
Name = Full
Pool Type = Backup
Recycle = yes
Maximum Volume Bytes = 500 G
Maximum Volumes = 300
Label Format = "Full-"
AutoPrune = yes
Volume Retention = 180 days
Job Retention = 179 days
File Retention = 178 days
}

Pool {
Name = Incremental
Pool Type = Backup
Recycle = yes
AutoPrune = yes
Volume Retention = 28 days
Job Retention = 27 days
File Retention = 26 days
Maximum Volume Bytes = 100G
Maximum Volumes = 400
Label Format = "Incremental-"
}

Thank you for any help!
Regards,
Birgit
Screen Shot 2020-05-12 at 11.08.09.png

Spadajspadaj

unread,
May 12, 2020, 5:41:50 AM5/12/20
to bareos...@googlegroups.com

On 12.05.2020 11:34, 'DUCARROZ Birgit' via bareos-users wrote:
> 2) I thought that incremental level is writing into
> incremental-Volume, full level is writing into full-Volume etc. But it
> is not. Why?
>

Depends how your job is configured.

You might just use Pool directive to specify a pool into which all
backups will be saved but you can also specify Differential Backup Pool,
Incremental Backup Pool and Full Backup Pool which will cause different
backup types to be split into various pools.

The defined pool types have nothing to do with pool names!

You can easily have Pool with name "Incremental" used for full backups.
But that's a bit silly ;-)


Best regards,

MK

PS: https://docs.bareos.org/Configuration/Director.html#job-resource

DUCARROZ Birgit

unread,
May 12, 2020, 7:48:27 AM5/12/20
to Spadajspadaj, bareos-users
I still don't understand why it's not working correctly :-/

Should I change in jobdefs/vm25-linux.conf

Level = Full into Level = Incremental
And also Pool = Full into Pool = Incremental

?

JobDefs {
Name = "vm25-linux"
Type = Backup
Level = Full
Client = vm25-linux
FileSet = "vm25-linux"
Schedule = "WeeklyCycle01"
Storage = File
Messages = Standard
Pool = Full
Priority = 10
Write Bootstrap = "/export/backup/%c.bsr"
Full Backup Pool = Full # write Full Backups into
"Full" Pool (#05)
Differential Backup Pool = Differential # write Diff Backups into
"Differential" Pool (#08)
Incremental Backup Pool = Incremental # write Incr Backups into
"Incremental" Pool (#11)
Allow Duplicate Jobs = no
Cancel Lower Level Duplicates = yes
Cancel Queued Duplicates = yes

Spadajspadaj

unread,
May 12, 2020, 8:25:24 AM5/12/20
to bareos-users
You quoted the JobDefs, not the job definition. I suppose you just
inherit the defs and don't change anything. What do you have in job
definition? And schedule?

DUCARROZ Birgit

unread,
May 12, 2020, 8:37:40 AM5/12/20
to Spadajspadaj, bareos-users
I finally think that everything is after all ok.

The initial table I sent:
Level Type Pri Name Volume
=============================================================

Incremental Backup 10 vm25-linux Full-0031
Incremental Backup 10 backup-bareos-fd Incremental-0269
Full Backup 11 BackupCatalog Incremental-0269

... is the one I see in the Director tab of GUI and I see these are the
scheduled jobs for tomorrow and not the Volumes where the jobs finally
write the data. 🙈



cat job/vm25-linux.conf
Job {
Name = "vm25-linux"
JobDefs = "vm25-linux"
Client = "vm25-linux"
}

cat schedule/WeeklyCycle01.conf
# Schedules: bakula Buch S. 230
Schedule {
Name = "WeeklyCycle01"
# Run = Full 1st sat at 21:00 # (#04)
Run = Full w01 w13 w26 w39 sat at 15:00
Run = Differential 2nd-5th sat at 21:00 # (#07)
# Run = Incremental mon-fri at 13:53 # (#10)
Run = Incremental w02 w03 w04 w05 w06 w07 w08 w09 w10 w11 w12 w14
w15 w16 w17 w18 w19 w20 w21 w22 w23 w24 w25 w27 w28 w29 w30 w31 w32 w33
w34 w35 w36 w37 w38 w40 w41 w42 w43 w44 w45 w46 w47 w48 w49 w50 w51
mon-fri at 20:30
Reply all
Reply to author
Forward
0 new messages