Exclude dotfiles from backups
This commit is contained in:
parent
4171e699b4
commit
3b771e89d3
1 changed files with 1 additions and 0 deletions
|
|
@ -145,6 +145,7 @@ in
|
|||
|
||||
services.borgbackup.jobs.strojnadzor = mkIf cfg.borgbackup.enable {
|
||||
paths = [ cfg.stateDir ];
|
||||
exclude = [ "${cfg.stateDir}/.cache" "${cfg.stateDir}/.config" ];
|
||||
repo = "${cfg.backupDir}/borg";
|
||||
compression = "auto,lzma";
|
||||
encryption.mode = "none";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue