nixos-config/services/restic
Felix Schröter 7799ef1131
fix(restic): fix restic path handling
Generating a list of paths for restic to backup introduces some issues:
- restic matches incremental backups by paths, changing paths cause new
  backups
- logs and a lot of restic commands print all the paths, which makes it
  basically unusable

Thus I've reverted to using static `paths` and excluding patterns via
the `--exclude-file` argument.
To reduce files to backup from `~/dev`, a preStart job was added to the
systemd service: It clones the directory via `rsync` with `.gitignore`
files being respected.
2022-07-04 17:19:31 +02:00
..
common.nix feat(restic): limit resource usage 2022-05-11 20:26:19 +02:00
home-pc.nix fix(restic): fix restic path handling 2022-07-04 17:19:31 +02:00
home-server.nix fix(restic): improve ignorePatterns 2022-07-04 17:11:44 +02:00
lib.nix fix(restic): fix restic path handling 2022-07-04 17:19:31 +02:00