Re: removable HD instead of tape how-to

Martin Simmons <[email protected]>
Newsgroups gmane.comp.bacula.user
Message-ID <[email protected]>
>>>>> On Mon, 23 Dec 2024 16:09:56 -0500, Phil Stracchino said:
> 
> My SD has two Storage Devices, one internal (actually still hot-swap) 
> and one external/removable that gets swapped out after each full backup 
> cycle:
> 
> Device {
>    Name = FileStorage
>    Device Type = File
>    Media Type = File
>    Archive Device = /bpool/bacula
>    LabelMedia = yes
>    Random Access = Yes
>    AutomaticMount = yes
>    RemovableMedia = no
>    Requires Mount = no
>    AlwaysOpen = no
>    Maximum Concurrent Jobs = 20
> }
> 
> 
> Device {
>    Name = ArchiveCopy
>    Device Type = File
>    Media Type = File
>    Archive Device = /arcpool
>    LabelMedia = yes
>    Random Access = Yes
>    AutomaticMount = yes
>    RemovableMedia = no
>    Requires Mount = no
>    AlwaysOpen = no
>    Maximum Concurrent Jobs = 20
> }
> 
> 
> You'll notice these look EXACTLY THE SAME.  The first is the internal 
> pool, which is a ZFS zpool comprising six 2TB SSDs in RAIDZ.  The second 
> is the removable pool, a second ZFS zpool of four 2TB hot-swap hard 
> disks also in RAIDZ.

Have you any seen any problems with using Media Type = File in both of them?
The doc says they should be different for different file devices so that
Bacula doesn't choose the wrong device.

__Martin
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.