Re: How do you access different devices on an SD?

Arno Lehmann via Bacula-users <[email protected]> Wed, 11 Mar 2026 08:34:42 +0100
Newsgroups gmane.comp.bacula.user
Organization IT-Service Arno Lehmann
Message-ID <[email protected]>
Hi Anders,

Am 07.03.2026 um 18:22 schrieb Anders Gustafsson:
> This is me continuing my quest of creating offsite backups.
> 
> To conserve bandwidth I thought about having Bacula copy the full backup to another USB disk on the main
> Bacula server. Say that I have two USB disks /mnt/BACKUP1 and /mnt/COPY1.
> 
> I want backula to copy the full backup to COPY1, then make it copy the diff and incremental to a remote
> site.

I suspect there may be some terminology issue here -- when you write 
about copying a backup, I assume you mean "doing" a backup. Also...

> But how do I set that up? I cannot specify a device in a pool. Do I have to run two SDs?

Of course you can run an SD in a remote location. But I think this is 
not what you want to achieve -- again suspecting that you think of 
storing some backups on the "other" disk and carry that around for 
remote storage.

So what I think you want to achieve is quite easily possible with Bacula:

You would just create distinct devices with different Archive Device 
locations and -- very important -- different Media Types.

Those devices can also be members of Autochangers, and I would actually 
recommend to create a few devices and always use Autochangers.

You *can* reference devices in pools, by the way.

The DIR would "see" only the Autochangers, and you'd run your backups to 
one of the storage devices/Autochangers, and eventually copy jobs to the 
other one, which you would then be able to take offsite.

To ensure somewhat more robust media handling, the vchanger tool would 
be an excellent choice.

I do suggest that you explain what you have and want to achieve in 
Bacula terminology with a bit more detail if you think this is all 
confusing. The different abstraction layers of volumes and pools, 
devices, autochangers, archive devices and actual backing store, and the 
distinction between backup, copy and migration jobs versus the generic 
term "copy" ae rather important ;-)

Cheers,

Arno


-- 
Arno Lehmann

IT-Service Lehmann
Sandstr. 6, 49080 Osnabrück



_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users