Proxmox Control Center
Scripts, backups, restore & systeembeheer.
Versie: PVE 9.1.2
Mode: Single node
Storage: NFS backups
🔍
Installatie Scripts
Alle containers automatisch bijwerken
Update
Na installatie inloggen als root (sudo -i) en het commando update uitvoeren.
BASH
curl -fsSL https://charlesderidder.nl/proxmox/stable/lxc-manager.sh \
| sed 's/\r$//' \
| sudo tee /usr/local/bin/update > /dev/null \
&& sudo chmod +x /usr/local/bin/update
Na installatie inloggen als root (sudo -i) en het commando update2 uitvoeren.
BASH
curl -fsSL https://charlesderidder.nl/proxmox/proxmox-manager.sh \
| sed 's/\r$//' \
| sudo tee /usr/local/bin/update2 > /dev/null \
&& sudo chmod +x /usr/local/bin/update2
BASH
bash <(curl -fsSL https://raw.githubusercontent.com/tteck/Proxmox/refs/heads/main/install/n8n-install.sh)
BASH
bash <(curl -fsSL https://raw.githubusercontent.com/asylumexp/Proxmox/main/ct/evcc.sh)
No-subscription repository instellen
Vervangt de enterprise repo door de gratis variant.
BASH
cat > /etc/apt/sources.list.d/pve-no-subscription.list <
Automatisch bijwerken (DNF)
BASH
apt install dnf
sudo dnf upgrade -y && sudo dnf install -y dnf5-plugin-automatic
Beheer Scripts
nfsbackupstorage
NFS backup validatie
CLI
pvesm status
mount | grep proxmox
df -h /mnt/pve/*
lxcinventory
LXC overzicht
CLI
pct list
pct config <CTID>
vmqemu
VM overzicht
CLI
qm list
qm config <VMID>
enterpriseclean
Alle (Enterprise) repositories verwijderen
BASH SCRIPT
cat << 'EOF' > /root/cleanup-proxmox-repos.sh
#!/bin/bash
set -e
echo "[1/5] Verwijderen van alle bestaande Proxmox & Ceph repos"
rm -f /etc/apt/sources.list.d/pve*.list
rm -f /etc/apt/sources.list.d/pve*.sources
rm -f /etc/apt/sources.list.d/ceph*.list
rm -f /etc/apt/sources.list.d/ceph*.sources
echo "[2/5] Controleren dat geen enterprise repos meer bestaan"
grep -R enterprise.proxmox.com /etc/apt/ && {
echo "FOUT: enterprise repo gevonden!"
exit 1
} || echo "OK: geen enterprise repos"
echo "[3/5] Toevoegen Proxmox no-subscription repo (correcte variant)"
cat << 'REPO' > /etc/apt/sources.list.d/pve-no-subscription.list
deb http://download.proxmox.com/debian/pve bookworm pve-no-subscription
REPO
echo "[4/5] APT opschonen"
apt clean
echo "[5/5] APT update uitvoeren"
apt update
echo
echo "KLAAR: Alleen Debian + Proxmox no-subscription actief"
EOF
chmod +x /root/cleanup-proxmox-repos.sh
/root/cleanup-proxmox-repos.sh
Backup Strategie
🛡️ Configuratie Instellingen
TypeDagelijkse vzdump
ModeSnapshot
Compressiezstd (snel + efficiënt)
Retentie7 daily / 4 weekly / 3 monthly
Restore Procedure
ℹ️ Gebruik deze stappen om een container of VM veilig te herstellen zonder dataverlies van de huidige instance.
- Selecteer een backup bestand dat ≥7 dagen oud is (of gewenste datum).
- Kies 'Restore' maar vul een nieuwe CTID/VMID in (overschrijf niet de huidige).
- Start de herstelde container en controleer de werking.
- Voer validatie uit op applicatieniveau.
- Verwijder pas de oude container na 100% verificatie.
Probleemoplossing
Web UI Check
Als de webinterface niet laadt, controleer de service en de poort.
CLI
systemctl status pveproxy
ss -lntp | grep 8006
Cron / Printer Services uitschakelen
CLI
systemctl stop cron
systemctl disable cron
Mail Service (Postfix) uitschakelen
CLI
systemctl stop postfix
systemctl disable postfix
Geheugenverbruik per proces
CLI
ps aux --sort=-%mem | head -15