Compare commits
No commits in common. "8629db70e6ff31b73dc78a943aba8df5f6dd21e3" and "c47d72a37602ee293b39a0f6b259114a1c2f90e2" have entirely different histories.
8629db70e6
...
c47d72a376
|
@ -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 = {
|
||||
|
|
|
@ -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"
|
||||
];
|
||||
exclude = [ "${nextcloudHome}/data/*/uploads" ];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue