For reference, I currently run a weekly stop backup on Sundays at 3 AM with a retention of 1. These backups are then copied to network attached storage. I only backup the OS, TPM and EFI disks and have disabled backing up of physical disks that I passed to the VMs. The data on these physical disks is backed up via other means and removing them from the backup reduces the amount of downtime required.
- Log into the Proxmox web UI
- Select Datacenter from the left navigation menu
- Select Backup from the left sub-navigation menu
- Click the Add button
- Complete the form to configure the backup schedule
NOTES: The Schedule field can be input manually, for example fri 03:00
A quick overview of the different backup modes from the Proxmox documentationstop mode
This mode provides the highest consistency of the backup, at the cost of a short downtime in the VM operation. It works by executing an orderly shutdown of the VM, and then runs a background Qemu process to backup the VM data. After the backup is started, the VM goes to full operation mode if it was previously running. Consistency is guaranteed by using the live backup feature.suspend mode
This mode is provided for compatibility reason, and suspends the VM before calling the snapshot mode. Since suspending the VM results in a longer downtime and does not necessarily improve the data consistency, the use of the snapshot mode is recommended instead.snapshot mode
This mode provides the lowest operation downtime, at the cost of a small inconsistency risk. It works by performing a Proxmox VE live backup, in which data blocks are copied while the VM is running. If the guest agent is enabled (agent: 1) and running, it calls guest-fsfreeze-freeze and guest-fsfreeze-thaw to improve consistency. - After completing the form, click Retention option at the top of the form
- Setup how backup retention should be configured
- Click Create
Removing Disks From the Backup (As needed)
To remove disks from the scheduled backup, for instance, to not include physical hard disks that have been passed through to a VM, do the following
- Expand the Node in the left navigation menu > Select the VM
- Select Hardware from the left sub-navigation menu
- Double click the hard disk to remove from the backup > Uncheck the Backup option > Click OK
- Go back to Datacenter > Backup
- Click the previously set up backup job to select it > Click Job Detail above the backup job listing
- The Job Detail listing should now show that the requested disk(s) will no longer be included in the backup
Documentation: https://pve.proxmox.com/wiki/Backup_and_Restore