The way Bacula works is:
- A backup client runs a TCP server process bacula-fd, waiting for a backup server process bacula-dir to connect and perform backup and restore jobs.
- There is a simple authentication mechanism, where bacula-dir presents a shared secret to bacula-fd to be granted access.
Opening the bacula-fd TCP server on an exposed network interface may be fine for static backup clients with dedicated storage networking towards the backup server, but on a mobile computer bacula-fd should be reachable by bacula-dir only if the computer is connected by Ethernet to the home network. Specifically, the TCP server port of bacula-fd should not be exposed on the Ethernet NIC.
To implement this, i have defined a GRE tunnel between mobile backup client and home network backup server.
Disco Infernale