]> git.proxmox.com Git - mirror_lxc.git/blame - doc/ko/lxc-snapshot.sgml.in
Merge pull request #1789 from brauner/2017-09-06/fix_documentation
[mirror_lxc.git] / doc / ko / lxc-snapshot.sgml.in
CommitLineData
2b371b26
SY
1<!--
2
3lxc: linux Container library
4
5(C) Copyright Canonical Inc. 2007, 2008
6
7Authors:
8Serge Hallyn <serge.hallyn at ubuntu.com>
9
10This library is free software; you can redistribute it and/or
11modify it under the terms of the GNU Lesser General Public
12License as published by the Free Software Foundation; either
13version 2.1 of the License, or (at your option) any later version.
14
15This library is distributed in the hope that it will be useful,
16but WITHOUT ANY WARRANTY; without even the implied warranty of
17MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18Lesser General Public License for more details.
19
20You should have received a copy of the GNU Lesser General Public
21License along with this library; if not, write to the Free Software
22Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
23
24Translated into Korean
25by Sungbae Yoo <sungbae.yoo at samsung.com>
26-->
27
28<!DOCTYPE refentry PUBLIC @docdtd@ [
29
30<!ENTITY commonoptions SYSTEM "@builddir@/common_options.sgml">
31<!ENTITY seealso SYSTEM "@builddir@/see_also.sgml">
32]>
33
34<refentry>
35
36 <docinfo><date>@LXC_GENERATE_DATE@</date></docinfo>
37
38 <refmeta>
39 <refentrytitle>lxc-snapshot</refentrytitle>
40 <manvolnum>1</manvolnum>
41 </refmeta>
42
43 <refnamediv>
44 <refname>lxc-snapshot</refname>
45
46 <refpurpose>
47 <!--
48 Snapshot an existing container.
49 -->
50 존재하는 컨테이너의 스냅샷 생성 및 복원
51 </refpurpose>
52 </refnamediv>
53
54 <refsynopsisdiv>
55 <cmdsynopsis>
56 <command>lxc-snapshot</command>
57 <arg choice="req">-n, --name <replaceable>name</replaceable></arg>
58 <arg choice="opt">-c, --comment <replaceable>file</replaceable></arg>
59 </cmdsynopsis>
60 <cmdsynopsis>
61 <command>lxc-snapshot</command>
62 <arg choice="req">-n, --name <replaceable>name</replaceable></arg>
63 <arg choice="req">-d, -destroy <replaceable>snapshot-name</replaceable></arg>
64 </cmdsynopsis>
65 <cmdsynopsis>
66 <command>lxc-snapshot</command>
67 <arg choice="req">-n, --name <replaceable>name</replaceable></arg>
68 <arg choice="req">-L, --list </arg>
69 <arg choice="opt">-C, --showcomments </arg>
70 </cmdsynopsis>
71 <cmdsynopsis>
72 <command>lxc-snapshot</command>
73 <arg choice="req">-n, --name <replaceable>name</replaceable></arg>
74 <arg choice="req">-r, -restore <replaceable>snapshot-name</replaceable></arg>
76072aec 75 <arg choice="opt">-N, --newname <replaceable>newname</replaceable></arg>
2b371b26
SY
76 </cmdsynopsis>
77 </refsynopsisdiv>
78
79 <refsect1>
80 <title><!-- Description -->설명</title>
81
82 <para>
83 <!--
84 <command>lxc-snapshot</command> creates, lists, and restores
85 container snapshots.
86 -->
87 <command>lxc-snapshot</command>는 컨테이너의 스냅샷을 생성, 복원 그리고 리스트를 표시한다.
88 (역주 : 컨테이너 파일시스템을 대상으로 한다는 점에서 <command>lxc-checkpoint</command>와는 다르다)
89 </para>
90 <para>
91 <!--
92 Snapshots are stored as snapshotted containers under the container's configuration path. For instance, if the container's configuration path is <filename>/var/lib/lxc</filename> and the container is <filename>c1</filename>, then the first snapshot will be stored as container <filename>snap0</filename> under the path <filename>/var/lib/lxc/c1/snaps</filename>.
93 If <filename>/var/lib/lxcsnaps</filename>, as used by LXC 1.0, already exists, then it will continue to be used.
94 -->
95 스냅샷은 컨테이너 설정 경로 밑에 스냅샷된 컨테이너처럼 저장된다.
96 예를 들어, 만약 컨테이너 설정 경로가 <filename>/var/lib/lxc</filename>이고 컨테이너 이름이 <filename>c1</filename>라면, 첫번째 스냅샷은 <filename>/var/lib/lxc/c1/snaps</filename> 밑에 <filename>snap0</filename>라는 이름의 컨테이너로 저장 된다.
97 LXC 1.0 때 사용됬던 <filename>/var/lib/lxcsnaps</filename>가 존재하는 경우라면, 해당 경로가 계속 쓰이게 된다.
98 </para>
99 </refsect1>
100
101 <refsect1>
102
103 <title><!-- Options -->옵션</title>
104
105 <variablelist>
106
107 <varlistentry>
108 <term> <option>-c,--comment <replaceable>comment_file</replaceable></option> </term>
109 <listitem>
110 <para>
111 <!--
112 Associate the comment in <replaceable>comment_file</replaceable> with the newly created snapshot.
113 -->
114 새로 생성되는 스냅샷에 <replaceable>comment_file</replaceable>에 있는 주석을 단다.
115 </para>
116 </listitem>
117 </varlistentry>
118
119 <varlistentry>
120 <term> <option>-d,--destroy snapshot-name</option> </term>
121 <listitem>
122 <!--
123 <para> Destroy the named snapshot. If the named snapshot is ALL, then all snapshots
124 will be destroyed.</para>
125 -->
4ff8fb6c 126 지정한 스냅샷을 제거한다. 스냅샷의 이름이 ALL인 경우, 모든 스냅샷을 제거한다.
2b371b26
SY
127 </listitem>
128 </varlistentry>
129
130 <varlistentry>
131 <term> <option>-L,--list </option> </term>
132 <listitem>
133 <para>
134 <!--
135 List existing snapshots.
136 -->
137 존재하는 스냅샷의 리스트를 표시한다.
138 </para>
139 </listitem>
140 </varlistentry>
141
142 <varlistentry>
143 <term> <option>-C,--showcomments </option> </term>
144 <listitem>
145 <para>
146 <!--
147 Show snapshot comments in the snapshots listings.
148 -->
149 스냅샷의 리스트를 표시할때 스냅샷의 주석도 함께 표시한다.
150 </para>
151 </listitem>
152 </varlistentry>
153
154 <varlistentry>
155 <term> <option>-r,--restore snapshot-name</option> </term>
156 <listitem>
157 <para>
158 <!--
159 Restore the named snapshot, meaning a full new container is created which is a copy of the snapshot.
160 -->
161 지정한 스냅샷을 복원한다, 즉, 스냅샷을 복사하여 완전히 새로운 컨테이너가 생성된다는 것을 의미한다.
162 </para>
163 </listitem>
164 </varlistentry>
165
166 <varlistentry>
76072aec 167 <term> <option>-N, --newname</option> </term>
2b371b26 168 <listitem>
76072aec
SY
169 <para>
170 <!--
171 When restoring a snapshot, the last optional argument if not given explicitly Via <command>\-\-newname</command> is the name to use for the restored container. If the newname is identical to the original name of the container, then the original container will be destroyed and the restored container will take its place. Note that deleting the original snapshot is not possible in the case of aufs, overlayfs or zfs backed snapshots.
2b371b26 172 -->
76072aec
SY
173 스냅샷을 복원할 때, 복원된 컨테이너의 이름을 <command>--newname</command>로 명시적으로 지정하지 않았다면 마지막 인자를 이름으로 사용한다. 만약 newname이 원래 컨테이너의 이름과 같다면, 원래 컨테이너는 제거되고 복원되는 컨테이너로 교체된다. aufs, overlayfs, zfs의 경우에는 원본 스냅샷의 제거가 불가능하다는 것에 주의해야 한다.
174 </para>
2b371b26
SY
175 </listitem>
176 </varlistentry>
177
178 </variablelist>
179
180 </refsect1>
181
182 &commonoptions;
183
184 &seealso;
185
186 <refsect1>
187 <title><!-- Author -->저자</title>
188 <para>Serge Hallyn <email>serge.hallyn@ubuntu.com </email></para>
189 </refsect1>
190
191</refentry>
192
193<!-- Keep this comment at the end of the file
194Local variables:
195mode: sgml
196sgml-omittag:t
197sgml-shorttag:t
198sgml-minimize-attributes:nil
199sgml-always-quote-attributes:t
200sgml-indent-step:2
201sgml-indent-data:t
202sgml-parent-document:nil
203sgml-default-dtd-file:nil
204sgml-exposed-tags:nil
205sgml-local-catalogs:nil
206sgml-local-ecat-files:nil
207End:
208-->