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).
Published at
2026-09-01 19:08:58 UTCEvent JSON
{
"id": "dd9682d237fb64733217d1376a43564658e6fcaf1289ff6622726b557663f6a6",
"pubkey": "9851a5c2a61534680802e5ed86db4b6f94fa176cf13950a216776021757d30db",
"created_at": 1788289738,
"kind": 1,
"tags": [
[
"proxy",
"https://social.kernel.org/objects/66d6394c-2faa-403e-917d-2f689e4bb573",
"activitypub"
],
[
"client",
"Mostr",
"31990:6be38f8c63df7dbf84db7ec4a6e6fbbd8d19dca3b980efad18585c46f04b26f9:mostr",
"wss://relay.ditto.pub"
]
],
"content": "This how I backup now with Restic.\n\nI have restic-env:\n\n# vim:ft=sh\n\nexport AWS_SECRET_ACCESS_KEY=$(pass net/mega.nz/s4/secret)\nexport AWS_ACCESS_KEY_ID=$(pass net/mega.nz/s4/access)\nexport RESTIC_PASSWORD_COMMAND=\"pass net/mega.nz/restic/$1\"\nexport RESTIC_REPOSITORY=\"s3:s3.eu-amsterdam-2.megas4.com/$1\"\n\n\nThen for each system I have own bucket, which I manage as follows:\n\nBackup: restic backup --files-from ~/MEGA/Restic/jarkko-kan-01.local.txt\nRestore: restic --target / 4de0c63f.\n\nNote that restore is done relative to the system root i.e., they are full system backups.\n\nI 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).",
"sig": "0114697d3739462028c898e98aee69c4a20634e9a589ee8a34a6b1f5f65881e60588143dd951126e7a2d3f2a0b82dd88e1a39252686a58ce88e548e5b3ceb943"
}