Conversation

Jarkko Sakkinen

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:

  1. Backup: restic backup --files-from ~/MEGA/Restic/jarkko-kan-01.local.txt
  2. 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).

1
1
0

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
1
0
0
I use for MEGA mainly because it does not have AI features and it does have S4 support. I don't know any other consumer subscription cloud storage that has this combination of qualities.
1
1
1

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.

0
0
0