Commit graph

6 commits

Author SHA1 Message Date
Felix Schröter 9965f73c74
style: fix some statix issues 2022-09-28 15:27:19 +02:00
Felix Schröter 170612a57e
feat(restic): reduce download bandwidth 2022-08-11 19:35:44 +02:00
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
Felix Schröter de264cde5a
fix(restic): switch to fd to include empty paths 2022-05-15 19:37:53 +02:00
Felix Schröter 2977d1445d
fix(restic): include hidden files & extend ignorePatterns 2022-05-15 15:38:12 +02:00
Felix Schröter 0dee8b4fa7
fix(secrets): fix permissions
Also moves key references into respective configs where they are used.
2022-05-06 03:44:47 +02:00