The goal is to create a virtual private network between only 2 linux machines. The use case is to connect a VPS hosted by a provider and a local machine with a secure connection.

The github repo contains a better documentation than the official one: wireguard-docs

Prerequisite is two linux serv...

How to test your Mariadb backup with Docker

An easy way to test your backup is creating a new instance :

docker run -d --rm --name mariadb-test --env MARIADB_ROOT_PASSWORD=root-pw \ 

 --env MARIADB_USER=user1 --env MARIADB_PASSWORD=passwd1 -p 3306:3306 mariadb

Restore your backup:

docker e...

How to backup your Mariadb in Docker via crontab

If you have a docker environment with some Mariadb instances, you want to backup these db regularly
The Mariadb documentation provide an easy line : mariadb-dump db_name > backup-file.sql
If you don't want to specify a dbname just add --all-data...