top of page

Buy a domain, then instantly build an Ai Website in seconds!

How to Back Up Virtual Machines: A Practical Guide

Nov 26
8 min read

Isometric geometric forms representing virtual machine backups

A virtual machine (VM) is only safely backed up when you hold an independent, off-site copy of its disks and configuration, taken in a way the applications inside can recover from, and you have restored it at least once to prove it works. The simplest way to get there is to send VM backups to a cloud target in South Africa, which is what Joodle cloud backup is built for: servers, PCs and virtual machines, with the data kept in South African data centres.

 

This guide covers what a VM backup must contain, how the steps differ on Hyper-V, VMware, KVM or Proxmox and VirtualBox, and how to apply the 3-2-1 rule and test restores.



TL;DR

 

  • A snapshot is a short-term rollback point, not a backup. A real backup is an independent copy stored somewhere else.

  • Capture the virtual disks, the VM configuration and, for running workloads, an application-consistent state.

  • Follow 3-2-1: three copies, two kinds of storage, one off-site. Add an immutable or offline copy against ransomware.

  • Set the backup frequency from the data you can afford to lose, and the restore method from how long you can afford to be down.

  • A backup you have never restored is an assumption. Restore into an isolated network on a schedule.

 

Table of Contents

 

 

Snapshot, export or backup: know which one you have

 

These three get confused constantly, and the confusion is how people lose data.

 

  • Snapshot (or checkpoint): a rollback point that depends on the VM’s original disk. TechTarget’s comparison explains that snapshots use dependent delta files alongside the original disk, so if the disk or datastore is lost, the snapshot goes with it. Use them for a quick undo before a patch, not as protection.

  • Export: a portable, self-contained copy. On Hyper-V, exporting gathers the virtual disks, configuration and checkpoint files into one unit, started from Hyper-V Manager or with the PowerShell Export-VM cmdlet. Good for migrations and one-off copies.

  • Backup: an independent copy stored separately from the production host and tested for recovery. This is the one that saves you from a failed disk, a deleted VM or ransomware.

 

If a single host failure would take out both the VM and the thing you call its backup, you do not have a backup yet.

 

What a VM backup needs to contain

 

Copying a few files from inside the guest is not enough. A complete recovery set includes the virtual disks, the VM configuration, and the operating system and applications they carry. On Hyper-V, Microsoft’s backup guidance states that a VM backup includes configuration, data and state, and that full and incremental backups need the .VMCX, .VMGS and .VMRS files to capture state fully.

 

Two practical consequences:

 

  1. Back up at the VM level (image-level) when you want to rebuild a whole server quickly. Add file-level backup inside the guest when users need to recover a single document.

  2. Record what is not in the image: licence keys, DNS records, firewall rules and any credentials needed to reach the backup target itself.

 

Backing up on each platform

 

The principle is the same everywhere: take a consistent point-in-time copy, then move it off the host. The mechanics differ.

 

Hyper-V

 

Hyper-V offers two routes. The host VSS writer (Volume Shadow Copy Service, the Windows mechanism for consistent copies) suits small-scale operations that back up all VMs on a server together. Windows Server 2016 and later also support WMI-based backup using reference points and Resilient Change Tracking, which lets a backup tool copy only the blocks that changed since the last run. For a one-off copy, use Export-VM as described above.

 

Where it goes wrong: leaving the backup on the same volume as the VMs, and forgetting that checkpoints are not a substitute for a scheduled job.


Hyper-V

VMware

 

Image-level backup on VMware commonly snapshots a running VM, copies the snapshot’s data, then removes the snapshot. How fast that copy runs depends on storage access, where the backup proxy sits, bandwidth and latency. If the backup stalls on a busy host, the snapshot lives longer than intended, so schedule jobs outside peak I/O and avoid running many VM jobs against the same datastore at once.

 

KVM and Proxmox

 

On KVM-based platforms, enable the QEMU guest agent in each VM. It lets the host freeze and thaw the guest filesystem during the backup, which is what makes the copy application-consistent. SUSE’s backup best practices recommend exactly this for databases and other transactional workloads, and crash-consistent backups for workloads that recover cleanly from an abrupt stop. Proxmox has a built-in backup and restore tool that lets you pick a schedule, a target and how many copies to keep per VM. Point it at storage that is not the host’s own disks.

 

VirtualBox

 

VirtualBox is common on developer machines. ItsFoss’s guide lists three options: copy the VM folder while the VM is powered off, export an appliance, or use a snapshot. A folder copy is the simplest backup, and OVF/OVA export is better when you need portability to another machine or hypervisor. Treat the snapshot as an undo button only.

 

Make the backup application-consistent

 

A crash-consistent copy is what you would get if someone pulled the power cable. Plenty of workloads survive that. A database may not: transactions held in memory but not yet written to disk are lost, and the restored database can come up damaged.

 

Application-aware backup avoids this by coordinating with the guest. On Windows guests that means VSS. On Linux guests it means a filesystem freeze and thaw, often through scripts or the guest agent, so in-memory data is flushed before the copy is taken. Use it for SQL databases, mail servers, accounting systems and anything else that writes constantly. For a static web server or a build agent, crash-consistent is usually fine.


Crash-consistent and application-consistent backup comparison

