Loading

×Sorry to interrupt
CSS Error

Refresh

Cookie Preference Center

General Information on cookies

When you visit our website, we use cookies to ensure that we give you the best experience. This information does not usually directly identify you, but it can give you a more personalized web experience. Because we respect your right to privacy, you can choose not to allow some types of cookies by clicking on the different category headings to find out more and change your settings. However, blocking some types of cookies may impact your experience on the site and the services we are able to offer. Further information can be found in our

Cookie Policy.

Strictly Necessary

Strictly Necessary

Always Active

Strictly Necessary

Strictly necessary cookies are always enabled since they are essential for our website to function. They enable core functionality such as security, network management, and website accessibility. You can set your browser to block or alert you about these cookies, but this may affect how the website functions. For more information please visit www.aboutcookies.org or www.allaboutcookies.org.

Cookie Details‎

Performance

Performance

Performance

Performance cookies are used to analyze the user experience to improve our website by collecting and reporting information on how you use it. They allow us to know which pages are the most and least popular, see how visitors move around the site, optimize our website and make it easier to navigate.

Cookie Details‎

Please confirm your settings by refreshing the page.

Functional

Functional

Functional

Functional cookies help us keep track of your past browsing choices so we can improve usability and customize your experience. These cookies enable the website to remember your preferred settings, language preferences, location and other customizable elements such as font or text size. If you do not allow these cookies, then some or all of these services may not function properly.

Cookie Details‎

Advertising

Advertising

Advertising

Advertising cookies are used to send you relevant advertising and promotional information. They may be set through our site by third parties to build a profile of your interests and show you relevant advertisements on other sites. These cookies do not directly store personal information, but their function is based on uniquely identifying your browser and internet device.

Cookie Details‎

Advertising Cookies

Consent Leg.Interest

Select All Vendors

Select All Vendors

Select All Hosts

Select All

Clear Filters

Information storage and access

Apply

Confirm My Choices Reject All Allow All

My Subscriptions

Loading

Knowledge Base

Best Practices for virtual machine backup (programs and data) in VMware Fusion (1013628)

Last Updated: 3/23/2024Categories: Best PracticesTotal Views: 243822Language:
English

22 like this article

Subscribe to get an email
newsletter with new updates

22 people found this helpful Please provide article feedback:

Symptoms

Time Machine backups take up too much space, too quickly

Restoring virtual machines from a Time Machine backup fails

Purpose

This article describes the best practices for backing up a virtual machine with VMware Fusion. It details the issues that must be taken onto consideration, the steps in an ideal process, and the drawbacks of relying on Time Machine exclusively.

Resolution

To back up the entire virtual machine (the operating system installation, application files and settings, and all user data), copy the .vmwarevm bundle (the object in the Virtual Machines folder), while the virtual machine is shut down.

Note: Ensure that the virtual machine is shut down and not suspended.

Because of the length of time involved, and a high potential for redundant data, this method is best used on an occasional basis, after installing new programs/updates or making significant configuration changes.

For more information about how to back up a virtual machine by copying it, see Copying a virtual machine in VMware Fusion (1001524).

For constantly-changing data files, it is best to use any or all of these methods:

Any network-based backup method. Depending on your network settings, the virtual machine could be treated like any other machine on your network.

Store, copy, or move the data files to be backed up into a Mirrored or Shared folder and use Time Machine to back up that folder from the Mac OS.

Note: For more information about mirrored folders, see Setting up mirrored folders for your Mac and virtual machine (1014127). For more information about shared folders, see Sharing a folder from your Mac to a virtual machine (1004055).

Back up to removable media (such as CD, DVD, or flash drive) for one-off, non-scheduled backups.

These methods are easy and non-intrusive enough to be used regularly (such as daily). It is possible to set up Windows Scheduled Tasks so that any of these options can happen automatically, assuming the removable media is present and has the space available.

For example, an ideal backup procedure would include these steps:

Initial setup

Program and data backup

Mirroring:
Set up Mirrored folders, and store all of the files you create in Windows in a Mirrored folder (thus keeping it on the Mac). For more information, see Setting up mirrored folders for your Mac and virtual machine (1014127).

OR

Sharing:
Set up Shared folders, and store all of the files you create in Windows in the Shared folder. For more information, see Sharing a folder from your Mac to a virtual machine (1004055).

OR

Manual / scheduled copy:
Copy the files you want to back up from where they are saved in Windows into a shared folder. This copy can be scheduled to run automatically. For more information, see:

