backups: Add atomic backups with restic

This commit is contained in:
Tristan Daniël Maat 2023-09-22 06:20:36 +02:00
parent ab5e088016
commit 87dd9daa4f
Signed by: tlater
GPG key ID: 49670FD774E43268
9 changed files with 316 additions and 5 deletions
configuration/services

View file

@ -231,4 +231,14 @@ in {
};
};
};
services.backups.conduit = {
user = "root";
paths = [
"/var/lib/private/matrix-conduit/"
];
# Other services store their data in conduit, so no other services
# need to be shut down currently.
pauseServices = ["conduit.service"];
};
}