restic

A free, open-source backup program that stores encrypted, deduplicated snapshots of files in a repository on local disk or cloud storage.

In more detail

Each backup run creates a snapshot with a timestamp, and restic snapshots lists them all, with --json for machine-readable output. Data is encrypted before it leaves the machine, so the repository password must be kept safe and reachable in a disaster. The real recovery point is set by the longest gap between snapshots, not by the schedule on paper.

Examples

restic snapshots --json > snapshots.json
restic backup /var/lib/bookings

Related terms

Taught in

References