btrbk

btrbk is a backup tool for Btrfs disks.

Setup Server
The backup server will be the machine that will receive the backup data. Clients will connect to it to sent their backup data. As a consequence, your server must be reachable from all your clients.

Destination Disk
Create a Btrfs volume or subvolume and mount it on.

User
This user will need to run  tools as root. Let’s add this to the  file If you limited access to certain users through SSH, add  to the AllowUsers list and restart SSH

Install btrbk
btrbk is not yet included in Debian Jessie. Make sure you configure stretch source before running the command bellow.

SSH Key
Create an SSH key dedicated to your backups Keep the result of the last command, you will need it at the next step.

Register Client on the Server
Note: On the instructions bellow, the token  must be replace by the machine name.

Create Destination Folder
On the backup server, create a new folder for the client.

Setup SSH Key
Then, on the backup server, add the following line to. The key at the end of the line must be replaced with the public key that you created above.

If you have OpenSSH 7.2 or above (test using ), use this line Otherwise, you need the more verbose version

Configure btrbk
Create file