On Fri, 11 Oct 2024 at 17:23, Stefan G. Weichinger <li...@xunil.at> wrote:
> Trying to set up an autochanger using a S3-compatible bucket in "the
> cloud" (in my case at Contabo in germany).
>
> Fresh installation of Bacula-15.0.2, Bacularis-4.0.0 on a Debian-12.7
> machine.

Hello Stefan,

> Added the packages:  bacula-cloud-storage-s3 plus
> bacula-cloud-storage-common

This is OK.

> Restarted all the daemons.
>
> Looked at https://www.youtube.com/watch?v=MRdM2uKlHSI ... I don't get
> that "Add cloud storage" button to begin with ...

The "Add cloud storage" wizard is a function available since the
latest Bacularis 4.3.0. Your Bacularis 4.0.0 does not have it.

> Trying to edit bacula-sd.conf like:
>
> Device {
>    Name = "xf1-contaboS3-dev"
>    MediaType = "cloudS3-media"
>    DeviceType = "Cloud"
>    ArchiveDevice = "/backup/cloud"
>    RemovableMedia = no
>    RandomAccess = yes
>    Autochanger = yes
>    MaximumFileSize = 2097152
>    MaximumPartSize = 2097152
>    Cloud = "contabo-bucket1"
> }
> Cloud {
>    Name = "contabo-bucket1"
>    Driver = "S3"
>    HostName = "eu2.contabostorage.com"
>    BucketName = "bucxxxx"
>    AccessKey = "xxx"
>    SecretKey = "xxxx"
>    Protocol = "HTTPS"
> }
> Autochanger {
>    Device = "xf1-contaboS3-dev"
>    Name = "s3-changer"
>    ChangerCommand = "/opt/bacula/scripts/mtx-changer %c %o %S %a %d"
>    ChangerDevice = "/dev/null"
> }

This is almost correct. You need to change:

 ChangerCommand = "/opt/bacula/scripts/mtx-changer %c %o %S %a %d"

into:

 ChangerCommand = "/dev/null"

and restart the storage daemon.

> The changer doesn't show up in bacularis, I add it in the API menu and
> get things like "/dev/null is not an sg device, or old sg driver". Sure.

To see this autochanger in Bacularis you need to add the Storage
resource with the Autochanger for that in the Director configuration.

> What else to use there?
>
> I browse the ml archive for examples etc
>
> What I would like to have:
>
> An Autochanger that writes to N "tapes" in that bucket, for sure
> encrypted ...
>
> pls advise, I am a bit lost
>
> I read
> https://docs.baculasystems.com/BEDedicatedBackupSolutions/StorageBackend/cloud/cloud-backup.html
> for now ...

Great. This whitepaper can be useful as well:

https://bacula.org/whitepapers/CloudBackup.pdf

Good luck!

Best regards,
Marcin Haba (gani)


_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to