Hi@all,
I have had a warning in the system diagnostics on my UCS (currently 4.4.8) on which Bareos backup is running for a long time.
Warning: Check modified UCR template
Errors were found due to `univention-check-templates`. The following UCR templates have been changed locally. Updated versions are called DATEINAME.dpkg-*. The files should be checked for differences.
/etc/univention/templates/files/etc/bareos/bareos-sd.d/device/FileStorage.conf
My UCS runs with German language. I hope I have translated the message correctly.
The two files:
root@backup01:/etc/bareos# cat /etc/bareos/bareos-sd.d/device/FileStorage.conf
# Warning: This file is auto-generated and might be overwritten by
# univention-config-registry.
# Please edit the following file(s) instead:
# Warnung: Diese Datei wurde automatisch generiert und kann durch
# univention-config-registry ueberschrieben werden.
# Bitte bearbeiten Sie an Stelle dessen die folgende(n) Datei(en):
#
# /etc/univention/templates/files/etc/bareos/bareos-sd.d/device/FileStorage.conf
#
Device {
Name = FileStorage
Media Type = File
Archive Device = /backup01/bareos/storage
LabelMedia = yes; # lets Bareos label unlabeled media
Random Access = yes;
AutomaticMount = yes; # when device opened, read it
RemovableMedia = no;
AlwaysOpen = no;
Description = "File device. A connecting Director must have the same Name and MediaType."
Collect Statistics = yes
}
root@backup01:/etc/bareos# cat /etc/univention/templates/files/etc/bareos/bareos-sd.d/device/FileStorage.conf
@%@UCRWARNING=# @%@
Device {
Name = FileStorage
Media Type = File
Archive Device = @%@bareos/filestorage@%@
LabelMedia = yes; # lets Bareos label unlabeled media
Random Access = yes;
AutomaticMount = yes; # when device opened, read it
RemovableMedia = no;
AlwaysOpen = no;
Description = "File device. A connecting Director must have the same Name and MediaType."
Collect Statistics = yes
}
The attribute “Archive Device” in the file /etc/bareos/bareos-sd.d/device/FileStorage.conf was set via UVM.
What do I have to do to make the warning disappear?
with best
sven