Phase 2 of documentation restructuring. Creates docs/reference/ with: Services (16): - alloy, argocd, borgmatic, 1password, forgejo, grafana - jellyfin, kiwix, loki, miniflux, navidrome, postgresql - prometheus, teslamate, transmission, zot Infrastructure (3): - hosts - Device inventory - tailscale - ACLs, groups, tags - routing - DNS domains and port mappings Kubernetes (2): - cluster - Minikube specs - apps - ArgoCD application registry Storage (2): - sifaka - Synology NAS configuration - backups - Backup policy All cards use wiki-links for cross-referencing and include YAML frontmatter with title and tags for Quartz. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
60 lines
1.4 KiB
Markdown
60 lines
1.4 KiB
Markdown
---
|
|
title: Borgmatic
|
|
tags:
|
|
- service
|
|
- backup
|
|
---
|
|
|
|
# Borgmatic
|
|
|
|
Daily backup system using Borg backup, running on indri.
|
|
|
|
## Quick Reference
|
|
|
|
| Property | Value |
|
|
|----------|-------|
|
|
| **Install** | mise (pipx) |
|
|
| **Config** | `~/.config/borgmatic/config.yaml` |
|
|
| **Schedule** | Daily at 2:00 AM |
|
|
| **Repository** | `/Volumes/backups/borg/` on [[storage/sifaka\|Sifaka]] |
|
|
|
|
## What Gets Backed Up
|
|
|
|
**Directories:**
|
|
- `~/code/personal/zk` - Zettelkasten
|
|
- `/opt/homebrew/var/forgejo` - Git forge data
|
|
- `~/.config/borgmatic` - Borgmatic config
|
|
- `~/Documents` - Personal documents
|
|
- `~/Pictures` - Photos
|
|
|
|
**Databases:**
|
|
- `miniflux` on [[postgresql\|PostgreSQL]]
|
|
- `teslamate` on [[postgresql\|PostgreSQL]]
|
|
|
|
**Not backed up (by design):**
|
|
- ZIM archives (re-downloadable)
|
|
- Prometheus metrics (ephemeral)
|
|
- Loki logs (ephemeral)
|
|
|
|
## Retention Policy
|
|
|
|
| Period | Count |
|
|
|--------|-------|
|
|
| Daily | 7 |
|
|
| Monthly | 12 |
|
|
| Yearly | 1000 |
|
|
|
|
## Monitoring
|
|
|
|
Metrics exposed via textfile collector to [[prometheus\|Prometheus]]:
|
|
- `borgmatic_up` - Repository accessibility
|
|
- `borgmatic_last_archive_timestamp` - Last backup time
|
|
- `borgmatic_repo_deduplicated_size_bytes` - Disk usage
|
|
|
|
Dashboard: "Borgmatic Backups" in [[grafana\|Grafana]]
|
|
|
|
## Related
|
|
|
|
- [[storage/backups\|Backups]] - Full backup policy
|
|
- [[storage/sifaka\|Sifaka]] - Backup target
|
|
- [[postgresql\|PostgreSQL]] - Database backups
|