VirtualBox

source: vbox/trunk/doc/manual/en_US/man_VBoxManage-adoptstate.xml@ 96300

Last change on this file since 96300 was 96300, checked in by vboxsync, 2 years ago

doc: comment fixing

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 3.5 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
2<!--
3 manpage, user manual, usage: VBoxManage adoptstate
4-->
5<!--
6 Copyright (C) 2006-2020 Oracle Corporation
7
8 This file is part of VirtualBox Open Source Edition (OSE), as
9 available from http://www.virtualbox.org. This file is free software;
10 you can redistribute it and/or modify it under the terms of the GNU
11 General Public License (GPL) as published by the Free Software
12 Foundation, in version 2 as it comes in the "COPYING" file of the
13 VirtualBox OSE distribution. VirtualBox OSE is distributed in the
14 hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
15-->
16<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
17 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"[
18<!ENTITY % all.entities SYSTEM "all-entities.ent">
19%all.entities;
20]>
21<refentry id="vboxmanage-adoptstate" lang="en">
22 <refentryinfo>
23 <pubdate>$Date: 2022-08-18 17:27:14 +0000 (Thu, 18 Aug 2022) $</pubdate>
24 <title>VBoxManage adoptstate</title>
25 </refentryinfo>
26
27 <refmeta>
28 <refentrytitle>VBoxManage-adoptstate</refentrytitle>
29 <manvolnum>1</manvolnum>
30 </refmeta>
31
32 <refnamediv>
33 <refname>VBoxManage-adoptstate</refname>
34 <refpurpose>change a virtual machine's state based on a saved state file</refpurpose>
35 <refclass>&product-name;</refclass>
36 </refnamediv>
37
38 <refsynopsisdiv>
39 <cmdsynopsis id="synopsis-vboxmanage-adoptstate">
40<!-- The 'id' is mandatory and must start with 'synopsis-'. -->
41 <command>VBoxManage adoptstate</command>
42 <group choice="req">
43 <arg choice="plain"><replaceable>uuid</replaceable></arg>
44 <arg choice="plain"><replaceable>vmname</replaceable></arg>
45 </group>
46 <arg choice="req"><replaceable>state-filename</replaceable></arg>
47 </cmdsynopsis>
48 </refsynopsisdiv>
49
50 <refsect1>
51 <title>Description</title>
52 <para>
53 The <command>VBoxManage adoptstate</command> command enables you
54 to change the state of a virtual machine (VM) to a state described
55 in a saved state file (<filename>.sav</filename>). This action is
56 referred to as a VM <emphasis>adopting</emphasis> a saved state
57 file. The saved state file must be separate from the VM
58 configuration.
59 </para>
60 <para>
61 When you start the VM after adopting the saved state, the VM
62 restores its state from the saved state file.
63 </para>
64 <para>
65 Only use this command for custom deployments.
66 </para>
67 <variablelist>
68 <varlistentry>
69 <term><replaceable>uuid</replaceable> | <replaceable>vmname</replaceable></term>
70 <listitem><para>
71 Specifies the Universally Unique Identifier (UUID) or name
72 of the VM.
73 </para></listitem>
74 </varlistentry>
75 <varlistentry>
76 <term><replaceable>state-filename</replaceable></term>
77 <listitem><para>
78 Specifies the name of the saved state file.
79 </para></listitem>
80 </varlistentry>
81 </variablelist>
82 </refsect1>
83
84 <refsect1>
85 <title>Examples</title>
86 <remark role="help-scope" condition="GLOBAL" />
87 <para>
88 The following command adopts a saved state file called
89 <filename>mystate.sav</filename> by a VM called <literal>vm2</literal>.
90 A subsequent start of the VM called <literal>vm2</literal> restores the
91 state from the saved state file <filename>mystate.sav</filename>.
92 </para>
93<screen>$ VBoxManage adoptstate vm2 /home/user/mystate.sav</screen>
94 </refsect1>
95
96 <refsect1>
97 <title>See Also</title>
98 <para>
99 <xref linkend="vboxmanage-discardstate"/>
100 </para>
101 </refsect1>
102</refentry>
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette