]> git.ipfire.org Git - thirdparty/systemd.git/blob - man/systemd.snapshot.xml
Merge pull request #634 from icarlosvenegas/sd-boot-show-efi-cmdline_v2
[thirdparty/systemd.git] / man / systemd.snapshot.xml
1 <?xml version='1.0'?> <!--*-nxml-*-->
2 <!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
3 "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
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
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
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
18 Lesser General Public License for more details.
19
20 You should have received a copy of the GNU Lesser General Public License
21 along with systemd; If not, see <http://www.gnu.org/licenses/>.
22 -->
23
24 <refentry id="systemd.snapshot">
25 <refentryinfo>
26 <title>systemd.snapshot</title>
27 <productname>systemd</productname>
28
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>
38
39 <refmeta>
40 <refentrytitle>systemd.snapshot</refentrytitle>
41 <manvolnum>5</manvolnum>
42 </refmeta>
43
44 <refnamediv>
45 <refname>systemd.snapshot</refname>
46 <refpurpose>Snapshot unit configuration</refpurpose>
47 </refnamediv>
48
49 <refsynopsisdiv>
50 <para><filename><replaceable>snapshot</replaceable>.snapshot</filename></para>
51 </refsynopsisdiv>
52
53 <refsect1>
54 <title>Description</title>
55
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>
60
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>
72
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>
82
83 </refentry>