Compare commits

..

No commits in common. "8629db70e6ff31b73dc78a943aba8df5f6dd21e3" and "c47d72a37602ee293b39a0f6b259114a1c2f90e2" have entirely different histories.

2 changed files with 2 additions and 7 deletions

View file

@ -54,7 +54,6 @@ in {
environment.BORG_RSH = "ssh -i /root/borgbackup/ssh_key";
extraCreateArgs = "--stats --list";
extraPruneArgs = "--stats --list";
doInit = true;
compression = "auto,zstd";
startAt = "daily";
prune.keep = {

View file

@ -75,12 +75,8 @@ in
nextcloudHome = config.services.nextcloud.home;
in lib.mkIf cfg.enable {
paths = [ nextcloudHome ];
exclude = [
# borg can fail if *.part files disappear during backup
"re:^${nextcloudHome}/data/[^/]+/uploads"
# image previews can take up a lot of space
"re:^${nextcloudHome}/data/appdata_[^/]+/preview"
];
# borg can fail if *.part files disappear during backup
exclude = [ "${nextcloudHome}/data/*/uploads" ];
};
};
}