Hello,
first I'd like to thank Proxmox team for this software product.
My homelab server currently is at beginner-level - single node, single NVMe with LVM-over-LUKS Proxmox host.
Without disk redundancy goal is to schedule automatic backups for all relevant components:
- VMs via PVE backup job
- PVE host configuration via this routine
- PVE host root filesystem via LVM snapshots
Snapshots don't protect against disk failures, but focus here is on recovery/revert in case of boot failures due to misconfiguration or PVE package update errors.
Hence my question:
Is it safe to create LVM snapshots of a running Proxmox host system with regards to data consistency and integrity?
I've read LVM ensures, that the system is readonly at snapshot creation-time on a block-level, but there *might* be issues with data consistency at the application/filesystem-level, e.g. some databases.
IIRC Proxmox uses SQLite (
Specifically for Proxmox VE, is there any systemd service to disable at snapshot creation time, to maximize data consistency (like
Thanks for any clarifications.
first I'd like to thank Proxmox team for this software product.
My homelab server currently is at beginner-level - single node, single NVMe with LVM-over-LUKS Proxmox host.
Without disk redundancy goal is to schedule automatic backups for all relevant components:
- VMs via PVE backup job
- PVE host configuration via this routine
- PVE host root filesystem via LVM snapshots
Snapshots don't protect against disk failures, but focus here is on recovery/revert in case of boot failures due to misconfiguration or PVE package update errors.
Hence my question:
Is it safe to create LVM snapshots of a running Proxmox host system with regards to data consistency and integrity?
I've read LVM ensures, that the system is readonly at snapshot creation-time on a block-level, but there *might* be issues with data consistency at the application/filesystem-level, e.g. some databases.
IIRC Proxmox uses SQLite (
/var/lib/pve-cluster/config.db
), hence it probably boils down to: Do SQLite + LVM snapshots work together?Specifically for Proxmox VE, is there any systemd service to disable at snapshot creation time, to maximize data consistency (like
pve-cluster
in linked docs)?Thanks for any clarifications.
Last edited: