automatically use next device is the first is full

25 views
Skip to first unread message

Andreas Oberhack

unread,
Feb 6, 2023, 8:47:04 AM2/6/23
to bareos-users
Hi All,

I have 3 file devices of each 1T - attached to 3 different folders in our server.
Now the first device is getting full. 

How do I have to configure Storage / Devices so that bareos is automatically using the second device ?

What I currently have is:

Storage {
Name = StorageBox
Address = "172.22.0.5"
Password = "ThisIsMySecretSDp4ssw0rd"
Device = disk01
Device = disk02
Device = disk03
Media Type = FileDir
Maximum Concurrent Jobs = 10 # default 1
}

Device {
Name = disk01
Device Type = File
Media Type = FileDir # unique
Archive Device = /mnt/backup/disk01 # path to backup
Label Media = yes; # lets Bareos label unlabeled media
Random Access = yes; # use for filesystems
Automatic Mount = yes; # when device opened, read it
Removable Media = no; # use for filesystems
Always Open = no; # use for filesystems if mounted
Description = "StorageBox of EX41S #740923 server"
Autochanger = yes
Maximum Concurrent Jobs = 1
}

What do I missing here?

Thx !

Andreas

Bruno Friedmann

unread,
Feb 6, 2023, 10:09:17 AM2/6/23
to bareos-users
Look like you didn't yet master the difference between volumes and devices.

You're using multiple devices in your storage definition, but this is normally needed only when you want concurrent writes to the same pool for differents jobs.
Multiples devices also have to have access to all same media type volumes, which can be translated to: all devices will point to the same directory.

I'm pretty sure, now you will find what is bogus into your definition.

Reply all
Reply to author
Forward
0 new messages