Debian Codegraph @

doc/ja/lxc-snapshot.sgml.in

raw
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-snapshot</refentrytitle>
15 <manvolnum>1</manvolnum>
16 </refmeta>
17
18 <refnamediv>
19 <refname>lxc-snapshot</refname>
20
21 <refpurpose>
22 <!--
23 Snapshot an existing container.
24 -->
25 存在するコンテナのスナップショットの取得
26 </refpurpose>
27 </refnamediv>
28
29 <refsynopsisdiv>
30 <cmdsynopsis>
31 <command>lxc-snapshot</command>
32 <arg choice="req">-n, --name <replaceable>name</replaceable></arg>
33 <arg choice="opt">-c, --comment <replaceable>file</replaceable></arg>
34 </cmdsynopsis>
35 <cmdsynopsis>
36 <command>lxc-snapshot</command>
37 <arg choice="req">-n, --name <replaceable>name</replaceable></arg>
38 <arg choice="req">-d, -destroy <replaceable>snapshot-name</replaceable></arg>
39 </cmdsynopsis>
40 <cmdsynopsis>
41 <command>lxc-snapshot</command>
42 <arg choice="req">-n, --name <replaceable>name</replaceable></arg>
43 <arg choice="req">-L, --list </arg>
44 <arg choice="opt">-C, --showcomments </arg>
45 </cmdsynopsis>
46 <cmdsynopsis>
47 <command>lxc-snapshot</command>
48 <arg choice="req">-n, --name <replaceable>name</replaceable></arg>
49 <arg choice="req">-r, -restore <replaceable>snapshot-name</replaceable></arg>
50 <arg choice="opt">-N, --newname <replaceable> newname</replaceable></arg>
51 </cmdsynopsis>
52 </refsynopsisdiv>
53
54 <refsect1>
55 <title><!-- Description -->説明</title>
56
57 <para>
58 <!--
59 <command>lxc-snapshot</command> creates, lists, and restores
60 container snapshots.
61 -->
62 <command>lxc-snapshot</command> はコンテナのスナップショットの作製、スナップショットのリスト表示、スナップショットからのリストアを行います。
63 </para>
64 <para>
65 <!--
66 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>.
67 If <filename>/var/lib/lxcsnaps</filename>, as used by LXC 1.0, already exists, then it will continue to be used.
68 -->
69 スナップショットはコンテナパス以下にスナップショット化されたコンテナとして保存されます。
70 例えば、もしコンテナパスが <filename>/var/lib/lxc</filename> で、コンテナが <filename>c1</filename> である場合、最初に取得するスナップショットは、パス <filename>/var/lib/lxc/c1/snaps</filename> の下の <filename>snap0</filename> として保存されます。
71 LXC 1.0 で使われていた <filename>/var/lib/lxcsnaps</filename> が存在する場合には、このディレクトリが引き続き使われます。
72 </para>
73 </refsect1>
74
75 <refsect1>
76
77 <title><!-- Options -->オプション</title>
78
79 <variablelist>
80
81 <varlistentry>
82 <term> <option>-c,--comment <replaceable>comment_file</replaceable></option> </term>
83 <listitem>
84 <para>
85 <!--
86 Associate the comment in <replaceable>comment_file</replaceable> with the newly created snapshot.
87 -->
88 新しく作製するスナップショットに <replaceable>comment_file</replaceable> ファイル内のコメントを関連付ける。
89 </para>
90 </listitem>
91 </varlistentry>
92
93 <varlistentry>
94 <term> <option>-d,--destroy snapshot-name</option> </term>
95 <listitem>
96 <!--
97 <para> Destroy the named snapshot. If the named snapshot is ALL, then all snapshots
98 will be destroyed.</para>
99 -->
100 指定した名前のスナップショットを破壊します。ALL という名前が指定された場合、すべてのスナップショットが破壊されます。
101 </listitem>
102 </varlistentry>
103
104 <varlistentry>
105 <term> <option>-L,--list </option> </term>
106 <listitem>
107 <para>
108 <!--
109 List existing snapshots.
110 -->
111 存在するスナップショットをリスト表示します。
112 </para>
113 </listitem>
114 </varlistentry>
115
116 <varlistentry>
117 <term> <option>-C,--showcomments </option> </term>
118 <listitem>
119 <para>
120 <!--
121 Show snapshot comments in the snapshots listings.
122 -->
123 スナップショットのリスト表示でスナップショットに対するコメントを表示します。
124 </para>
125 </listitem>
126 </varlistentry>
127
128 <varlistentry>
129 <term> <option>-r,--restore snapshot-name</option> </term>
130 <listitem>
131 <para>
132 <!--
133 Restore the named snapshot, meaning a full new container is created which is a copy of the snapshot.
134 -->
135 指定のスナップショットをリストアします。
136 これはスナップショットのコピーである完全に新しいコンテナが作製されるということです。
137 </para>
138 </listitem>
139 </varlistentry>
140
141 <varlistentry>
142 <term> <option>-N, --newname</option> </term>
143 <listitem>
144 <para>
145 <!-- 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. -->
146 スナップショットをリストアする際、<command>--newname</command> の値として明示的に指定しない場合でも、最後のオプション引数はリストアするコンテナの名前として使用します。
147 もし newname が元のコンテナの名前と同じ場合、元のコンテナが削除され、リストアされるコンテナに置き換えられます。
148 スナップショット元を削除することは、overlayfs, zfs がバックエンドのスナップショットではできないことに注意が必要です。
149 </para>
150 </listitem>
151 </varlistentry>
152
153 </variablelist>
154
155 </refsect1>
156
157 &commonoptions;
158
159 &seealso;
160
161 </refentry>
162
163 <!-- Keep this comment at the end of the file
164 Local variables:
165 mode: sgml
166 sgml-omittag:t
167 sgml-shorttag:t
168 sgml-minimize-attributes:nil
169 sgml-always-quote-attributes:t
170 sgml-indent-step:2
171 sgml-indent-data:t
172 sgml-parent-document:nil
173 sgml-default-dtd-file:nil
174 sgml-exposed-tags:nil
175 sgml-local-catalogs:nil
176 sgml-local-ecat-files:nil
177 End:
178 -->