Join Nostr
2026-09-01 19:08:58 UTC

Jarkko Sakkinen on Nostr: This how I backup now with Restic. I have restic-env: # vim:ft=sh export ...

This how I backup now with Restic.

I have restic-env:

# vim:ft=sh

export AWS_SECRET_ACCESS_KEY=$(pass net/mega.nz/s4/secret)
export AWS_ACCESS_KEY_ID=$(pass net/mega.nz/s4/access)
export RESTIC_PASSWORD_COMMAND="pass net/mega.nz/restic/$1"
export RESTIC_REPOSITORY="s3:s3.eu-amsterdam-2.megas4.com/$1"


Then for each system I have own bucket, which I manage as follows:

Backup: restic backup --files-from ~/MEGA/Restic/jarkko-kan-01.local.txt
Restore: restic --target / 4de0c63f.

Note that restore is done relative to the system root i.e., they are full system backups.

I use these more like long-term preserved content, audio plugin presets and stuff like that rather than e.g., config files (for those I rather use Git).