IPv6 support in Bacula

I now have my own Bacula backup setup running entirely over IPv6. It didn’t take too long to figure out, but I thought I’d share this here. The trick is defining the addresses for your storage daemon, file daemon, and director. The entry looks something like this:

DIRAddresses = {
  ipv6 = {
    addr = servername;
    port = 9101;
  }
}

In my case, I have AAAA records set up for my servers, so I’m not using the colon notation, but the documentation seems to indicate that either is acceptable. This above example is for my director, found in the bacula-dir.conf file. Similar entries for the FD and SD are found in their respective files.