backup more on vps

This commit is contained in:
Dmitriy Kholkin 2023-07-02 18:05:31 +03:00
parent 1898a3f751
commit 9af767b4de

View File

@ -3,8 +3,14 @@
initialize = true;
passwordFile = "/srv/restic-pass";
repositoryFile = "/srv/restic-repo";
paths = [ "/srv" ];
exclude = [ "/srv/restic-pass" "/srv/restic-repo" ];
paths = [
"/srv"
"/var/lib/acme"
"/var/lib/headscale"
"/var/lib/redis-unbound"
"/var/lib/tailscale"
"/var/lib/tor"
];
environmentFile = "${pkgs.writeText "restic.env" "GOMAXPROCS=1"}";
extraBackupArgs = [ "--no-scan" ];
timerConfig = {