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:
restic backup --files-from ~/MEGA/Restic/jarkko-kan-01.local.txtrestic --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).
E.g. here’s the contents of backed up folders for my Mac Mini:
/Library/Application Support/Sonic Academy/
/Library/Application Support/u-he/
/Library/Audio/Presets/u-he/
/Library/Audio/Presets/Xfer Records/
/Users/jarkko/Downloads/
/Users/jarkko/Documents/
/Users/jarkko/Library/Application Support/com.xfer.serum2/
/Users/jarkko/Library/Application Support/com.xferrecords.serum/
/Users/jarkko/Library/Application Support/FabFilter/
/Users/jarkko/Library/Application Support/Sonic Academy/
/Users/jarkko/Library/Application Support/ToguAudioLine/
/Users/jarkko/Library/Application Support/u-he/
/Users/jarkko/Library/Audio/Presets/u-he/
/Users/jarkko/Library/Preferences/com.fabfilter.*.plist
/Users/jarkko/Library/Preferences/Serum2Prefs.json
/Users/jarkko/Library/Preferences/SerumPrefs.json
Given that backups are system configuration agnostic this allows me to get all my presets to my new Macbook Neo via restic restore, which will save me whole a lot of time and trouble.