[SOLVED] Backup strategy

PaoloHolzl

Member
Apr 27, 2023
31
3
8
I know a snapshot is much faster than a backup, but it adds files and might impact performance.For example, I could take two snapshots a day,
is it possible to remove the snapshots at the end of the week and re-create a 'single file'?
Maybe going through a backup or with other systems.
Thank you
 
Last edited:
What do you mean with "it creates files"? How a snapshot is stored depends on the storage used. It also depends on if the state (RAM) of the VM should be part of the snapshot.

is it possible to remove the snapshots at the end of the week and re-create a 'single file'?
You would need to script something yourself to do this.


An alternative to snapshots could be the Proxmox Backup Server and the Qemu Dirty Bitmap for VMs. VM backups to a PBS are usually very fast, as only the changes since the last backup need to be sent. You could take backups even more frequently and kinda use them as snapshots. With the "live restore" functionality, you can get a VM back up running very quickly should you need to revert to an older backup.

You then do the "delete them as they get older" without scripting something yourself as it is part of the Backup Server.