CODEX

Restic Backup IV — Real-life examples

Remo Hoeppli
CodeX
5 min readMar 22, 2021

--

Photo by Jay Heike on Unsplash

TL;DR

This blog post is the fourth of four posts about restic, a simple, beautiful, and extremely versatile file backup solution. In this post, I will show real-life examples on how to recover forgotten snapshots, mounting the whole repository to a server, changing the repository encryption password, and self-updating the installed restic version.

The restic blog post series

Restic Backup I — Simple and beautiful backups
Restic Backup II — In action
Restic Backup III — How to set up
Restic Backup IV — Real-life examples (this post)

Forgotten snapshots

If you accidentally “forgot” a snapshot by using the following command:

There is still hope to restore data from that snapshot if you haven’t called the “prune” command yet by using the “recover” command:

--

--

Remo Hoeppli
CodeX

I am a co-founder and software engineer at Earlybyte. Further, I’m a technology enthusiast and minimalism advocate, striving for simplicity and efficiency.