Sie sind auf Seite 1von 4

Editing the .

vmx file for your Fusion virtual machine


Purpose
This article provides steps Ior editing the .vmx Iile oI your Fusion virtual machine. Editing oI a .vmx Iile may
be required to complete steps in a Knowledge Base article or at the request oI VMware Support staII.
#esolution
Caution BeIore you alter the virtual machine's Iiles, VMware recommends copying the virtual machine's
bundle to a saIe location (either on an external hard drive or anywhere else on the Mac's hard drive) to backup
the virtual machine. For more inIormation, see Best practices Ior virtual machine backup (programs and data)
(1013628).
httpwww.youtube.comwatch?vo1H0joFzQM&Ieatureplayerembedded
To edit a .vmx Iile
1. Ensure the virtual machine is shut down (not suspended).
2. In Fusion, Irom the Apple menu bar, go to indow > Virtual Machine Library.
3. Hold the ption (Alt) key and right-click the virtual machine. Select pen Config File in Editor.

You can now add or edit lines as needed. Lines are displayed in no particular order.
4. hen Iinished, click $,ve , version (Lion) or $,ve (not Save As) (Snow Leopard and earlier), and
exit.
The changes made to the .vmx do not take eIIect until the next time Fusion is opened (quit it Iirst, iI it is
currently open). Alternatively, double-click the .vmx Iile to apply the changes and open the virtual machine
immediately.
Additional Information
The .vmx Iile contains settings Ior your virtual machine's behavior. Some oI these settings are accessible
through the Virtual Machine > Settings menu option, but some settings can be changed only in the Iile.
Tags
conIiguration-change how-to vm-conIiguration-Iile virtual-machine-vmx-Iile
Update History
04092010 - Updated Caution to include link to relevant KB article and included a video 08182011 - Changed
instructions Ior lion and added optionright-click instructions

est practices for virtual machine backup (programs and data) in
VMware Fusion
Symptoms
O Time Machine backups take up too much room, too quickly
O #estoring virtual machines Irom a Time Machine backup Iails
Purpose
This document describes the best practices Ior backing up a virtual machine. It details the issues that must be
taken onto consideration, the steps in an ideal process, and the drawbacks oI relying on Time Machine
exclusively.
#esolution
To back up the entire virtual machine (the operating system installation, application Iiles and settings, and all
user data), copy the .vmw,revm bundle (the object within the Virtual Machines Iolder), while the virtual
machine is not running or is suspended. Because oI the length oI time involved, and a high potential Ior
redundant data, this method is best used on an occasional basis, aIter installing new programsupdates or
making signiIicant conIiguration changes.
For more inIormation about how to back up a virtual machine by copying it, see Copying a virtual machine in
VMware Fusion (1001524) .
For constantly-changing data Iiles, it is best to use any or all oI these methods
O Any network-based backup method (depending on your network settings, the virtual machine could be
like just another machine on your network).
O Store, copy, or move the data Iiles to be backed up into a Mirrored or Shared Iolder and use Time
Machine to back up that Iolder Irom the Mac OS.

ote For more inIormation about mirrored Iolders, see Setting up mirrored Iolders Ior your Mac and
virtual machine (1014127) . For more inIormation about shared Iolders, see Sharing a Iolder Irom your
Mac to a virtual machine (1004055).
O Back up to removable media (such as CD, DVD, or Ilash drive) Ior one-oII, non-scheduled backups.
These methods are easy and non-intrusive enough to be used regularly (such as daily). It is possible to set up
indows Scheduled Tasks so that any oI 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
1. Initial setup
a. Program and data backup
Mirroring
Set up Mirrored Iolders, and store all oI the Iiles you create in indows in a Mirrored
Iolder (thus keeping it on the Mac). For more inIormation, see Setting up mirrored Iolders
Ior your Mac and virtual machine (1014127) .

O#
Sharing
Set up Shared Iolders, and store all oI the Iiles you create in indows in the Shared
Iolder. For more inIormation, see Sharing a Iolder Irom your Mac to a virtual machine
(1004055) .

O#
Manual scheduled copy
Copy the Iiles you want to back up Irom where they're saved into indows into a shared
Iolder. This copy can be scheduled, to run automatically. For more inIormation, see
P MicrosoIt's Knowledge Base article, How To Schedule Tasks in indows
P
Vista MicrosoIt's Vista support article, Schedule a task
indows 7 MicrosoIt's indows 7 support article, Schedule a task

490. The preceding links were correct as of May 28, 2011. If you find that a link
is broken, provide feedback and a JMware employee will update the link.
b. Operating system and application backup
hen the VM is shut down, copy the VM bundle to an external drive (Ior example, your Time
Machine drive).
2. #egular maintenance
On a regular basis, back up your Mac's Iolders (including the Shared Mirrored Iolders) using your
regular back up method. II 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 Iolders, containing your indows data, ensures that your indows Iiles and data are backed up.
3. Occasional maintenance
There is no need to back up your VM bundle unless you make conIiguration changes to an application or
the operating system, or install new programs or OS updates. AIter doing this, you can drag your VM
bundle to the external disk (you can replace the oldoriginal copy, to save space) to back it up.
Additional Information
A large (250 GB+) external drive, as suggested by Time Machine, is desirable.

t is possible to use Time Machine to back up the data within your virtual machine, but it is not the best practice. 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:
1. Because of conflicts, some versions of 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:
1. Open System Preferences > Time Machine,
2. Click 5tions to see which (if any) directories are being excluded.
2. Time Machine takes differential backups of files at the file level (rather than the block level). f 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 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.
3. f 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. n combination with caveat 2, this may result in a filled backup
disk with unusable backups.
Tags
how-to backup
Update History
06102010 -- Added the steps Ior an ideal method, updated the Purpose.

Das könnte Ihnen auch gefallen