Problem/Justification
TrueNAS Scale would make a perfect backup target for BorgBackup (see borgbackup dot org) if the binary was available in the host system, and could be used via a remote ssh command.
Adding it as a container service is complex, error-prone and not necessarily future-compatible.
Impact
There are no apparent disadvantages (adding it merely involves installing the BSD-licensed Debian package “borgbackup” to the installation, either directly, or via the same mechanism rclone is added per github truenas/rclone).
The primary advantage is making the TrueNAS system a target for BorgBackups, which offers:
- Space efficient storage of backups.
- Secure, authenticated encryption.
- Compression: lz4, zstd, zlib, lzma or none.
- Mountable backups with FUSE.
User Story
As a User, I want to enable sending Borg Backups to my TrueNAS system by adding an SSH key allowed to call the borg binary handling backup repository access.
alternative:
As a User, I want to enable my TrueNAS system as a repository host for Borg Backups, so I can send encrypted backups from any of my other systems.