The file LinuxConfig, please show the file.

Is the "Name = LinuxConfig" line in that file?

On 5/13/21 2:09 AM, Russell Butler wrote:
Hello,
Sorry for a newbie problem, but I've been trying to sort this for about a week. On making minor changes to the configuration (most notably pointing the storage to a separate partition) I can't get bareos-dir to start.

sudo -u bareos bareos-dir -t
bareos-dir: ERROR TERMINATION at lib/res.cc:641
Config error: Could not find config resource "LinuxConfig" referenced on line 6:   FileSet = "LinuxConfig"

            : line 6, col 26 of file /etc/bareos/bareos-dir.d/job/RestoreFiles.conf
  FileSet = "LinuxConfig"

My bareos-dir fileset  directory contains:
── fileset
│   │   ├── Catalog.conf
│   │   ├── LinuxAll.old_conf
│   │   ├── LinuxConfig
│   │   ├── SelfTest.conf
│   │   └── Windows All Drives.conf

less bareos-sd.d/device/FileStorage.conf
Device {
  Name = FileStorage
  Media Type = File
  Archive Device = /media/Disk1/backup
  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."
}

I'm sure I'm overlooking some elementary error, but can someone please help me work out what it is?

Thanks for any help
Russell
--
You received this message because you are subscribed to the Google Groups "bareos-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected] <mailto:[email protected]>. To view this discussion on the web visit https://groups.google.com/d/msgid/bareos-users/17ac6b58-929d-46b6-9cbc-a0abad0e4027n%40googlegroups.com <https://groups.google.com/d/msgid/bareos-users/17ac6b58-929d-46b6-9cbc-a0abad0e4027n%40googlegroups.com?utm_medium=email&utm_source=footer>.

--
You received this message because you are subscribed to the Google Groups 
"bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/bareos-users/f17e0689-9c41-b21f-9fc1-e040d54afd3c%40gmail.com.

Reply via email to