fdca25ba0022ed54662f450c80f6f054f1e7382f
[live-boot-grml.git] / manpages / live-snapshot.en.1.txt
1 live-snapshot(1)
2 ================
3
4 Name
5 ----
6 live-snapshot - a simple script to ease persistence usage
7
8 Synopsis
9 --------
10 live-snapshot [-c|--cow **DIRECTORY**s] [-d|--device **DEVICE**] [-e|--exclude-list **FILE**] [-o|--output **FILE**] [-t|--type **TYPE**]
11
12 live-snapshot [-r|--resync-string **STRING**]
13
14 live-snapshot [-h|--help]
15
16 live-snapshot [-u|--usage]
17
18 live-snapshot [-v|--version]
19
20 Description
21 -----------
22
23 live-snapshot is a script which can be used to build the right types of
24 persistent image files supported by live-initramfs(7). It is also used on
25 exit by the live-initramfs init script to resync the boot-found snapshots
26 devices.
27
28 Options
29 -------
30
31   -c, --cow **DIRECTORY**::
32
33 specifies the input directory to be cloned in the image file. Its default value
34 "/live/cow" should be right for most uses. However it could be handy to specify
35 "/home" and type ext2 for the type to prepare an image file suited to be
36 directly mounted by live-initramfs as home.
37
38   -d, --device **DEVICE**::
39
40 sets the device where the media which the snapshot/persistence file/partition
41 will be put. If it is not specified, a tmpfs will be used and linked to the
42 user's desktop to move it where it is needed. If the device has no filesystem,
43 an ext2 fs will be automatically created and labelled according to the values
44 specified after the "--output" value or with a sane default.
45
46   -e, --exclude-list **FILE**::
47
48 a file containing a list of filenames/paths that should not be saved. This exclude list will be remebered on the target snapshot media for reuse.
49
50   -o, --output **FILE**::
51
52 the filename/label used for the output file/partition. If left blank, live-snapshot will search for a proper file on the device or use the whole partition.
53
54   -r, --resync-string **STRING**::
55
56 internally used on resyncs.
57
58   -f, --refresh::
59
60 try to do the same operation that should be done at reboot or halt, resyncing
61 boot-time auto discovered snapshots. Useful to prevent a crash or surge
62 power-off.
63
64   -t, --type **TYPE**::
65
66 Type could be one of "cpio", "squashfs", "ext2", "ext3" or "jffs2".
67
68   -h, --help::
69
70 display help and exit
71
72   -u, --usage::
73
74 show usage and exit
75
76   -v, --version::
77
78 output version information and exit
79
80 See also
81 --------
82
83 live-initramfs(8)
84
85 This program is a part of live-initramfs.
86
87 Bugs
88 ----
89
90 Report bugs against live-initramfs
91 link:http://packages.qa.debian.org/live-initramfs[http://packages.qa.debian.org/live-initramfs].
92
93 Homepage
94 --------
95
96 More information about the Debian Live project can be found at
97 link:http://debian-live.alioth.debian.org/[http://debian-live.alioth.debian.org/] and
98 link:http://wiki.debian.org/DebianLive/[http://wiki.debian.org/DebianLive/].
99
100 Authors
101 -------
102
103 live-initramfs is maintained by Daniel Baumann <daniel@debian.org> for the
104 Debian project. live-initramfs is a fork of
105 link:http://packages.ubuntu.com/casper/[casper]. casper was originally written
106 by Tollef Fog Heen <tfheen@canonical.com> and Matt Zimmerman <mdz@canonical.com>.