CODEX

Restic Backup II — In Action

Remo Hoeppli
CodeX
5 min readMar 8, 2021

--

See restic in action

TL;DR

This blog post is the second of four posts about restic, a simple, beautiful, and extremely versatile file backup solution. I show how restic looks like in action give a brief overview of its core functions, such as backing up, handling tasks on the backup repo, finding the right files, and restoring them.

The restic blog post series

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

Restic in action

People that are used to working with the command line on Linux will feel very familiar when using restic. In fact, its usability is so close to one of the normal command-line tools such as “ls”, “diff”, “cat” and others that it can be used intuitively almost without reading any documentation. It just feels as everything was in its place.

Configuration via environment variables

To avoid entering information such as the repository, the repository credentials, or the encryption password, again and again, I suggest making use of environment variables. To do so, I…

--

--

Remo Hoeppli
CodeX
Writer for

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