VirtualBox

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

Last change on this file since 89923 was 82969, checked in by vboxsync, 5 years ago

Copyright year updates - manual ones.

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