prlctl suspend, resume
The
prlctl suspend
command is used to save the state of a running Container.
Syntax
prlctl suspend
<
CT_ID
>
Options
Name
|
Description
|
<CT_ID>
|
Container ID.
|
During the
prlctl suspend
execution, the current Container state is saved to a special dump file and the Container itself is stopped. The created dump file is saved to the
Dump
file in the
/vz/private/
CT_ID
/dump
directory on the server (or in the directory specified as the value of the
DUMPDIR
parameter in the Parallels Cloud Server global file).
The
prlctl resume
command is used to restore the Container from its dump file created with the
prlctl suspend
command.
Syntax
prlctl
resume
<
CT_ID
>
When executed,
prlctl resume
searches for the
Dump
file in the
/vz/private/
CT_ID
/dump
directory on the server and restores the Container from this file.You can restore the Container dump file on the Source Server, i.e. on the server where this Container was running before its dumping, or transfer the dump file to another server and restore it there.
Note:
Before restoring a Container from its dump file, make sure that the file system on the Destination Server is identical to that at the moment of the Container dumping. Otherwise, the Container restoration may fail.
|