Some Bits: Nelson's log

restic cheatsheet notes for myself

I use Restic for backups. It’s great! But I forget how to use it, the usability for what I’m doing is not great. I’m using resticprofile as a CLI frontend. Last I looked backrest was a good option for a Web GUI: I should reconsider and switch.

Anyway, some notes on the current setup on my personal Linux box with all my important files. (This is the host tt.)

Configuration

Important stuff is in /usr/local/etc/restic, including passwords (also in 1Password) and profiles.toml

/ and /home/nelson are backed up locally to /mnt/backup/restic (another disk). /home/nelson is also backed up to BackBlaze emulating an S3 datastore in a bucket named “restic2”.

(there’s also backups for other hosts in Backblaze in other buckets and honestly I’ve forgotten what they are for! See Below for update)

Shell setup

alias rp='/usr/local/bin/resticprofile --config /usr/local/etc/restic/profiles.toml’

Look around

rp profiles
rp home.show
rp home.snapshots
rp home.mount /tmp/m

Check metadata integrity

rp home.check
rp root.check
rp bbhome.check

Check local home backups are working by verifying 5% of the data

rp home.check --read-data-subset=5%

Check backblaze backups with read (note: slow)

rp bbhome.check --read-data-subset=1%

Maintenance (slow!)

rp home.prune
rp root.prune
# rp bbhome.prune # may be expensive!

Somebits.com backups (2026-05-11)

My public server somebits.com backs up all of / to BackBlaze via Restic. The details are described in a 1Password note “Restic backup password for somebits.com” and contains a TOML file for resticprofile and the necessary passwords and keys. I tested it today (May 11 2026) and the backup seems to be working.

I also have rsnapshot backups of just /home configured. That doesn’t include /var/www or the important stuff in /etc.