Snapshots live inside a VM's package, so they are not a backup: when the package or its drive is lost, they go with it. A backup is a copy of the VM somewhere else, as a package that File → Import… or mvz import opens on any Mac.
Why Time Machine leaves VMs out
MacVisor excludes each VM package from Time Machine. A VM's disks change by gigabytes between backups, and a copy of a running VM's disk files, taken while the guest writes to them, may not start. VMware gives the same advice for Fusion. See Storage and sharing for how to include a VM anyway.
MacVisor's own backups and exports aren't excluded, so Time Machine backs them up if they are on a drive it covers.
MacVisor backups
MacVisor backs VMs up by itself, daily or weekly, to a folder you choose: on another drive, an external disk or a mounted network share. Backups are in every license, and off for each VM until you turn them on.
Turn them on in VM Settings → Backup:
| Setting | Notes |
|---|---|
| Back Up Automatically | Off by default. Copies, clones and imports of the VM start with it off. |
| Folder | Any local, external or network folder outside your storage locations, preferably on another drive. Each VM's backups go in a folder of their own in it. |
| Frequency, Day, Time | Daily (the default) or Weekly on a day you choose, at a time in this Mac's time zone (03 unless you change it). |
| Keep the newest | 7 unless you change it, up to 100. Older backups in the folder are deleted once a new one is written. |
Back Up Now makes one at once. The page's Status shows the last and next backup, and the Overview has a line with the last backup. The Snapshots tab reminds you that snapshots aren't backups, and the Overview of a VM that has never been backed up offers Set Up Backups…, which you can dismiss.
From the command line:
mvz set dev --backup-to /Volumes/T7/Backups # turns backups on, daily at 03:00
mvz set dev --backup-schedule weekly --backup-at 22:30 # Sundays; or name a day: --backup-schedule fri
mvz set dev --backup-keep 14
mvz set dev --backup off
mvz backup dev # one now, to the VM's backup folder
mvz backup dev --to /Volumes/T7/Archive # one now, somewhere else; kept until you delete it
mvz backups list dev # its backups, newest first, and when the next is due
mvz backups list --in /Volumes/T7/Backups # every backup in a folder, also of VMs no longer on this Mac
--backup on|off is set on its own, apart from the other options. mvz show <vm> has a Backups row.
What a backup is
A backup is a whole VM package, <folder>/<vm> (<short id>)/<vm> <date time>.mvz: the VM's disks, settings, firmware and identity, as mvz snapshots export keeps them. It holds no memory, snapshots or logs, so a restored VM starts from its disk, as after a power cut.
- A stopped VM is copied as it is.
- A running VM keeps running. MacVisor asks its guest agent to flush the guest's file systems, takes a disk-only snapshot, which pauses the VM only for the moment APFS clones its disk files, copies the snapshot, and deletes it. The copy is crash-consistent, like a power cut: there is no VSS or application quiescing.
- A VM on a drive that isn't APFS (exFAT, HFS+, a network share) is backed up only while it's stopped. A snapshot there would pause the VM for as long as copying its disks takes, so MacVisor refuses and says so.
- Only the blocks the disks use are copied. On an APFS backup drive, disk files that haven't changed since the VM's previous backup there are cloned from it, and take no extra space.
- Every file is checked. Once written, each file is compared with the VM's by SHA-256. The backup gets its final name only when all of it is there and checked, with a manifest,
backup.json, of its files and their checksums. A backup that fails or is cancelled leaves nothing that looks complete.
Backups show in the Tasks pane with their progress and Cancel, or mvz tasks cancel. MacVisor makes one backup at a time per backup drive, at low disk priority.
When backups run
- A backup missed while the Mac was asleep or off, or MacVisor's service wasn't running, runs at the next chance. Several missed ones make one backup.
- A failed backup is tried again an hour later, then after 2 and 4 hours, then every 6 hours until one works. The page's Status and the Overview say why the last one failed.
- If the folder isn't there, because its drive isn't connected or its share isn't mounted, MacVisor waits for it. After three days it says so in the Tasks pane. MacVisor never makes the folder on the Mac's own disk in its place.
- The first scheduled backup is at the next scheduled time after you turn them on. Use Back Up Now for one straight away.
Restore a VM
Restore a backup or an export as you import any VM package: double-click the .mvz in Finder, choose File → Import…, or run:
mvz backups restore "/Volumes/T7/Backups/dev (1a2b3c4d)/dev 2026-11-04 03-00.mvz" --name dev-restored
mvz import <bundle> # the same for an export
--location <id> puts it in another storage location. Restoring a MacVisor backup needs no license, on this Mac or another; importing any other package does.
The VM comes back with a new identity: a new id and new MAC addresses, so it gets a new IP address unless you reserve one for it. As a package from elsewhere, it comes back without its shared folders, USB devices, Start at Login, High Availability, backups or AI agent access, and with its port forwards on this Mac only. See Importing a package.
Other ways to keep a copy
- Export a stopped VM: Export… in its menu, or
mvz export <vm> <folder>. The copy is<name>.mvz, with its snapshots. - Export a snapshot, also of a running VM: Export… in the VM's Snapshots tab, or
mvz snapshots export. See Snapshots and recovery.
Back up a running VM with another backup tool
If you already use a backup tool, it can back VMs up instead of MacVisor. Backup tools such as Archiware P5, Carbon Copy Cloner or Arq can back up a running VM through their pre- and post-backup scripts. The pre-script takes a disk-only snapshot and exports it. The tool then backs up the export.
mvz snapshots take <vm> --disk-only --json:
- asks the guest agent to flush the guest's file systems first (Linux and macOS; Windows flushes on its own);
- pauses the VM only while APFS clones its disk files, then resumes it. On 27 Oct 2026 this took about 0.05 to 0.27 s, and up to a couple of seconds on a very busy Mac. Network connections don't drop;
- doesn't save the VM's memory.
The result is crash-consistent, like a power cut: there is no VSS or application quiescing. On a drive that isn't APFS, the disks are copied in full while the VM is paused, so keep VMs you back up this way on APFS.
mvz snapshots export <vm> <snapshot-id> <folder> --name <name> --json then writes <folder>/<name>.mvz, a VM of its own that imports on any Mac. A layered disk, such as a linked clone's or a cloud-image VM's, is written out as one disk.
-
The take command prints the snapshot's id at
result.snapshotID. The export prints the bundle's path atresult.bundlePath. -
A name that's taken gets
-2,-3and so on. Remove the previous export first to keep the path the same. -
Delete the snapshot once the export is written:
mvz snapshots delete <vm> <id> --yes. The export doesn't need it. -
Export to a folder outside your storage locations; MacVisor refuses one inside them. Time Machine isn't told to skip the export.
-
Run the scripts as the user whose VMs they are, while that user is logged in:
mvztalks to that user's MacVisor service. -
Backup tools often run their scripts as root. Then run each
mvzcommand as that user, in their login session:launchctl asuser "$(id -u alice)" sudo -u alice /usr/local/bin/mvz snapshots take dev --disk-only --jsonReplace
alicewith the user whose VMs they are.
Example scripts
These read the JSON with jq, which comes with macOS. Set vm, dest and name to yours.
Pre-backup script:
#!/bin/zsh
set -euo pipefail
vm="web"
dest="/Users/Shared/VM Backups" # outside your storage locations
name="web" # the export is "$dest/web.mvz"
rm -rf -- "$dest/$name.mvz" # last run's export, so the name is free
id=$(mvz snapshots take "$vm" --disk-only --name "Backup" --json | jq -r '.result.snapshotID')
trap 'mvz snapshots delete "$vm" "$id" --yes >/dev/null' EXIT # also if the export fails
bundle=$(mvz snapshots export "$vm" "$id" "$dest" --name "$name" --json | jq -r '.result.bundlePath')
echo "Exported $bundle"
Post-backup script, to free the space once the tool has the copy:
#!/bin/zsh
set -euo pipefail
rm -rf -- "/Users/Shared/VM Backups/web.mvz"
Point the backup tool at /Users/Shared/VM Backups/web.mvz. If the pre-script fails, it exits non-zero, so the tool can stop or warn. A VM restored from such an export starts from its disk, as after a power cut.
What a backup or export contains
An export holds the VM's disks, settings and firmware. mvz export also takes its snapshots. A snapshot export, and a MacVisor backup, takes only the disks as they were, without memory, other snapshots or logs. Neither holds shared folders or disk images attached from outside the VM: back those up with the Mac's own files.
The account password MacVisor keeps for a VM follows mvz export's rules, in backups too:
- A macOS VM that has booted: left out.
- A Windows VM or an Ubuntu Desktop VM: kept, so Copy Password works after a restore.
- A VM whose password was deleted, with Delete Password… or by itself after setup: there is none to keep.
Neither a backup nor an export is encrypted. Keep them on an encrypted drive, or in a backup tool that encrypts. See Security model.
DeltaSync