backup: migrate to native services.restic.backups #14

Merged
torjus merged 2 commits from migrate-to-native-restic-backups into master 2026-02-03 23:47:11 +00:00
Owner

Summary

  • Replace custom backup-helper flake input with native services.restic.backups module
  • Migrate backup configurations for ha1, monitoring01, and nixos-test1
  • Remove backup-helper dependency from flake.nix and flake.lock

Changes

Host Backup Name Type
ha1 restic-backups-ha1 Paths: hass, zigbee2mqtt, mosquitto
monitoring01 restic-backups-grafana Paths: grafana plugins
monitoring01 restic-backups-grafana-db Command: sqlite3 dump
nixos-test1 restic-backups-test Paths: machine-id, os-release

Notes

  • Same repository and credentials used (rest:http://10.69.12.52:8000/backup-nix)
  • Retention policy matches previous: 7 daily, 4 weekly, 6 monthly, keep-within 1d
  • Native module provides CLI wrappers (e.g., restic-ha1) for manual operations
## Summary - Replace custom `backup-helper` flake input with native `services.restic.backups` module - Migrate backup configurations for `ha1`, `monitoring01`, and `nixos-test1` - Remove `backup-helper` dependency from flake.nix and flake.lock ## Changes | Host | Backup Name | Type | |------|-------------|------| | ha1 | `restic-backups-ha1` | Paths: hass, zigbee2mqtt, mosquitto | | monitoring01 | `restic-backups-grafana` | Paths: grafana plugins | | monitoring01 | `restic-backups-grafana-db` | Command: sqlite3 dump | | nixos-test1 | `restic-backups-test` | Paths: machine-id, os-release | ## Notes - Same repository and credentials used (`rest:http://10.69.12.52:8000/backup-nix`) - Retention policy matches previous: 7 daily, 4 weekly, 6 monthly, keep-within 1d - Native module provides CLI wrappers (e.g., `restic-ha1`) for manual operations
torjus added 1 commit 2026-02-03 23:45:57 +00:00
backup: migrate to native services.restic.backups
Some checks failed
Run nix flake check / flake-check (push) Has been cancelled
Run nix flake check / flake-check (pull_request) Successful in 4m0s
d25fc99e1d
Replace custom backup-helper flake input with NixOS native
services.restic.backups module for ha1, monitoring01, and nixos-test1.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
torjus added 1 commit 2026-02-03 23:46:02 +00:00
docs: add clipboard note and update flake inputs
Some checks failed
Run nix flake check / flake-check (push) Successful in 4m10s
Run nix flake check / flake-check (pull_request) Failing after 18m29s
d1861eefb5
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
torjus merged commit 15459870cd into master 2026-02-03 23:47:11 +00:00
torjus deleted branch migrate-to-native-restic-backups 2026-02-03 23:47:12 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: torjus/nixos-servers#14