borg: prune files when backing up

This commit is contained in:
Antoine Martin 2021-03-15 23:52:07 +01:00
parent df761d0085
commit 968c334c1b

View file

@ -54,6 +54,11 @@ in {
environment.BORG_RSH = "ssh -i /root/borgbackup/ssh_key";
compression = "auto,lzma";
startAt = "daily";
prune.keep = {
daily = 7;
weekly = 4;
monthly = 6;
};
};
};
}