nix-config/nixos/viridian/services
jasmine c05598d9e0
feat(viridian): implement comprehensive 3-2-1 backup strategy
Add automated snapshot and backup system with three independent tiers:

Snapper (hourly local snapshots):
- Configure snapper for all srv-* subvolumes
- Tiered retention: 24 hourly, 7 daily, 4 weekly, 12 monthly
- Snapshots stored at /.snapshots on viridian drive
- Provides fast operational rollback for user errors

Borgbackup onsite (hourly local backups):
- Independent staging snapshots at /.staging-onsite
- Repository on data drive at /srv/borg-repo
- Unencrypted (physical security assumed)
- Matches snapper retention policy
- Fast local disaster recovery

Borgbackup offsite (daily remote backups):
- Independent staging snapshots at /.staging-offsite
- Encrypted backups to borgbase repository
- Retention: 7 daily, 4 weekly, 12 monthly
- Remote disaster recovery with prune policy

Architecture decisions:
- Separate staging directories prevent job conflicts
- Staging snapshots decouple borg jobs from snapper
- Consistent zstd,9 compression across both borg jobs
- Special case handling for containers subvolume path
2025-10-06 20:59:26 +08:00
..
borgbackup feat(viridian): implement comprehensive 3-2-1 backup strategy 2025-10-06 20:59:26 +08:00
crowdsec remove allowlist 2025-05-30 15:46:35 +08:00
forgejo refactor(viridian): migrate service data to dedicated BTRFS subvolumes 2025-10-06 13:07:46 +08:00
inspircd setup irc network 2025-06-06 18:31:08 +08:00
lighttpd refactor(viridian): migrate service data to dedicated BTRFS subvolumes 2025-10-06 13:07:46 +08:00
minecraft refactor(viridian): migrate service data to dedicated BTRFS subvolumes 2025-10-06 13:07:46 +08:00
mpd fix: Update NFS export IP address format 2025-02-18 21:56:49 +08:00
murmur install murmur 2025-06-04 23:38:48 +08:00
opengist refactor(viridian): migrate service data to dedicated BTRFS subvolumes 2025-10-06 13:07:46 +08:00
snapper feat(viridian): implement comprehensive 3-2-1 backup strategy 2025-10-06 20:59:26 +08:00
traefik remove ollama service from fuchsia host 2025-09-29 18:30:59 +08:00
default.nix feat(viridian): implement comprehensive 3-2-1 backup strategy 2025-10-06 20:59:26 +08:00