[1mNAME[0m
rsbackup-snapshot-hook - rsync-based backup utility
[1mSYNOPSIS[0m
[1mrsbackup-snapshot-hook [22m[[4mOPTIONS[24m]
[1mDESCRIPTION[0m
[1mrsbackup-snapshot-hook [22mcreates and removes LVM snapshots when config-
ured as a pre- or post-volume-hook for [1mrsbackup[22m(1).
Snapshots will only be created for volumes that have a corresponding
directory in the snapshot directory. For instance, a snapshot will be
created for the volume [1mroot [22mif [4m/var/lib/rsbackup/snapshots/root[24m exists.
(Use the [1m--snaps [22moption to change the snapshot directory.) Such vol-
umes must be stored in a logical volume.
Leftover snapshots are always unmounted and removed before creation.
Snapshots are given only a fraction of the size of the original volume.
Use the [1m--divisor [22mto change this.
After creation snapshots are fsck'd and mounted. If an error occurs in
any part of the creation process, the partially snapshot created snap-
shot may be left in place (and ultimately be torn down when the post-
volume-hook is run).
[1mOPTIONS[0m
[1m--snaps[22m, [1m-s [4m[22mPATH[0m
Set the path to the snapshot directory. The default is
[4m/var/lib/rsbackup/snapshots[24m.
[1m--divisor[22m, [1m-d [4m[22mDIVISOR[0m
Set the snapshot size ratio. The default is 5.
[1m--help[22m, [1m-h[0m
Display usage message.
[1m--version[22m, [1m-V[0m
Display version string.
[1mSEE ALSO[0m
[1mrsbackup[22m(1), [1mlvm[22m(8)
[1mAUTHOR[0m
Richard Kettlewell <rjk@greenend.org.uk>