Automated backups of Proxmox VE configuration files to NFS storage.
All following commands are expected to be run with administrative privilages.
Package python3-psutil
have to be installed for plugin to work.
apt install python3-psutil
- Place script at:
/usr/local/bin/pve-config-backup.py
- To install the script properly, please run:
cp /root/pve-config-backup.py /usr/local/bin/pve-config-backup.py
- Make script executable:
chmod +x /usr/local/bin/pve-config-backup.py
- Install system service
/usr/local/bin/pve-config-backup.py --install
By default service will backup its data to folder:
/mnt/pve/pve-config-backup
User is expected to add new dataset with NFS share and mount as NFS storage in Proxmox VE:
pve-config-backup
Once preparation is done user can start backup service by running
/usr/local/bin/pve-config-backup.py --start