Automatically move Proxmox VM backups to the cloud with Rclone

Proxmox has an amazing backup system, that is missing just one thing - automatic move to the cloud. Not everybody has enough local storage to host a ton of backups ;)

We can take advantage of Proxmox's backup hooks to automate an upload to the cloud that occurs after each VM is backed up.

Simply copy this file to /usr/local/bin and give it executable permissions with chmod +x.

Then, add this line to /etc/vzdump.conf so that the hook file runs with every backup:

script: /usr/local/bin/vzdump-hook.pl

That's it!

Back to top