---
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)
