Commit graph

24 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
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
fc3a243354
feat: remove syncthing 2022-07-10 13:12:57 +02:00
0bd12bcf2a
feat(restic): use hard links for ~/dev-backup 2022-07-08 11:29:35 +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
de264cde5a
fix(restic): switch to fd to include empty paths 2022-05-15 19:37:53 +02:00
2977d1445d
fix(restic): include hidden files & extend ignorePatterns 2022-05-15 15:38:12 +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
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