Search Results for: bacula

Reproducing a batch insert for Bacula on PostgreSQL

This work from August 2022 was interesting at the time. My database server gets slow from time to time. It seems to happen repeatedly. I’m not sure why, but inserting large numbers of rows takes a very long time. This is a typical use-case for Bacula when recording what was backed up. I started with this, the duplication of the batch table created when Bacula is storing attribute for later insertion into the […]

Reproducing a batch insert for Bacula on PostgreSQL Read More »

Backing up FreeBSD with Bacula via ZFS snapshot

Tonight, while watching an episode of The Great British Bake Off, I configured a new Bacula backup jobs to cover some datasets which were not already backed up. I already have a backup jobs to backup all the jails, but only for datasets which sit right under zroot/jails (for example). This new solution takes a list of datasets, snapshots them, backs them up, then destroys those snapshots. Why backup a snapshot? Consistency. During

Backing up FreeBSD with Bacula via ZFS snapshot Read More »

Bacula: Moving from 9.x to 13.x and upgrading the PostgreSQL database

I have been using Bacula since 2004. It is my backup solution of choice, not only because it has a PostgreSQL backend, but it is flexible, robust, and reliable. I, on the other hand, have long ignored recent releases. I’m using Bacula 9.6.7 (released on 2021-01-26), roughly 3 years ago. Today, I started the upgrade to 13.0.1 (still not the latest release, but that’s because of a minor compile issue, not yet resolved;

Bacula: Moving from 9.x to 13.x and upgrading the PostgreSQL database Read More »

Bacula: copying jobs from one bacula-sd to another bacula-sd on FreeBSD

I’m moving some backups from one bacula-sd to another bacula-sd. If you don’t know what that means, this is not the post for you. You need more Bacula knowledge. I’m retiring a host and moving some of the backups on that host to another host. This post follows on from Bacula – copying the latest jobs over from one SD to another, now that the required space is installed and configured. In this

Bacula: copying jobs from one bacula-sd to another bacula-sd on FreeBSD Read More »

Bacula – copying the latest jobs over from one SD to another

I want to copy the latest backups for each Bacula client over to a new host. I already do this, on an automated basis, for recent backups, primarily to have the same backups in two different places. In this case, I want to do this once. This post might also be a good introduction to copying / moving jobs based on SQL queries. See also Bacula – copy to tape by job size

Bacula – copying the latest jobs over from one SD to another Read More »

Bacula – calculating Maximum Volume Bytes and Maximum Volumes based on historical data

I’ve used Bacula since at least January 2004 (so nearly 20 years). I liked it so much I dropped my deployment-in-motion of another tool (if you search lightly, you can find out which one). I liked it so much, I wrote a PostgreSQL backend for it. This post is not for Bacula novices. This post is for those who have already deployed a Bacula instance and are rather familiar with the process. I

Bacula – calculating Maximum Volume Bytes and Maximum Volumes based on historical data Read More »

Labelling tapes in bulk – Bacula

This is not a significant post. It is for the record. I received 20 new LTO4 tapes recently. I attached the external labels to them after using https://kelvin.nu/barcode *label barcodes pool=Scratch storage=bacula-sd-02 drive=0 slot=1-7,11-15,17-23,39,47 Connecting to Storage daemon bacula-sd-02 at bacula-sd-02.int.unixathome.org:9103 … 3306 Issuing autochanger “slots” command. Device “bacula-sd-02” has 47 slots. Connecting to Storage daemon bacula-sd-02 at bacula-sd-02.int.unixathome.org:9103 … 3306 Issuing autochanger “list” command. The following Volumes will be labeled: Slot Volume

Labelling tapes in bulk – Bacula Read More »

SSL client vs server certificates and bacula-fd

See also OpenVPN: unsupported certificate purpose. NOTES NOTE: When using ssl-admin for Bacula: use option 4 (Perform a one-step request/sign) for clients (bacula-fd) use option S (Create new Signed Server certificate) for servers (bacula-sd and bacula-dir) I know these things, but I repeatedly go to option 4 and forget…. Original post follows Sometimes I forget about TLS / SSL / x509 certificates being available in both server and client versions, particularly when it

SSL client vs server certificates and bacula-fd Read More »

Scroll to Top