]>
Commit | Line | Data |
---|---|---|
b2c20dd9 | 1 | <?xml version='1.0'?> <!--*-nxml-*--> |
b2c20dd9 | 2 | <!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" |
798d3a52 | 3 | "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"> |
b2c20dd9 LP |
4 | |
5 | <!-- | |
6 | This file is part of systemd. | |
7 | ||
8 | Copyright 2010 Lennart Poettering | |
9 | ||
10 | systemd is free software; you can redistribute it and/or modify it | |
5430f7f2 LP |
11 | under the terms of the GNU Lesser General Public License as published by |
12 | the Free Software Foundation; either version 2.1 of the License, or | |
b2c20dd9 LP |
13 | (at your option) any later version. |
14 | ||
15 | systemd is distributed in the hope that it will be useful, but | |
16 | WITHOUT ANY WARRANTY; without even the implied warranty of | |
17 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
5430f7f2 | 18 | Lesser General Public License for more details. |
b2c20dd9 | 19 | |
5430f7f2 | 20 | You should have received a copy of the GNU Lesser General Public License |
b2c20dd9 LP |
21 | along with systemd; If not, see <http://www.gnu.org/licenses/>. |
22 | --> | |
23 | ||
24 | <refentry id="systemd.snapshot"> | |
798d3a52 ZJS |
25 | <refentryinfo> |
26 | <title>systemd.snapshot</title> | |
27 | <productname>systemd</productname> | |
b2c20dd9 | 28 | |
798d3a52 ZJS |
29 | <authorgroup> |
30 | <author> | |
31 | <contrib>Developer</contrib> | |
32 | <firstname>Lennart</firstname> | |
33 | <surname>Poettering</surname> | |
34 | <email>lennart@poettering.net</email> | |
35 | </author> | |
36 | </authorgroup> | |
37 | </refentryinfo> | |
b2c20dd9 | 38 | |
798d3a52 ZJS |
39 | <refmeta> |
40 | <refentrytitle>systemd.snapshot</refentrytitle> | |
41 | <manvolnum>5</manvolnum> | |
42 | </refmeta> | |
b2c20dd9 | 43 | |
798d3a52 ZJS |
44 | <refnamediv> |
45 | <refname>systemd.snapshot</refname> | |
46 | <refpurpose>Snapshot unit configuration</refpurpose> | |
47 | </refnamediv> | |
b2c20dd9 | 48 | |
798d3a52 ZJS |
49 | <refsynopsisdiv> |
50 | <para><filename><replaceable>snapshot</replaceable>.snapshot</filename></para> | |
51 | </refsynopsisdiv> | |
b2c20dd9 | 52 | |
798d3a52 ZJS |
53 | <refsect1> |
54 | <title>Description</title> | |
b2c20dd9 | 55 | |
798d3a52 ZJS |
56 | <para>Snapshot units are not configured via unit configuration |
57 | files. Nonetheless they are named similar to filenames. A unit | |
58 | whose name ends in <literal>.snapshot</literal> refers to a | |
59 | dynamic snapshot of the systemd runtime state.</para> | |
b2c20dd9 | 60 | |
798d3a52 ZJS |
61 | <para>Snapshots are not configured on disk but created dynamically |
62 | via <command>systemctl snapshot</command> (see | |
63 | <citerefentry><refentrytitle>systemctl</refentrytitle><manvolnum>1</manvolnum></citerefentry> | |
64 | for details) or an equivalent command. When created, they will | |
65 | automatically get dependencies on the currently activated units. | |
66 | They act as saved runtime state of the systemd manager. Later on, | |
67 | the user may choose to return to the saved state via | |
68 | <command>systemctl isolate</command>. They are useful to roll back | |
69 | to a defined state after temporarily starting/stopping services or | |
70 | similar.</para> | |
71 | </refsect1> | |
b2c20dd9 | 72 | |
798d3a52 ZJS |
73 | <refsect1> |
74 | <title>See Also</title> | |
75 | <para> | |
76 | <citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry>, | |
77 | <citerefentry><refentrytitle>systemctl</refentrytitle><manvolnum>1</manvolnum></citerefentry>, | |
78 | <citerefentry><refentrytitle>systemd.unit</refentrytitle><manvolnum>5</manvolnum></citerefentry>, | |
79 | <citerefentry><refentrytitle>systemd.directives</refentrytitle><manvolnum>7</manvolnum></citerefentry> | |
80 | </para> | |
81 | </refsect1> | |
b2c20dd9 LP |
82 | |
83 | </refentry> |