Skip to content

Backups (restic)

Backups rely on restic 🡕: each host pushes its data to an encrypted repository, either local or remote via a zone REST server. The goal is a 3-2-1 strategy (multiple copies, multiple media, one off-site location).

Diagram
RoleWhoWhat
REST serverHost with the restic serviceStores zone repositories
ClientHost with enable = truePushes its targets (backups)

A target backs up one or more categories into sub-repositories:

CategoryContent
systemRoot /, excluding volatile data and /nix, /srv
nfsShares /srv/nfs/...
mediasMedia /srv/medias/...

The full operational configuration (REST server, targets, retention policy, restoration) is detailed in the how-to guide: