]> git.proxmox.com Git - mirror_lxc.git/blob - doc/ja/lxc-snapshot.sgml.in
start: call lxc_find_gateway_addresses early
[mirror_lxc.git] / doc / ja / lxc-snapshot.sgml.in
1 <!--
2
3 lxc: linux Container library
4
5 (C) Copyright Canonical Inc. 2007, 2008
6
7 Authors:
8 Serge Hallyn <serge.hallyn at ubuntu.com>
9
10 This library is free software; you can redistribute it and/or
11 modify it under the terms of the GNU Lesser General Public
12 License as published by the Free Software Foundation; either
13 version 2.1 of the License, or (at your option) any later version.
14
15 This library is distributed in the hope that it will be useful,
16 but WITHOUT ANY WARRANTY; without even the implied warranty of
17 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18 Lesser General Public License for more details.
19
20 You should have received a copy of the GNU Lesser General Public
21 License along with this library; if not, write to the Free Software
22 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
23
24 Translated into Japanese
25 by KATOH Yasufumi <karma at jazz.email.ne.jp>
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>
75 <arg choice="opt">-N, --newname <replaceable> newname</replaceable></arg>
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 </para>
89 <para>
90 <!--
91 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>.
92 If <filename>/var/lib/lxcsnaps</filename>, as used by LXC 1.0, already exists, then it will continue to be used.
93 -->
94 スナップショットはコンテナパス以下にスナップショット化されたコンテナとして保存されます。
95 例えば、もしコンテナパスが <filename>/var/lib/lxc</filename> で、コンテナが <filename>c1</filename> である場合、最初に取得するスナップショットは、パス <filename>/var/lib/lxc/c1/snaps</filename> の下の <filename>snap0</filename> として保存されます。
96 LXC 1.0 で使われていた <filename>/var/lib/lxcsnaps</filename> が存在する場合には、このディレクトリが引き続き使われます。
97 </para>
98 </refsect1>
99
100 <refsect1>
101
102 <title><!-- Options -->オプション</title>
103
104 <variablelist>
105
106 <varlistentry>
107 <term> <option>-c,--comment <replaceable>comment_file</replaceable></option> </term>
108 <listitem>
109 <para>
110 <!--
111 Associate the comment in <replaceable>comment_file</replaceable> with the newly created snapshot.
112 -->
113 新しく作製するスナップショットに <replaceable>comment_file</replaceable> ファイル内のコメントを関連付ける。
114 </para>
115 </listitem>
116 </varlistentry>
117
118 <varlistentry>
119 <term> <option>-d,--destroy snapshot-name</option> </term>
120 <listitem>
121 <!--
122 <para> Destroy the named snapshot. If the named snapshot is ALL, then all snapshots
123 will be destroyed.</para>
124 -->
125 指定した名前のスナップショットを破壊します。ALL という名前が指定された場合、すべてのスナップショットが破壊されます。
126 </listitem>
127 </varlistentry>
128
129 <varlistentry>
130 <term> <option>-L,--list </option> </term>
131 <listitem>
132 <para>
133 <!--
134 List existing snapshots.
135 -->
136 存在するスナップショットをリスト表示します。
137 </para>
138 </listitem>
139 </varlistentry>
140
141 <varlistentry>
142 <term> <option>-C,--showcomments </option> </term>
143 <listitem>
144 <para>
145 <!--
146 Show snapshot comments in the snapshots listings.
147 -->
148 スナップショットのリスト表示でスナップショットに対するコメントを表示します。
149 </para>
150 </listitem>
151 </varlistentry>
152
153 <varlistentry>
154 <term> <option>-r,--restore snapshot-name</option> </term>
155 <listitem>
156 <para>
157 <!--
158 Restore the named snapshot, meaning a full new container is created which is a copy of the snapshot.
159 -->
160 指定のスナップショットをリストアします。
161 これはスナップショットのコピーである完全に新しいコンテナが作製されるということです。
162 </para>
163 </listitem>
164 </varlistentry>
165
166 <varlistentry>
167 <term> <option>-N, --newname</option> </term>
168 <listitem>
169 <para>
170 <!-- 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 overlayfs or zfs backed snapshots. -->
171 スナップショットをリストアする際、<command>--newname</command> の値として明示的に指定しない場合でも、最後のオプション引数はリストアするコンテナの名前として使用します。
172 もし newname が元のコンテナの名前と同じ場合、元のコンテナが削除され、リストアされるコンテナに置き換えられます。
173 スナップショット元を削除することは、overlayfs, zfs がバックエンドのスナップショットではできないことに注意が必要です。
174 </para>
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
194 Local variables:
195 mode: sgml
196 sgml-omittag:t
197 sgml-shorttag:t
198 sgml-minimize-attributes:nil
199 sgml-always-quote-attributes:t
200 sgml-indent-step:2
201 sgml-indent-data:t
202 sgml-parent-document:nil
203 sgml-default-dtd-file:nil
204 sgml-exposed-tags:nil
205 sgml-local-catalogs:nil
206 sgml-local-ecat-files:nil
207 End:
208 -->