Auto-switch between multiple bareos-sd devices when backupping

23 views
Skip to first unread message

Raouf HADDADA

unread,
May 28, 2019, 10:55:13 AM5/28/19
to bareos-users
Hello everybody,

I've bareos 18.2 installed and working perfectly.

In bareos-sd, I've two configurad storage independent HDD devices /0 and /1.

I'm asking if there any solution to automatically switch between physical HDD as storage destination when backupping multiples machines.

_____________ Config ________________


bareos-dir.d/storage/File.conf

Storage {
Name = FileStorage
Address = localmachine # N.B. Use a fully qualified name here (do not use "localhost" here).
Password = XXX...XXX
Device = FileStorage
Media Type = File
}

Storage {
Name = FileStorage1
Address = localmachine # N.B. Use a fully qualified name here (do not use "localhost" here).
Password = XXX...XXX
Device = FileStorage1
Media Type = File
}
__________________________

bareos-sd.d/FileStorage.conf

Device {
Name = FileStorage
Media Type = File
Archive Device = /0
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."
}

Device {
Name = FileStorage1
Media Type = File
Archive Device = /1
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."
}

Thx,

Reply all
Reply to author
Forward
0 new messages