Hello there,
I would like to use a single tape drive. Config:

/etc/bareos/bareos-sd.d/storage/tape-sd.conf:
Storage {
Name = Tape
Device = LTO7-Tape-Drive
Maximum Concurrent Jobs = 1
Media Type = Tape
Autochanger = no
}

/etc/bareos/bareos-sd.d/device/TapeStorage:
Device {
Name = LTO7-Tape-Drive
Drive Index = 0
Media Type = Tape
Archive Device = /dev/st0
LabelMedia = yes;
AutomaticMount = yes;
RemovableMedia = yes;
AlwaysOpen = no;
RandomAccess = no;
Spool Directory = /backup_spool/spool
Maximum Concurrent Jobs = 1
}

Staarting SD, I get the error:

bareos-sd[13632]: bareos-sd: ERROR TERMINATION at 
lib/parse_conf_state_machine.cc:158
bareos-sd[13632]: Config error: Keyword "Device" not permitted in this 
resource.
bareos-sd[13632]: Perhaps you left the trailing brace off of the previous 
resource.
bareos-sd[13632]:             : line 6, col 7 of file 
/etc/bareos/bareos-sd.d/storage/tape-sd.conf
bareos-sd[13632]: Device = LTO7-Tape-Drive

Bareos Version 19.2.7-2

What I doing wrong please?
Thanks for any help,
Frank

-- 
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/4089a039-e4da-4b79-b4c0-832153724433n%40googlegroups.com.

Reply via email to