sam-4screen-desktop 2026-5-26:10:39:37

This commit is contained in:
2026-05-26 10:39:37 +10:00
parent 944ae3114f
commit 08ec673f2f
2 changed files with 119 additions and 14 deletions

View File

@@ -4,21 +4,17 @@
"type": "split",
"children": [
{
"id": "11db779298f4bf6e",
"id": "76b0165b401928a8",
"type": "tabs",
"children": [
{
"id": "5fd19dbfbac60659",
"id": "9aa962591bd54417",
"type": "leaf",
"state": {
"type": "markdown",
"state": {
"file": "400 resources/450 Recipes/Chilli Sauce Hack.md",
"mode": "source",
"source": false
},
"type": "empty",
"state": {},
"icon": "lucide-file",
"title": "Chilli Sauce Hack"
"title": "New tab"
}
}
]
@@ -195,10 +191,12 @@
"templater-obsidian:Templater": false
}
},
"active": "5fd19dbfbac60659",
"active": "9aa962591bd54417",
"lastOpenFiles": [
"Welcome.md",
"300 areas/360 Dev-Ops Network Computers/Backup Health Check Commands.md",
"templates/tmpl_generic_note.md",
"400 resources/450 Recipes/Chilli Sauce Hack.md",
"Welcome.md",
"Untitled.canvas",
"300 areas/350 AI/AI Tools to try.md",
"200 projects/210 AI Resume/Websites pages for AI resume.md",
@@ -231,8 +229,6 @@
"400 resources/410 Web Pages/Website Design AI.md",
"100 inbox/Untitled.md",
"100 inbox/1778493481-VJZL.md",
"300 areas/350 AI/LLM - models to consider.md",
"300 areas/350 AI/Pi Agent Extensions & Skills.md",
"400 resources/410 Web Pages/Metasploit Osint - security hacking.md"
"300 areas/350 AI/LLM - models to consider.md"
]
}

View File

@@ -0,0 +1,109 @@
---
created: 2026-05-20 12:00
modified: 2026-05-20 12:00
type: note
tags: [dev-ops, backup, system-config, network]
aliases: [backup-status-checks]
---
# [[Backup Health Check Commands]]
Quick reference for verifying backups across all machines.
---
## .27 — sam-4screen-desktop (Borg → .13)
```bash
# Service status
systemctl status borgbackup-job-home-to-13.service
# Timer status
systemctl status borgbackup-job-home-to-13.timer
# List snapshots
export BORG_PASSPHRASE=$(cat /home/sam/.borg-passphrase)
borg list sam@192.168.20.13:/mnt/ubuntu_storage_3TB/backup/borg/.27
# Recent logs
sudo journalctl -u borgbackup-job-home-to-13.service --no-pager -n 10
# Check passphrase exists
ls /home/sam/.borg-passphrase
```
## .13 — nixos-desktop (Borg local + rsync → .35)
```bash
# Service status
systemctl status borgbackup-job-local-to-storage.service
# Timer status
systemctl status borgbackup-job-local-to-storage.timer
# Rsync timer
systemctl status borg-rsync-to-35.timer
# List snapshots
export BORG_PASSPHRASE=$(cat /home/sam/.borg-passphrase)
borg list /mnt/ubuntu_storage_3TB/backup/borg/.13
# Also check .27 repo (stored locally on .13)
borg list /mnt/ubuntu_storage_3TB/backup/borg/.27
# Mount status
df -h /mnt/ubuntu_storage_3TB
# Recent logs
sudo journalctl -u borgbackup-job-local-to-storage.service --no-pager -n 10
# Fix permissions if sam can't read (borg runs as root)
sudo chown -R sam:users /mnt/ubuntu_storage_3TB/backup/borg/.13
```
## .35 — sam-ubuntu1 (Kopia + Backrest → .23 NFS)
```bash
# Kopia snapshots
docker exec kopia kopia snapshot list --all
# Kopia policy
docker exec kopia kopia policy show --global
# Backrest / Restic snapshots
docker exec -e RESTIC_PASSWORD=sam4jo backrest restic -r /repos snapshots
# NFS mount check
df -h /mnt/nfs_usb_3tb
# NFS share usage
du -sh /mnt/nfs_usb_3tb/kopia/ /mnt/nfs_usb_3tb/backups/
```
---
## Storage Stats
| Location | Machine | Size | Free | Repo |
|----------|---------|------|------|------|
| `/mnt/ubuntu_storage_3TB` | .13 | 2.7T | 2.6T | `.13/` + `.27/` |
| `/mnt/nfs_usb_3tb` | .35→.23 | 2.7T | 2.5T | Kopia (`46G`) + Restic (`11G`) |
---
## Manual Ad-Hoc Backup
```bash
# .27 — trigger backup immediately
sudo systemctl start borgbackup-job-home-to-13.service
# .13 — trigger backup immediately
sudo systemctl start borgbackup-job-local-to-storage.service
```
## Vorta GUI (.27 only)
- Repo: `sam@192.168.20.13:/mnt/ubuntu_storage_3TB/backup/borg/.27`
- Encryption: `repokey-blake2`
- SSH key: auto-detect
- Compression: LZMA
- Use for browsing/restoring snapshots — leave scheduler **disabled** (systemd timer handles it)