All these scripts are to be run on the Proxmox Server
git clone https://github.com/Rao-Pranava/Proxmox-Scripts.git
This file automates the process of exporting and importing Virtual machine Disk files
bash Proxmox.sh --help

This script is a part of automating the process of backing up all the power offed systems in your Proxmox Server.
You can find the Detailed Blog about reasons and Motives about this tool Here
- Make the
export_all_vms.sh
script executable
chmod +x export_all_vms.sh
- Add the followign cron job to the cron of your proxmox server.
crontab -e
Enter the following content:
5 0 * * 0 /home/export_all_vms.sh >> /var/log/vm_backup.log 2>&1
This will run the export_all_vms.sh
script at 00:05 hours on all Sundays
Now, exit the editor
- That is it, if you want to have a test run, you can run the following command
./export_all_vms.sh
If you want to download the file from your server to the local computer, you can use this command:
scp root@<IP Address>:<File Location> .