borg: prune files when backing up
This commit is contained in:
parent
df761d0085
commit
968c334c1b
|
@ -54,6 +54,11 @@ in {
|
||||||
environment.BORG_RSH = "ssh -i /root/borgbackup/ssh_key";
|
environment.BORG_RSH = "ssh -i /root/borgbackup/ssh_key";
|
||||||
compression = "auto,lzma";
|
compression = "auto,lzma";
|
||||||
startAt = "daily";
|
startAt = "daily";
|
||||||
|
prune.keep = {
|
||||||
|
daily = 7;
|
||||||
|
weekly = 4;
|
||||||
|
monthly = 6;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue