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.jsonrestic backup /var/lib/bookingsRelated terms
- backup — An extra copy of data kept separately so it can be restored if the original is lost, damaged, deleted or encrypted by an attacker.
- snapshot — A saved copy of some state at one moment, kept so it can be restored later.
- RPO — Recovery point objective, the most data a business can afford to lose in an outage, measured as the time before the failure.
- restore test — Actually recovering data or a system from a backup to prove the backup works and to measure how long recovery takes.
Taught in
- Security Capstone Review & Certification — Cybersecurity Fundamentals, GRC & Cryptography