1 | <?xml version='1.0' encoding='UTF-8'?>
|
---|
2 | <!DOCTYPE topic PUBLIC "-//OASIS//DTD DITA Topic//EN" "topic.dtd">
|
---|
3 | <topic xml:lang="en-us" id="clone">
|
---|
4 | <title>Cloning a Virtual Machine</title>
|
---|
5 |
|
---|
6 | <body>
|
---|
7 | <p>You can create a full copy or a linked copy of an existing VM. This copy is called a <i>clone</i>. You might use
|
---|
8 | a cloned VM to experiment with a VM configuration, to test different guest OS levels, or to back up a VM. </p>
|
---|
9 | <p>To clone a VM: </p>
|
---|
10 | <ol id="ol_ulp_zct_bcc">
|
---|
11 | <li>Ensure the VM you want to clone is not running.</li>
|
---|
12 | <li>
|
---|
13 | <p>Click the VM name in the machine list, and then select <b outputclass="bold">Clone</b> from the <b
|
---|
14 | outputclass="bold">Machine</b> menu. </p>
|
---|
15 | </li>
|
---|
16 | <li>Enter the following details for the clone.<ul id="ul_rkb_nct_bcc">
|
---|
17 | <li><b outputclass="bold">Name:</b> A name for the cloned machine. </li>
|
---|
18 | <li><b outputclass="bold">Path:</b> Choose a location for the cloned virtual machine, otherwise <ph
|
---|
19 | conkeyref="vbox-conkeyref-phrases/product-name"/> uses the default machines folder. </li>
|
---|
20 | <li><b outputclass="bold">MAC Address Policy:</b> Specifies whether to retain network card MAC addresses when
|
---|
21 | cloning the VM.<p>The <b outputclass="bold">Generate New MAC Addresses For All Network Adapters</b> value
|
---|
22 | assigns a new MAC address to each network card during cloning. This is the default setting. This is the
|
---|
23 | best option when both the source VM and the cloned VM must operate on the same network. Other values
|
---|
24 | enable you to retain the existing MAC addresses in the cloned VM.</p></li>
|
---|
25 | <li><b outputclass="bold">Keep Disk Names:</b> Retains the disk image names when cloning the VM.</li>
|
---|
26 | <li><b outputclass="bold">Keep Hardware UUIDs:</b> Retains the hardware universally unique identifiers (UUIDs)
|
---|
27 | when cloning the VM. </li></ul></li>
|
---|
28 | <li>Click <b outputclass="bold">Next</b>. The <b outputclass="bold">Clone Type</b> page is displayed.</li>
|
---|
29 | <li>The <b outputclass="bold">Clone Type</b> option specifies whether to create a clone that is linked to the
|
---|
30 | source VM or to create a fully independent clone:<ul id="ul_i1y_qn5_bcc">
|
---|
31 | <li><b outputclass="bold">Full Clone:</b> Copies all dependent disk images to the new VM folder. A full clone
|
---|
32 | can operate fully without the source VM. </li>
|
---|
33 | <li><b outputclass="bold">Linked Clone:</b> Creates new differencing disk images based on the source VM disk
|
---|
34 | images. If you select the current state of the source VM as the clone point, <ph
|
---|
35 | conkeyref="vbox-conkeyref-phrases/product-name"/> creates a new snapshot. </li>
|
---|
36 | </ul></li>
|
---|
37 | <li>Click <b outputclass="bold">Next</b>. If your VM has snapshots and you chose Full Clone, use the <b
|
---|
38 | outputclass="bold">Snapshots</b> page to select the parts of the snapshot tree to clone with the VM.<ul
|
---|
39 | id="ul_igj_t45_bcc">
|
---|
40 | <li><b outputclass="bold">Current Machine State:</b> Clones the current state of the VM. Snapshots are not
|
---|
41 | included. </li>
|
---|
42 | <li><b outputclass="bold">Everything:</b> Clones the current machine state and all its snapshots.</li>
|
---|
43 | </ul></li>
|
---|
44 |
|
---|
45 | <li><p>Click <b outputclass="bold">Finish</b> to start the clone operation. </p></li></ol>
|
---|
46 | <p>The duration of the clone operation depends on the size and number of attached disk images. In addition, the
|
---|
47 | clone operation saves all the differencing disk images of a snapshot. </p>
|
---|
48 | <p>You can also use the <userinput>VBoxManage clonevm</userinput> command to clone a VM. See <xref
|
---|
49 | href="vboxmanage-clonevm.dita"/>. </p>
|
---|
50 | </body>
|
---|
51 |
|
---|
52 | </topic>
|
---|