btrbk

btrbk is a backup tool for Btrfs disks.

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

Setup Backup 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 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

Setup New Client
For each machine that you want to backup, you will need to register it as a client in the backup server. This step need to be done only once per machine (even if you want to backup several disks).

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.

SSH Key
Create an SSH key dedicated to your backups Then, on the backup server, add the following line to.

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