nix-config/nixos/viridian/services/borgbackup
jasmine a6fa8866ac
feat(fuchsia): implement backup strategy with explicit home paths
Add snapper and borgbackup for fuchsia home directory backups:

Snapper Configuration:
- Hourly snapshots of /home/sajenim
- Retention: 24 hourly, 7 daily, 4 weekly, 12 monthly
- Stored in nested .snapshots subvolume

Borgbackup Onsite:
- Backup to viridian over SSH (local network)
- Target: ssh://viridian/srv/borg-repo/fuchsia
- Hourly backups, unencrypted, deduplicated
- Same retention as snapper

Borgbackup Offsite:
- Backup to borgbase (internet)
- Target: li9kg944@li9kg944.repo.borgbase.com:repo
- Daily backups, encrypted (repokey-blake2), deduplicated
- Retention: 7 daily, 4 weekly, 12 monthly

Explicit Home Paths (valuable user data only):
- Documents, Pictures, Videos, Music, Downloads, Academics, Notes
- Dotfiles: .ssh, .gnupg

System Persist Data:
- SSH host keys, machine-id, nixos state
- Bluetooth, NetworkManager configurations

Intentionally Excluded:
- .config (managed declaratively via home-manager)
- .repositories (cloneable from GitHub)
- .cache and build artifacts

Treats viridian as central backup server, maintaining 3-2-1 strategy
(3 copies, 2 locations, 1 offsite).

chore(viridian): remove unused inputs parameter from borgbackup offsite
2025-10-07 19:14:11 +08:00
..
borgbase_hosts chore: update borg repo and passphrase 2025-03-26 13:34:07 +08:00
default.nix feat(viridian): implement comprehensive 3-2-1 backup strategy 2025-10-06 20:59:26 +08:00
key.age chore: update borg repo and passphrase 2025-03-26 13:34:07 +08:00
offsite.nix feat(fuchsia): implement backup strategy with explicit home paths 2025-10-07 19:14:11 +08:00
onsite.nix feat(viridian): add explicit persist data to backup strategy 2025-10-07 17:06:45 +08:00
passphrase.age migrate backups to borgbase 2024-10-15 06:46:10 +08:00