Apply the 3-2-1 rule to VMs

 

The 3-2-1 rule is the baseline: keep at least three copies of your data, on at least two different types of storage, with at least one copy off-site. For VMs, SUSE’s guidance adds two points: do not rely on snapshots alone, and export backups to a separate target, replicating at least one copy to a remote location or region.

 

A workable layout for a small business with a Hyper-V or KVM host:

 

Copy

Where

Purpose

1

The running VM on the host

Production

2

A local backup target such as a NAS or second server

Fast restores of single VMs

3

Off-site cloud backup in South Africa

Survives theft, fire, flood and ransomware on site

For ransomware, strengthen this with a copy that cannot be altered or deleted (immutable) or that is offline, and keep the backup credentials and encryption passwords out of the same domain that attackers would compromise. South African public-sector tender specifications for backup services, such as the National Credit Regulator’s October 2026 terms of reference, ask for POPIA compliance (the Protection of Personal Information Act), encryption, immutable or isolated copies, monitoring and periodic test restores. They are procurement requirements, not a general legal rule, but they are a useful checklist for any business holding customer data.

 

Choose frequency and speed by RPO and RTO

 

Two numbers decide your design, per workload:

 

  • RPO (recovery point objective): how much data you can afford to lose, measured in time. If losing four hours of orders is tolerable, back up at least every four hours.

  • RTO (recovery time objective): how long the service can be down. A two-hour RTO rules out restoring a 2 TB image over a slow line, so keep a local copy too.

 

A worked example: a small firm runs an accounting server (RPO 4 hours, RTO 2 hours), a file server (RPO 24 hours, RTO 8 hours) and a test VM (no objective). The accounting server gets application-aware backups every four hours with a local copy plus a nightly off-site copy. The file server gets a nightly job. The test VM gets a weekly export. Do not give every machine the same schedule; you either overspend or under-protect.

 

Where Joodle fits

 

If your VMs run on your own hardware, or on a Joodle Linux VPS (from R79.99 per month) or Windows VPS (from R449.99 per month), the off-site copy is the part most teams leave undone. Joodle cloud backup covers servers, PCs and virtual machines from R59.99 per month, and our infrastructure is hosted in Tier III data centres in South Africa, which keeps your off-site copy in the country and close enough for practical restore times.


Joodle

For the set-up and testing routine, our guide to offsite server backup walks through it. If you need to rebuild a VPS from scratch, see how to reinstall your VPS operating system. If you would rather not run backups yourself at all, our Managed IT service starts at R499 per month per user.

 

Test restores before you need them

 

A backup job that reports success only tells you that files were written. To know you can recover, restore.

 

  1. Restore the full VM to a non-production host or environment.

  2. Isolate its network from production so it does not clash with the live machine’s IP address or send duplicate emails.

  3. Confirm that the VM boots, the applications start and the data is correct. Open the database, run a report, log in as a user.

  4. Time the whole process and write down the steps. That time is your real RTO.

  5. Delete the test copy and record the result.

 

How often? SUSE’s guidance suggests testing critical workloads at least monthly and standard workloads at least quarterly. South African public bodies set the bar similarly: the National Lottery Commission’s 2026 tender specifies quarterly backup-and-restoration tests and twice-yearly disaster-recovery failover tests, including checks on accessibility, readability and integrity.

 

On Hyper-V, know your import options before the bad day. Microsoft documents three: register in place, restore, or copy. Copy assigns a new unique VM ID, which is the safe choice when the original may still exist. The other two keep the exported VM’s ID.

 

Best practices checklist

 

  • Define RPO and RTO per VM and schedule jobs from them.

  • Keep one copy off-site and never rely on production snapshots alone.

  • Use application-consistent backups for databases and transactional services.

  • Protect backup copies from alteration or deletion where you can, and encrypt them.

  • Automate jobs and monitor them, so a failed run raises an alert the same day.

  • Limit how many VM jobs run at once against the same host or datastore to avoid I/O bottlenecks.

  • Restore into isolation on a schedule and document the procedure.

  • Store backup credentials and encryption passwords separately from the systems being protected.

 

FAQ

 

How do I back up a virtual machine?

 

Shut the VM down or use an application-aware method so the copy is consistent, then copy its disks and configuration to a separate target using your hypervisor’s backup or export tool. Finally, send a copy off-site and test a restore. The exact tool depends on whether you run Hyper-V, VMware, KVM or VirtualBox.

 

Is a snapshot a backup?

 

No. A snapshot depends on the original disk and is meant as a short-term rollback point. If the disk, datastore or host fails, the snapshot fails with it. A backup is an independent copy stored elsewhere.

 

What is the 3-2-1 rule for virtual machines?

 

Keep three copies of the data, on two different types of storage, with one copy off-site. For VMs that usually means the live VM, a local backup and a cloud copy, ideally with one copy that cannot be changed or deleted.

 

How often should I test a VM restore?

 

Test critical workloads at least monthly and standard workloads at least quarterly, restoring into an isolated environment and checking that the system boots, applications start and data is correct. Retest after any major change to the VM or backup setup.

 

Sources

 

Recommended

 

 

We provide IT Companies, Startups, and SMBs with Cloud Hosting Infrastructure, Managed IT Services and much more...

bottom of page