pctl suspend and pctl resume
The
pctl suspend
command is used to save the state of a running Container. It has the following syntax:
pctl suspend <
CT_ID
>
During the
pctl 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 Server Bare Metal global file).
The
pctl resume
command is used to restore the Container from its dump file created with the
pctl suspend
command. It has the following syntax:
pctl resume <
CT_ID
>
When executed,
pctl 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.
|