mirror of
https://github.com/myronblair/infra
synced 2026-06-30 17:50:10 -05:00
52f6073593
AI context/memory from Claude Code sessions covering all infrastructure: JARVIS, NovaCPX, DO sites, Proxmox, FusionPBX, MediaStack, and project feedback/preferences.
2.0 KiB
2.0 KiB
name, description, metadata
| name | description | metadata | ||||||
|---|---|---|---|---|---|---|---|---|
| proxmox-backup | Proxmox PVE1/PVE2 config backup to GitHub — weekly cron, restore script, repo structure |
|
GitHub repo myronblair/proxmox-config (private) — full config backup + disaster recovery.
Why: So both Proxmox nodes can be rebuilt quickly from scratch after hardware failure without losing VM configs, network, custom scripts, or services.
How to apply: Reference this when discussing Proxmox maintenance, DR planning, or if a node goes down.
Repo Structure
shared/— cluster-wide: all VM/LXC .conf files, storage.cfg, datacenter.cfg, user.cfg, corosync.conf, jobs.cfg, firewall, ha, sdnpve/— PVE1 (10.48.200.90): network, cron, scripts, systemd (filebrowser, jarvis-agent, ollama), ssh/authorized_keyspve2/— PVE2 (10.48.200.91): network, cron, scripts (just pve-remove-nag.sh), systemd (jarvis-agent)backup.sh— runs on each node, pulls repo, collects files, commits+pushesrestore.sh pve1|pve2— interactive disaster recovery wizard
Schedule
Weekly cron on both nodes: 0 3 * * 0 /usr/local/bin/proxmox-backup >> /var/log/proxmox-backup.log 2>&1
Manual trigger
/usr/local/bin/proxmox-backup on either node
What's NOT backed up (intentional)
/etc/pve/priv/— CA private key, cluster auth keys (Proxmox regenerates these)- SSH private keys
- Large binaries: ollama, filebrowser, blockalign, urbackupclientctl
- VM disk images → covered by PBS at 10.48.200.85
Restore flow
- Fresh Proxmox install → set hostname + IP
apt install git && git clone https://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@github.com/myronblair/proxmox-config.git /opt/proxmox-configbash /opt/proxmox-config/restore.sh pve1(interactive, confirms each step)- Reboot for network, then restore VMs from PBS
PVE2 disk space issue (2026-06-09)
PVE2 was at 100% disk — removed old kernels to free ~9GB. Now at 96% (4.4GB free). Worth monitoring.