Quartz's "shortest" path mode resolves wiki-links by filename, not frontmatter title. This fixes the broken links from the previous title-based approach. Changes: - Rename zk duplicate files with -log suffix to avoid conflicts - Rename reference/storage/postgresql.md to postgresql-storage.md - Convert all wiki-links from [[Title]] to [[filename|Title]] format - Rename doc-card-titles task to doc-filenames (checks filename uniqueness) - Update pre-commit hook for renamed task Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
60 lines
1.3 KiB
Markdown
60 lines
1.3 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 [[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
|
|
|
|
- [[backups|Backups]] - Full backup policy
|
|
- [[sifaka|Sifaka]] - Backup target
|
|
- [[postgresql|PostgreSQL]] - Database backups
|