restic¶
my favorite backup tool on linux, you can back up your stuff encrypted to various endpoints like amazon s3, backblaze b2, sftp and others. using rclone even to tons more. I'm not listing any more of them here since it's under active development, check the docs out
list snapshots¶
list all the snapshots available in a given repo:
restore from a snapshot / backup¶
the most important thing you're probably not doing:
- get the snapshot ID from the above output
where asdf1234
is the exact snapshot name, if you want the latest snapshot you can just use latest
instead of the ID
restore just a single file or folder:
this will restore /home/jonas
from the snapshot to /tmp/restore
mount a snapshot¶
for the lazy guys, you can just mount a snapshot to restore files and folders and go through them:
unlock a locked repository¶
if you get this, because a backup failed or you hit some api limits with b2:
do this to unlock the repository (be sure that no process is running, check the mentioned PID in the message):
that's an example for b2 with the repo name repo-name