sam-4screen-desktop 2026-5-29:16:51:53

This commit is contained in:
2026-05-29 16:51:53 +10:00
parent 8fb44c6331
commit 8bf182ca50
4 changed files with 273 additions and 33 deletions

View File

@@ -1,6 +1,6 @@
---
created: 2026-05-20 09:30
modified: 2026-05-20 09:30
modified: 2026-05-28
type: note
tags:
- dev-ops
@@ -52,14 +52,34 @@ Three-machine backup with dual-copy (local + network) covering all critical data
## .35 — sam-ubuntu1
**Tools**: Kopia + Backrest (Restic) — Docker containers
**Sources**: `/Docker/Containers/`, `/docker-config`, `/docker-volumes`, `/host_fs/root/trilium-data`
**Target**: `//192.168.20.23/usb_3tb``/mnt/nfs_usb_3tb/`
- Kopia repo: `/mnt/nfs_usb_3tb/kopia/backups/` (46G)
- Restic repo: `/mnt/nfs_usb_3tb/backups/restic/` (11G)
**Schedule**:
- Kopia: Weekly Sun 22:00 (retention: 10 latest, 4 weekly, 12 monthly, 3 annual)
- Backrest: Weekly Sun 23:00 (prune/check daily)
**VM-level**: Proxmox Backup Server (.48)
### Backup Sources
| Source | Tool | Status |
|--------|------|--------|
| `/Docker/Containers/` | Kopia | ✅ Weekly Sun 22:00 |
| `/docker-config`, `/docker-volumes` | Backrest (Restic) | ✅ Weekly Sun 23:00 |
| `/host_fs/root/trilium-data` | Backrest (Restic) | ✅ Weekly Sun 23:00 |
| **`/host_fs/mnt/hd`** ← _new_ | **Backrest (Restic)** | ✅ **Added 2026-05-28** |
| **`/host_fs/var/lib/docker/volumes`** | Kopia | ✅ Weekly Sun 22:00 |
### Retention
- Kopia: 10 latest, 4 weekly, 12 monthly, 3 annual
- Backrest: 10 latest (prune/check daily)
### Data Drive (My Passport)
.dev/vda1 — 1.8T NTFS — physical WD My Passport passed through to VM
**Mount point**: `/mnt/hd` (was incorrectly at `/mnt/my_passport` — fixed 2026-05-28)
**Contains**: Immich photos (40K), and all Docker service data (audiobookshelf, lidarr, radarr, sonarr, qbittorrent, etc.)
### VM-level
Proxmox Backup Server (.48) — full VM backup
## .23 — file-server
@@ -84,5 +104,11 @@ borg extract /mnt/ubuntu_storage_3TB/backup/borg/.13::<archive>
## Not Covered
- `.27`: Git-tracked NixOS config (already covered by flakes)
- `.13`: Git-tracked NixOS config, `ollama`/`open-webui` Docker volumes, old Windows drives
- `.35`: Ubuntu VM filesystem (covered by Proxmox PBS), Obsidian vault (in Docker, covered by Kopia)
- `.13`: Git-tracked NixOS config, `ollama`/`open-webui` Docker volumes, old Windows drives, **MaxtorBackup** sde1 (1.4T, unmounted)
- `.35`: **`.23` file-server has no backup** — single point of failure for restic/kopia repos
- `.23`: Itself has no backup at all
## Recent Changes
- **2026-05-28**: Discovered My Passport (`/dev/vda1`, 1.8T) had all real data but was mounted at `/mnt/my_passport` instead of `/mnt/hd`. Remounted to `/mnt/hd`. Immich photos (40K) and all Docker service data recovered.
- **2026-05-28**: Added `/host_fs/mnt/hd` to Backrest (Restic) backup plan. Previously NOT covered — the 40K Immich photos escaped loss by luck.