Scheduling VM Backups with Proxmox

Channel:
Subscribers:
14,400
Published on ● Video Link: https://www.youtube.com/watch?v=kYvUH-TCZTA



Category:
Tutorial
Duration: 1:51
2,215 views
26


#Proxmox #VirtualMachines #Backups #Hypervisor

Full steps can be found at https://i12bretro.github.io/tutorials/0691.html

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.
 
   01. Log into the Proxmox web UI
   02. Select Datacenter from the left navigation menu
   03. Select Backup from the left sub-navigation menu
   04. Click the Add button
   05. 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 documentation
         stop 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.
   06. After completing the form, click Retention option at the top of the form
   07. Setup how backup retention should be configured
   08. 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
 
   01. Expand the Node in the left navigation menu ≫ Select the VM
   02. Select Hardware from the left sub-navigation menu
   03. Double click the hard disk to remove from the backup ≫ Uncheck the Backup option ≫ Click OK
   04. Go back to Datacenter ≫ Backup
   05. Click the previously set up backup job to select it ≫ Click Job Detail above the backup job listing
   06. 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
 


### Connect with me and others ###
★ Discord: https://discord.com/invite/EzenvmSHW8
★ Reddit: https://reddit.com/r/i12bretro
★ Twitter: https://twitter.com/i12bretro







Tags:
Backing Up Proxmox Virtual Machines
Backing Up VMs In Proxmox
Backup Job
Backups
Debian
Home Lab
How To
Hypervisor
Linux
Proxmox
Proxmox Backup Job
Proxmox Host
Proxmox Node
Proxmox Step By Step
Proxmox Tutorial
Proxmox VE
Proxmox VM Backups
Scheduled Backups
Scheduling Backups In Proxmox
Self-Hosted
Tutorial
VM
VM Backups
Virtual Machine
Virtualization
i12bretro