Fixes multiple issues with borgbackup service coordination: 1. Race condition between onsite/offsite backups - Set Type=oneshot to ensure services wait for completion - Added Wants= dependency to trigger onsite when offsite runs - Prevents snapshot path collision at /btrfs-subvolumes 2. Network unavailability after sleep/wake - Added persistentTimer=true to onsite backups - NixOS module now auto-adds network-online.target dependencies - Fixes DNS resolution failures for SSH repos 3. Data loss risk from missed backups - Persistent timers ensure backups run on wake if missed - Protects work done before sleep from being unbackored 4. Duplicate onsite runs at midnight - Removed 15-minute stagger (00:15 -> 00:00) - Systemd deduplicates services in same transaction - Onsite now runs once, not twice Applied to both fuchsia and viridian for consistency. |
||
---|---|---|
.. | ||
common | ||
fuchsia | ||
viridian |