scripts: refresh-proxmox-info.sh wrapper for PVE snapshots
Parallel to refresh-server-info.sh but pipes proxmox_inspect.sh and writes to servers/<host>/proxmox-details.txt. Same discovery / ssh-target / validate-only / dry-run behavior. Fleet-wide `all` matches dir names containing `-pve` (covers *-pve and *-pve-* so esh-pve-nas is included alongside pfi-pve / nh3-pve / esh-pve). Explicit names are never filtered — useful for one-off PVE hosts with non-matching names. Validation checks the captured snapshot for: truncation, missing PVE version line, non-Proxmox target, and surfaces backup-coverage "NO" verdict counts so gaps show up in the validate-only output. Initial fleet snapshot refreshed.
This commit is contained in:
@@ -37,6 +37,7 @@ Per-host snapshots of the running system live under `servers/<host>/system-detai
|
||||
│ ├── server_inspect.sh # read-only diagnostic, runs on remote via stdin
|
||||
│ ├── proxmox_inspect.sh # Proxmox-aware probe (VMs, LXCs, storage, backup coverage)
|
||||
│ ├── refresh-server-info.sh # pull fresh system-details.txt for one/all hosts
|
||||
│ ├── refresh-proxmox-info.sh # pull fresh proxmox-details.txt for one/all PVE nodes
|
||||
│ ├── add-host.sh # register a new server (writes servers/<name>/ssh-target)
|
||||
│ ├── sync-stacks.sh # pull /opt/docker/{compose,conf}/ → stacks-mirror/
|
||||
│ └── deploy-stack.sh # push stacks-mirror/<host>/<stack>/ with diff + prompt
|
||||
@@ -96,6 +97,11 @@ scripts/refresh-server-info.sh ana-docker
|
||||
scripts/refresh-server-info.sh all
|
||||
```
|
||||
|
||||
**Refresh all Proxmox nodes (separate flow — captures VM/LXC/backup-coverage):**
|
||||
```bash
|
||||
scripts/refresh-proxmox-info.sh all
|
||||
```
|
||||
|
||||
**Add a new host:**
|
||||
```bash
|
||||
scripts/add-host.sh <name> <ip-or-user@ip>
|
||||
|
||||
Reference in New Issue
Block a user