Tony Nelson
Dabbler
- Joined
- Aug 19, 2015
- Messages
- 12
When adding a Device, you are prompted for a Media Type, which is a dropdown. The only valid value in the list is File, and if I try changing it, it will not save any other value.
In my setup, I have one Director in my NY Office, and every other office has a set of client machines and a Storage Director. I am trying to replace an Ubuntu based SD with FreeNAS. The configuration from the old server was:
Device {
Name = LI-FileStorage
Media Type = LI-File
Archive Device = /var/bacula/data
LabelMedia = yes; # lets Bacula label unlabeled media
Random Access = Yes;
AutomaticMount = yes; # when device opened, read it
RemovableMedia = no;
AlwaysOpen = no;
}
I create specific Media Types for each office, because without it, Webacula can't figure out where the next backup is going to go.
Anyways, it's perfectly acceptable to put anything you like into Media Type. From the Bacula documentation:
Media Type = name-string
The specified name-string names the type of media supported by this device, for example, "DLT7000". Media type names are arbitrary in that you set them to anything you want, but they must be known to the volume database to keep track of which storage daemons can read which volumes. In general, each different storage type should have a unique Media Type associated with it. The same name-string must appear in the appropriate Storage resource definition in the Director's configuration file.
I've tried modifying the config file by hand, but every time I restart, it seems to be rebuilt from the configuration specified in the GUI.
Also, has a new PBI been released to address https://bugs.freenas.org/issues/7772 ? I had to manually edit the file on my system which is running FreeNAS-9.3-STABLE-201509022158.
Thanks and have a nice weekend.
Tony
In my setup, I have one Director in my NY Office, and every other office has a set of client machines and a Storage Director. I am trying to replace an Ubuntu based SD with FreeNAS. The configuration from the old server was:
Device {
Name = LI-FileStorage
Media Type = LI-File
Archive Device = /var/bacula/data
LabelMedia = yes; # lets Bacula label unlabeled media
Random Access = Yes;
AutomaticMount = yes; # when device opened, read it
RemovableMedia = no;
AlwaysOpen = no;
}
I create specific Media Types for each office, because without it, Webacula can't figure out where the next backup is going to go.
Anyways, it's perfectly acceptable to put anything you like into Media Type. From the Bacula documentation:
Media Type = name-string
The specified name-string names the type of media supported by this device, for example, "DLT7000". Media type names are arbitrary in that you set them to anything you want, but they must be known to the volume database to keep track of which storage daemons can read which volumes. In general, each different storage type should have a unique Media Type associated with it. The same name-string must appear in the appropriate Storage resource definition in the Director's configuration file.
I've tried modifying the config file by hand, but every time I restart, it seems to be rebuilt from the configuration specified in the GUI.
Also, has a new PBI been released to address https://bugs.freenas.org/issues/7772 ? I had to manually edit the file on my system which is running FreeNAS-9.3-STABLE-201509022158.
Thanks and have a nice weekend.
Tony