Skip to content

Backups for Mere Mortals

A backup is a copy of your files that still exists after the original is gone — deleted, corrupted, encrypted by ransomware, or at the bottom of a lake with your laptop. This guide builds you a real one: automatic, encrypted, versioned, and — the part everyone skips — proven to restore.

The tool at the center is restic, a free, open-source backup program that runs on Linux, macOS, and Windows. BorgBackup and plain rsync copies get their own chapters, because the best backup tool is the one that fits how you already work.

This guide assumes you can use a terminal and create folders. Everything backup-specific — snapshots, deduplication, repositories — is explained from zero.

What this guide covers

What it doesn't cover

Bare-metal disaster recovery (rebuilding a whole machine from an image), enterprise backup suites, tape, and backing up other people's fleets for a living. This guide is for your machines and your files.

How to use this guide

Every restic and BorgBackup command in this guide was run for real — restic 0.19.1 and BorgBackup 1.4.5 on Linux — including full backup/restore cycles verified with file checksums, and a deliberately corrupted repository to show what damage detection looks like. Steps that depend on a cloud storage account (S3, Backblaze B2) are marked (documented): written from the tool's documentation, not from a live run.


Part of the series

This guide is one of the For Mere Mortals guides: plain-language guides to the tools programmers and makers use.

Related guides:

License

The writing in this guide is licensed under CC BY 4.0. Code examples and lab scripts are licensed under the MIT License.