Commit graph

41 commits

Author SHA1 Message Date
b598614f84
feat(home): remove keybase 2025-03-25 17:59:12 +01:00
6598879013
feat(restic): extend ignore patterns 2025-02-13 23:33:31 +01:00
1c5d83d81e
style: reformat with nixfmt-rfc-style 2024-05-26 17:37:08 +02:00
5928e539fb
fix(restic): cleanup stale locks before running backups 2023-07-21 16:14:43 +02:00
1741f59376
chore(restic): ignore ~/.mullvad 2023-04-13 14:30:57 +02:00
a034044b5a
fix: add heroic to backup exclusions 2022-09-28 15:33:18 +02:00
9965f73c74
style: fix some statix issues 2022-09-28 15:27:19 +02:00
2191a7092d
feat(home): add foliate 2022-09-04 11:43:47 +02:00
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
e85cb4e0f0
chore(restic): reduce to 4 daily backups 2022-08-15 21:16:29 +02:00
76d4457e92
chore(restic): extend ignore patterns 2022-08-15 21:14:11 +02:00
aa1075e911
chore: update state version 2022-08-12 12:30:01 +02:00
170612a57e
feat(restic): reduce download bandwidth 2022-08-11 19:35:44 +02:00
fc3a243354
feat: remove syncthing 2022-07-10 13:12:57 +02:00
6fee4d8a86
fix(restic): remove **/.git from home-server ignorePatterns 2022-07-08 11:29:35 +02:00
0bd12bcf2a
feat(restic): use hard links for ~/dev-backup 2022-07-08 11:29:35 +02:00
6e6e483b87
fix(restic): remove old ripgrep option 2022-07-04 21:13:54 +02:00
9a0c1eb64f
fix(restic): add missing folders to ignorePatterns 2022-07-04 18:00:34 +02:00
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
3a0c9a91e8
fix(restic): improve ignorePatterns 2022-07-04 17:11:44 +02:00
8c52dfff36
refactor: rename server: rpi4 -> home-server 2022-06-26 13:22:50 +02:00
6b7ae2c252
feat(restic): add home-server ignore directory 2022-05-27 17:44:56 +02:00
de264cde5a
fix(restic): switch to fd to include empty paths 2022-05-15 19:37:53 +02:00
e3fbe28103
feat(home-server): rename felix-rpi4 to home-server 2022-05-15 15:39:12 +02:00
2977d1445d
fix(restic): include hidden files & extend ignorePatterns 2022-05-15 15:38:12 +02:00
b57b2293ca
feat(restic): limit resource usage 2022-05-11 20:26:19 +02:00
46409b1c71
chore: add restic secrets to .env 2022-05-09 12:26:12 +02:00
0dee8b4fa7
fix(secrets): fix permissions
Also moves key references into respective configs where they are used.
2022-05-06 03:44:47 +02:00
5f329f550e
feat: set up agenix secrets management 2022-05-05 19:57:48 +02:00
d20b90ecb9
fix(backups): fix & improve ripgrep matching 2022-05-01 16:44:29 +02:00
dfe6dbecf3
feat: switch to samba for media share 2022-02-04 23:23:34 +01:00
581edb8134
fix: ignore ~/Games in backups 2022-02-03 19:14:13 +01:00
99223e4ad8
feat: enable restic for home-pc 2022-01-27 15:01:24 +01:00
c87de43103
chore(restic): use new credentials config 2021-11-23 00:14:05 +01:00
4df25ee687
feat(restic): simplify backups 2021-10-23 00:37:30 +02:00
07fa38bdf8
feat(restic): update restic config 2021-08-04 22:27:47 +02:00
88e424e493
feat: add restic package 2021-05-12 23:22:52 +02:00
5b58081b61
feat(rpi4): add photoprism 2021-04-04 18:50:56 +02:00
83fe2c4a63
fix(rpi4): fix restic backup config 2021-03-21 15:55:57 +01:00
72a4fb4fbc
feat(rpi4): update restic backup config 2021-03-21 15:40:40 +01:00
74b696d20b
feat(rpi4): add restic backup service 2021-03-21 14:36:59 +01:00