lxc-snapshot.sgml.in revision a5ba96715d4ef264c43d4f187251de491ba198c0
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi<!--
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumilxc: linux Container library
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi(C) Copyright Canonical Inc. 2007, 2008
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH YasufumiAuthors:
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH YasufumiSerge Hallyn <serge.hallyn at ubuntu.com>
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH YasufumiThis library is free software; you can redistribute it and/or
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumimodify it under the terms of the GNU Lesser General Public
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH YasufumiLicense as published by the Free Software Foundation; either
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumiversion 2.1 of the License, or (at your option) any later version.
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH YasufumiThis library is distributed in the hope that it will be useful,
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumibut WITHOUT ANY WARRANTY; without even the implied warranty of
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH YasufumiMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH YasufumiLesser General Public License for more details.
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH YasufumiYou should have received a copy of the GNU Lesser General Public
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH YasufumiLicense along with this library; if not, write to the Free Software
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH YasufumiFoundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH YasufumiTranslated into Japanese
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumiby KATOH Yasufumi <karma at jazz.email.ne.jp>
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi-->
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi<!DOCTYPE refentry PUBLIC @docdtd@ [
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi<!ENTITY commonoptions SYSTEM "@builddir@/common_options.sgml">
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi<!ENTITY seealso SYSTEM "@builddir@/see_also.sgml">
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi]>
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi<refentry>
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi <docinfo><date>@LXC_GENERATE_DATE@</date></docinfo>
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi <refmeta>
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi <refentrytitle>lxc-snapshot</refentrytitle>
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi <manvolnum>1</manvolnum>
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi </refmeta>
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi <refnamediv>
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi <refname>lxc-snapshot</refname>
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi <refpurpose>
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi <!--
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi Snapshot an existing container.
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi -->
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi 既存のコンテナのスナップショットを取得する
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi </refpurpose>
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi </refnamediv>
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi <refsynopsisdiv>
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi <cmdsynopsis>
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi <command>lxc-snapshot</command>
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi <arg choice="req">-n, --name <replaceable>name</replaceable></arg>
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi <arg choice="opt">-c, --comment <replaceable>file</replaceable></arg>
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi </cmdsynopsis>
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi <cmdsynopsis>
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi <command>lxc-snapshot</command>
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi <arg choice="req">-n, --name <replaceable>name</replaceable></arg>
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi <arg choice="req">-L, --list </arg>
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi <arg choice="opt">-C, --showcomments </arg>
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi </cmdsynopsis>
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi <cmdsynopsis>
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi <command>lxc-snapshot</command>
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi <arg choice="req">-n, --name <replaceable>name</replaceable></arg>
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi <arg choice="req">-r, -restore <replaceable>snapshot-name</replaceable></arg>
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi <arg choice="opt"> <replaceable> newname</replaceable></arg>
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi </cmdsynopsis>
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi </refsynopsisdiv>
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi <refsect1>
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi <title><!-- Description -->説明</title>
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi <para>
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi <!--
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi <command>lxc-snapshot</command> creates, lists, and restores
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi container snapshots.
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi -->
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi <command>lxc-snapshot</command> はコンテナのスナップショットの作製,スナップショットのリスト表示,スナップショットからのリストアを行います.
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi </para>
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi <para>
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi <!--
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi Snapshots are stored as snapshotted containers under a private 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 configuration path <filename>/var/lib/lxcsnaps/c1</filename>.
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi -->
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi スナップショットは,専用の設定されたパス以下にスナップショット化されたコンテナとして保存されます.例えば,もしコンテナパスが <filename>/var/lib/lxc</filename> で,コンテナが <filename>c1</filename> である場合,最初に取得するスナップショットは,パス <filename>/var/lib/lxcsnaps/c1</filename> の下の <filename>snap0</filename> として保存されます.
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi </para>
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi </refsect1>
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi <refsect1>
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi <title><!-- Options -->オプション</title>
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi <variablelist>
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi <varlistentry>
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi <term> <option>-c,--comment <replaceable>comment_file</replaceable></option> </term>
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi <listitem>
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi <para>
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi <!--
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi Associate the comment in <replaceable>comment_file</replaceable> with the newly created snapshot.
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi -->
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi 新しく作製するスナップショットに <replaceable>comment_file</replaceable> ファイル内のコメントを関連付ける.
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi </para>
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi </listitem>
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi </varlistentry>
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi <varlistentry>
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi <term> <option>-L,--list </option> </term>
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi <listitem>
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi <para>
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi <!--
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi List existing snapshots.
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi -->
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi 存在するスナップショットをリスト表示する.
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi </para>
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi </listitem>
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi </varlistentry>
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi <varlistentry>
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi <term> <option>-C,--showcomments </option> </term>
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi <listitem>
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi <para>
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi <!--
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi Show snapshot comments in the snapshots listings.
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi -->
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi スナップショットのリスト表示でスナップショットに対するコメントを表示する.
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi </para>
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi </listitem>
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi </varlistentry>
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi <varlistentry>
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi <term> <option>-r,--restore snapshot-name</option> </term>
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi <listitem>
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi <para>
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi <!--
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi Restore the named snapshot, meaning a full new container is created which is a copy of the snapshot.
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi -->
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi 指定のスナップショットをリストアする.これはスナップショットのコピーである完全に新しいコンテナが作製されるということです.
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi </para>
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi </listitem>
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi </varlistentry>
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi <varlistentry>
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi <term> <option>newname</option> </term>
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi <listitem>
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi <para>
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi <!--
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi When restoring a snapshot, the last optional argument is the name to use for the restored container. If no name is given, 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.
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi -->
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi スナップショットをリストアする際,最後のオプション引数はリストアされたコンテナの名前として使用されます.もし名前が与えられてない場合,元のコンテナが破壊され,リストアされるコンテナに置き換えられます.スナップショット元を削除することは,overlayfs と zfs がバックエンドのスナップショットでは出来ないことに注意が必要です.
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi </para>
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi </listitem>
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi </varlistentry>
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi </variablelist>
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi </refsect1>
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi &commonoptions;
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi &seealso;
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi <refsect1>
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi <title>Author</title>
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi <para>Serge Hallyn <email>serge.hallyn@ubuntu.com </email></para>
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi </refsect1>
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi</refentry>
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi<!-- Keep this comment at the end of the file
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH YasufumiLocal variables:
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumimode: sgml
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumisgml-omittag:t
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumisgml-shorttag:t
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumisgml-minimize-attributes:nil
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumisgml-always-quote-attributes:t
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumisgml-indent-step:2
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumisgml-indent-data:t
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumisgml-parent-document:nil
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumisgml-default-dtd-file:nil
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumisgml-exposed-tags:nil
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumisgml-local-catalogs:nil
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumisgml-local-ecat-files:nil
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH YasufumiEnd:
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi-->