Commit graph

19 commits

Author SHA1 Message Date
Felix Schröter a034044b5a
fix: add heroic to backup exclusions 2022-09-28 15:33:18 +02:00
Felix Schröter 2191a7092d
feat(home): add foliate 2022-09-04 11:43:47 +02:00
Felix Schröter abfc044256
fix(restic): fix ~/dev backups
Previously, since we created a new copy of ~/dev prior to every backup
run, we caused new ctimes to be set every time which lead to many
changed files on every backup run.
This change removes the deletion of ~/dev-backup after backups and
ensures deleted files get removed from ~/dev-backup as well.
This change should also drastically reduce download bandwidth during prunes.
2022-08-26 16:29:10 +02:00
Felix Schröter e85cb4e0f0
chore(restic): reduce to 4 daily backups 2022-08-15 21:16:29 +02:00
Felix Schröter 76d4457e92
chore(restic): extend ignore patterns 2022-08-15 21:14:11 +02:00
Felix Schröter aa1075e911
chore: update state version 2022-08-12 12:30:01 +02:00
Felix Schröter fc3a243354
feat: remove syncthing 2022-07-10 13:12:57 +02:00
Felix Schröter 0bd12bcf2a
feat(restic): use hard links for ~/dev-backup 2022-07-08 11:29:35 +02:00
Felix Schröter 9a0c1eb64f
fix(restic): add missing folders to ignorePatterns 2022-07-04 18:00:34 +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 3a0c9a91e8
fix(restic): improve ignorePatterns 2022-07-04 17:11:44 +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 46409b1c71
chore: add restic secrets to .env 2022-05-09 12:26: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
Felix Schröter d20b90ecb9
fix(backups): fix & improve ripgrep matching 2022-05-01 16:44:29 +02:00
Felix Schröter dfe6dbecf3
feat: switch to samba for media share 2022-02-04 23:23:34 +01:00
Felix Schröter 581edb8134
fix: ignore ~/Games in backups 2022-02-03 19:14:13 +01:00
Felix Schröter 99223e4ad8
feat: enable restic for home-pc 2022-01-27 15:01:24 +01:00