XP: The Microsoft Knowledge Base article, How To Schedule Tasks in Windows XP

Vista: The Microsoft Vista support article, Schedule a task

Windows 7: The Microsoft Windows 7 support article, Schedule a task

Note: The preceding links were correct as of September 5, 2013. If you find that a link is broken, provide feedback and a VMware employee will update the link.

Operating system and application backup

When the virtual machine is shut down, copy the virtual machine bundle to an external drive (for example, your Time Machine drive).

Regular maintenance

On a regular basis, back up your Mac's folders (including the Shared / Mirrored folders) using your normal backup method. If you use Time Machine, this happens automatically (assuming your external drive is plugged in) every hour. In most other backup programs, this can be scheduled. Backing up the Mac folders containing your Windows data ensures that your Windows files and data are also backed up.

Occasional maintenance

There is no need to back up your virtual machine bundle unless you make configuration changes to an application or the operating system, or install new programs or OS updates. After doing this, you can drag your virtual machine bundle to the external disk (you can replace the old/original copy, to save space) to back it up.

Related Information

A large (250 GB+) external drive, as suggested by Time Machine, is desirable.

It is possible to use Time Machine to back up the data in your virtual machine, but it is not the best practice. For more information, see Excluding the Virtual Machines folder from being backed up by Time Machine (1014046).

There are three caveats when using Time Machine in combination with a virtual machine:

Because of conflicts, some versions of VMware Fusion exclude your virtual machine's directory from Time Machine backups. To check if this exclusion is in place on a system already using Time Machine:

Open System Preferences > Time Machine.

Click Options to see which (if any) directories are being excluded.

Time Machine takes differential backups of files at the file level (rather than the block level). If any file is altered, Time Machine backs up the entire file on its next run-through. Virtual machines consist mainly of virtual hard disks, files that can be equal in size to the size of the virtual operating system's assigned space. This file size depends on whether you are using sparse disks or a monolithic disk and if you have pre-allocated the disk. For more information on these disk types and how to identify them, see the VMware Communities document, A Beginner's Guide to VMware Fusion.

For example, a 60 GB virtual machine with a monolithic, pre-allocated hard disk has a single 60 GB file for its virtual hard disk. Every time that virtual machine is started, or any document within the virtual machine is edited, that 60 GB file is modified, and Time Machine backs it up. Since Time Machine backs up every hour, a 1 TB drive fills up in less than a day.

If Time Machine backs up a running virtual machine, it attempts to capture files that are being written to. The resulting backups are likely corrupt and unusable. In combination with the previous point, this may result in a filled backup disk with unusable backups.

For translated versions of this article, see:

Español: Prácticas recomendadas para la creación de copias de seguridad (de programas e información) de la máquina virtual con VMware Fusion (2033072)

Português: Melhores práticas no backup da máquina virtual (programas e dados) no VMware Fusion (2032913)

Copying a virtual machine in VMware Fusion
Sharing a folder from your Mac to a virtual machine
Excluding the Virtual Machines folder from being backed up by Time Machine
Setting up mirrored folders for your Mac and virtual machine
Melhores práticas no backup da máquina virtual (programas e dados) no VMware Fusion
Prácticas recomendadas para la creación de copias de seguridad (de programas e información) de la máquina virtual con VMware Fusion
在 VMware Fusion 中备份虚拟机（程序和数据）的最佳实践
VMware Fusion での仮想マシンのバックアップ（プログラムおよびデータ）のベスト プラクティス

Detectable by VMware SkylineTM

Actions

Copy

link to clipboard
copied!

Print

Language:
English

Attachments

Additional Resources

KB
•
End Of General Availability of the Free vSphere Hypervisor (ESXi 7.x and 8.x) (2107518)

KB
•
Download and Install VMware Fusion (2014097)

Results 1-2 of 2

Ask The Community

Get answers quickly from VMware experts in the community

Post Subject

CONTINUE IN COMMUNITIES

Related Products:

VMware Fusion Pro

VMware Fusion

Related Versions:

VMware Fusion Pro 8.x

VMware Fusion Pro 11.x

VMware Fusion Pro 10.x

VMware Fusion 8.x

VMware Fusion 7.x

VMware Fusion 6.x

VMware Fusion 5.x

VMware Fusion 4.x

VMware Fusion 3.x

VMware Fusion 2.x

VMware Fusion 11.x

VMware Fusion 10.x

VMware Fusion 1.x

view all

Take Our Survey

Support Assistant