Skip to content

Nuface Blog

隨意隨手記 Casual Notes

Menu
  • Home
  • About
  • Services
  • Blog
  • Contact
  • Privacy Policy
  • Login
Menu

Proxmox VE Backup Job Modes (Snapshot / Suspend / Stop)

Posted on 2025-11-032025-11-03 by Rico

🔰 Overview

In Proxmox VE, when configuring a Backup Job, you can select one of three backup modes under the Mode option:

Snapshot, Suspend, or Stop

These modes determine how a virtual machine (VM) or container (LXC) is handled and locked during the backup process,
ensuring data consistency and reliable restore points.


🧱 1️⃣ Snapshot Mode (Default & Most Common ✅)

🔹 Principle

Uses QEMU Guest Agent, or storage-level snapshot technologies such as LVM, ZFS, or qcow2,
to create a live snapshot of the VM’s disk without shutting it down.
Backup data is read from the snapshot while the VM continues to run.

🔹 Advantages

  • No noticeable service interruption.
  • Supports online (hot) backup.
  • Works with snapshot-capable storage (ZFS / Ceph / LVM-thin / qcow2).
  • With QEMU Guest Agent, the guest OS can flush caches before backup for application-consistent snapshots.

🔹 Limitations

  • May experience slight I/O performance degradation during backup under heavy load.
  • If the underlying storage doesn’t support snapshots, Proxmox automatically falls back to Suspend mode.

🔹 Recommended Use Cases

ScenarioRecommendation
Most VMs or LXCs✅ Strongly recommended
Systems requiring zero downtime✅ Recommended
Automated daily/hourly PBS backups✅ Ideal choice

🧱 2️⃣ Suspend Mode (Pause Before Backup)

🔹 Principle

Temporarily pauses (freezes) the VM or container at the start of the backup.
Once the snapshot or dump is completed, the system resumes immediately.
This results in a short downtime backup.

🔹 Advantages

  • Ensures file system consistency even on non-snapshot storage.
  • Less impact than Stop mode — usually only a few seconds to tens of seconds of pause.

🔹 Limitations

  • The VM or container is temporarily frozen (no I/O).
  • Not suitable for high-availability (HA) environments, as the system may interpret it as a node failure.

🔹 Recommended Use Cases

ScenarioRecommendation
Storage without snapshot capability✅ Recommended
Test databases or systems needing strong consistency✅ Suitable
Systems tolerant of brief interruptions⚙️ Acceptable

🧱 3️⃣ Stop Mode (Full Shutdown Backup)

🔹 Principle

Performs a graceful shutdown of the VM or LXC before backup.
After the backup completes, the system restarts automatically.
This produces a cold backup with full data integrity.

🔹 Advantages

  • Guarantees 100% data consistency (all buffers written to disk).
  • Works on any storage type — no snapshot support required.

🔹 Limitations

  • Causes longer service downtime (shutdown → backup → startup).
  • Not suitable for 24/7 or production systems.

🔹 Recommended Use Cases

ScenarioRecommendation
Storage without snapshot support (e.g., raw or passthrough disks)✅
Test or non-critical VMs✅
Scheduled maintenance backups (e.g., overnight)✅

🧭 4️⃣ Comparison Table

ModeService InterruptionConsistencySnapshot RequiredBest For
Snapshot❌ NoneHigh (with Guest Agent)✅ YesMost systems, production workloads
Suspend⚙️ Short pauseVery high❌ NoEnvironments tolerant of brief pauses
Stop⏹️ Long downtimePerfect❌ NoMaintenance windows, testing, cold backups

💡 Practical Recommendations

System TypeRecommended Mode
General-purpose VMs (Windows / Linux)Snapshot
Containers (LXC)Snapshot (if supported) or Suspend
Storage without snapshot capability (e.g., local-lvm)Suspend
Databases / ERP requiring strict consistencySnapshot + Guest Agent or Suspend
Long-term archived or inactive VMsStop

✅ In Summary

Snapshot Mode is the best choice for almost all production environments.
Use Suspend or Stop mode only when your storage or VM type does not support snapshots.


Snapshot = Modern, Fast, Safe.
Suspend = Reliable for Legacy Systems.
Stop = Simple but disruptive.

Recent Posts

  • Postfix + Let’s Encrypt + BIND9 + DANE Fully Automated TLSA Update Guide
  • Postfix + Let’s Encrypt + BIND9 + DANE TLSA 指紋自動更新完整教學
  • Deploying DANE in Postfix
  • 如何在 Postfix 中部署 DANE
  • DANE: DNSSEC-Based TLS Protection

Recent Comments

  1. Building a Complete Enterprise-Grade Mail System (Overview) - Nuface Blog on High Availability Architecture, Failover, GeoDNS, Monitoring, and Email Abuse Automation (SOAR)
  2. Building a Complete Enterprise-Grade Mail System (Overview) - Nuface Blog on MariaDB + PostfixAdmin: The Core of Virtual Domain & Mailbox Management
  3. Building a Complete Enterprise-Grade Mail System (Overview) - Nuface Blog on Daily Operations, Monitoring, and Performance Tuning for an Enterprise Mail System
  4. Building a Complete Enterprise-Grade Mail System (Overview) - Nuface Blog on Final Chapter: Complete Troubleshooting Guide & Frequently Asked Questions (FAQ)
  5. Building a Complete Enterprise-Grade Mail System (Overview) - Nuface Blog on Network Architecture, DNS Configuration, TLS Design, and Postfix/Dovecot SNI Explained

Archives

  • December 2025
  • November 2025
  • October 2025

Categories

  • AI
  • Apache
  • Cybersecurity
  • Database
  • DNS
  • Docker
  • Fail2Ban
  • FileSystem
  • Firewall
  • Linux
  • LLM
  • Mail
  • N8N
  • OpenLdap
  • OPNsense
  • PHP
  • QoS
  • Samba
  • Switch
  • Virtualization
  • VPN
  • WordPress
© 2025 Nuface Blog | Powered by Superbs Personal Blog theme