6 live-snapshot - a simple script to ease persistence usage
10 live-snapshot [-c|--cow **DIRECTORY**s] [-d|--device **DEVICE**] [-e|--exclude-list **FILE**] [-o|--output **FILE**] [-t|--type **TYPE**]
12 live-snapshot [-r|--resync-string **STRING**]
14 live-snapshot [-h|--help]
16 live-snapshot [-u|--usage]
18 live-snapshot [-v|--version]
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
31 -c, --cow **DIRECTORY**::
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.
38 -d, --device **DEVICE**::
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.
46 -e, --exclude-list **FILE**::
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.
50 -o, --output **FILE**::
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.
54 -r, --resync-string **STRING**::
56 internally used on resyncs.
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
66 Type could be one of "cpio", "squashfs", "ext2", "ext3" or "jffs2".
78 output version information and exit
83 /etc/live-snapshot.list
85 This optional file, if present changes the behaviour of live-snapshot, only files and directories listed there are included (integrally) in the snapshot.
86 Beware, it is an experimental feature that only works for cpio targets now.
93 This program is a part of live-initramfs.
98 Report bugs against live-initramfs
99 link:http://packages.qa.debian.org/live-initramfs[http://packages.qa.debian.org/live-initramfs].
104 More information about the Debian Live project can be found at
105 link:http://debian-live.alioth.debian.org/[http://debian-live.alioth.debian.org/] and
106 link:http://wiki.debian.org/DebianLive/[http://wiki.debian.org/DebianLive/].
111 live-initramfs is maintained by Daniel Baumann <daniel@debian.org> for the
112 Debian project. live-initramfs is a fork of
113 link:http://packages.ubuntu.com/casper/[casper]. casper was originally written
114 by Tollef Fog Heen <tfheen@canonical.com> and Matt Zimmerman <mdz@canonical.com>.