| 1 |
<!-- SPDX-License-Identifier: LGPL-2.1+ --> |
| 2 |
|
| 3 |
<!DOCTYPE refentry PUBLIC @docdtd@ [ |
| 4 |
|
| 5 |
<!ENTITY commonoptions SYSTEM "@builddir@/common_options.sgml"> |
| 6 |
<!ENTITY seealso SYSTEM "@builddir@/see_also.sgml"> |
| 7 |
]> |
| 8 |
|
| 9 |
<refentry> |
| 10 |
|
| 11 |
<docinfo><date>@LXC_GENERATE_DATE@</date></docinfo> |
| 12 |
|
| 13 |
<refmeta> |
| 14 |
<refentrytitle>lxc-checkpoint</refentrytitle> |
| 15 |
<manvolnum>1</manvolnum> |
| 16 |
</refmeta> |
| 17 |
|
| 18 |
<refnamediv> |
| 19 |
<refname>lxc-checkpoint</refname> |
| 20 |
|
| 21 |
<refpurpose> |
| 22 |
<!-- |
| 23 |
checkpoint a container |
| 24 |
--> |
| 25 |
컨테이너의 체크포인트 생성 및 복원 |
| 26 |
</refpurpose> |
| 27 |
</refnamediv> |
| 28 |
|
| 29 |
<refsynopsisdiv> |
| 30 |
<cmdsynopsis> |
| 31 |
<command>lxc-checkpoint</command> |
| 32 |
<arg choice="req">-n <replaceable>name</replaceable></arg> |
| 33 |
<arg choice="req">-D <replaceable>PATH</replaceable></arg> |
| 34 |
<arg choice="opt">-r</arg> |
| 35 |
<arg choice="opt">-s</arg> |
| 36 |
<arg choice="opt">-v</arg> |
| 37 |
<arg choice="opt">-d</arg> |
| 38 |
<arg choice="opt">-F</arg> |
| 39 |
</cmdsynopsis> |
| 40 |
</refsynopsisdiv> |
| 41 |
|
| 42 |
<refsect1> |
| 43 |
<title><!-- Description -->설명</title> |
| 44 |
<para> |
| 45 |
<!-- |
| 46 |
<command>lxc-checkpoint</command> checkpoints and restores containers. |
| 47 |
--> |
| 48 |
<command>lxc-checkpoint</command> 는 컨테이너의 체크포인트를 생성 및 복원을 수행한다. |
| 49 |
(역주 : 이 명령어를 사용하기 위해서는 CRIU(Checkpoint/Restore In Userspace)라는 툴이 반드시 필요하다, 컨테이너의 실행상태를 대상으로 한다는 점에서 <command>lxc-snapshot</command>와는 다르다) |
| 50 |
</para> |
| 51 |
</refsect1> |
| 52 |
|
| 53 |
<refsect1> |
| 54 |
<title><!-- Options -->옵션</title> |
| 55 |
<variablelist> |
| 56 |
|
| 57 |
<varlistentry> |
| 58 |
<term> |
| 59 |
<option>-r, --restore</option> |
| 60 |
</term> |
| 61 |
<listitem> |
| 62 |
<para> |
| 63 |
<!-- |
| 64 |
Restore the checkpoint for the container, instead of dumping it. |
| 65 |
This option is incompatible with <option>-s</option>. |
| 66 |
--> |
| 67 |
컨테이너의 상태를 저장하는 것 대신에 체크포인트로 복원을 수행한다. |
| 68 |
이 옵션은 <option>-s</option>과 같이 사용될 수 없다. |
| 69 |
</para> |
| 70 |
</listitem> |
| 71 |
</varlistentry> |
| 72 |
|
| 73 |
<varlistentry> |
| 74 |
<term> |
| 75 |
<option>-D <replaceable>PATH</replaceable>, --checkpoint-dir=<replaceable>PATH</replaceable></option> |
| 76 |
</term> |
| 77 |
<listitem> |
| 78 |
<para> |
| 79 |
<!-- |
| 80 |
The directory to dump the checkpoint metadata. |
| 81 |
--> |
| 82 |
체크포인트 메타데이터를 저장할 디렉토리를 지정한다. |
| 83 |
</para> |
| 84 |
</listitem> |
| 85 |
</varlistentry> |
| 86 |
|
| 87 |
<varlistentry> |
| 88 |
<term> |
| 89 |
<option>-s, --stop</option> |
| 90 |
</term> |
| 91 |
<listitem> |
| 92 |
<para> |
| 93 |
<!-- |
| 94 |
Optionally stop the container after dumping. This option is |
| 95 |
incompatible with <option>-r</option>. |
| 96 |
--> |
| 97 |
컨테이너의 상태를 저장한 후 컨테이너를 중지한다. 이 옵션은 <option>-r</option>과 같이 사용될 수 없다. |
| 98 |
</para> |
| 99 |
</listitem> |
| 100 |
</varlistentry> |
| 101 |
|
| 102 |
<varlistentry> |
| 103 |
<term> |
| 104 |
<option>-v, --verbose</option> |
| 105 |
</term> |
| 106 |
<listitem> |
| 107 |
<para> |
| 108 |
<!-- |
| 109 |
Enable verbose criu logging. |
| 110 |
--> |
| 111 |
CRIU 로그 기록을 자세하게 한다. |
| 112 |
</para> |
| 113 |
</listitem> |
| 114 |
</varlistentry> |
| 115 |
|
| 116 |
<varlistentry> |
| 117 |
<term> |
| 118 |
<option>-d, --daemon</option> |
| 119 |
</term> |
| 120 |
<listitem> |
| 121 |
<para> |
| 122 |
<!-- |
| 123 |
Restore the container in the background (this is the default). |
| 124 |
Only available when providing <option>-r</option>. |
| 125 |
--> |
| 126 |
컨테이너 복원을 백그라운드에서 수행한다. (이것이 기본으로 되어있다) |
| 127 |
<option>-r</option> 옵션이랑만 사용가능하다. |
| 128 |
</para> |
| 129 |
</listitem> |
| 130 |
</varlistentry> |
| 131 |
|
| 132 |
<varlistentry> |
| 133 |
<term> |
| 134 |
<option>-F, --foreground</option> |
| 135 |
</term> |
| 136 |
<listitem> |
| 137 |
<para> |
| 138 |
<!-- |
| 139 |
Restore the container in the foreground. Only available when |
| 140 |
providing <option>-r</option>. |
| 141 |
--> |
| 142 |
컨테이너 복원을 포그라운드에서 수행한다. <option>-r</option> 옵션이랑만 사용가능하다. |
| 143 |
</para> |
| 144 |
</listitem> |
| 145 |
</varlistentry> |
| 146 |
|
| 147 |
</variablelist> |
| 148 |
</refsect1> |
| 149 |
|
| 150 |
&commonoptions; |
| 151 |
|
| 152 |
<refsect1> |
| 153 |
<title><!-- Examples -->예제</title> |
| 154 |
<variablelist> |
| 155 |
|
| 156 |
<varlistentry> |
| 157 |
<term>lxc-checkpoint -n foo -D /tmp/checkpoint</term> |
| 158 |
<listitem> |
| 159 |
<para> |
| 160 |
<!-- |
| 161 |
Checkpoint the container foo into the directory /tmp/checkpoint. |
| 162 |
--> |
| 163 |
foo 컨테이너의 체크포인트를 /tmp/checkpoint 디렉토리에 생성한다. |
| 164 |
</para> |
| 165 |
</listitem> |
| 166 |
</varlistentry> |
| 167 |
|
| 168 |
<varlistentry> |
| 169 |
<term>lxc-checkpoint -r -n foo -D /tmp/checkpoint</term> |
| 170 |
<listitem> |
| 171 |
<para> |
| 172 |
<!-- |
| 173 |
Restore the checkpoint from the directory /tmp/checkpoint. |
| 174 |
--> |
| 175 |
foo 컨테이너를 /tmp/checkpoint 디렉토리에 있는 체크포인트로 복원한다. |
| 176 |
</para> |
| 177 |
</listitem> |
| 178 |
</varlistentry> |
| 179 |
|
| 180 |
</variablelist> |
| 181 |
</refsect1> |
| 182 |
|
| 183 |
&seealso; |
| 184 |
</refentry> |
| 185 |
|
| 186 |
<!-- Keep this comment at the end of the file |
| 187 |
Local variables: |
| 188 |
mode: sgml |
| 189 |
sgml-omittag:t |
| 190 |
sgml-shorttag:t |
| 191 |
sgml-minimize-attributes:nil |
| 192 |
sgml-always-quote-attributes:t |
| 193 |
sgml-indent-step:2 |
| 194 |
sgml-indent-data:t |
| 195 |
sgml-parent-document:nil |
| 196 |
sgml-default-dtd-file:nil |
| 197 |
sgml-exposed-tags:nil |
| 198 |
sgml-local-catalogs:nil |
| 199 |
sgml-local-ecat-files:nil |
| 200 |
End: |
| 201 |
--> |