jlelse's Blog

Thoughts, stories and ideas

Resticker

Backup a dockerized Postgres database with Resticker

in 👨‍💻 Dev

I got the question how to solve the problem that when backing up the storage of a dockerized Postgres database (using Resticker) it could be that the backup is corrupt because the database is still running. This is an addition to my post of how to backup Docker volumes using resticker. I had exactly the same problem. I wanted to backup a Postgres database running in a Docker container without having to stop the database or have a corrupt backup.

Read more

Automatically Backup Docker Volumes using restic

in 👨‍💻 Dev

One of the most visited pages on my blog is about how to automatically backup Docker volumes. In that post I use the Docker image blacklabelops/volumerize. Unfortunately that image is deprecated since March 2019 and not longer maintained. Under the hood the volumerize image is using the GNU program duplicity, which is an awesome software, but also has its downsides. Especially the model of full backups and incremental backups comes from a time where backups where mainly made to tapes (just append new files all the time).

Read more

Jan-Lukas Else