|
NAMEsnap —
FreeBSD UFS2 Snapshot Management Tool
SYNOPSIS
DESCRIPTIONYou can use thesnap utility to
periodically create new snapshots while rotating the
olds. It can also be used to manually create
snapshots.
The options are as follows:
The All snapshot files are created with the local creation time as their filename. In periodic maintaining task, three types of periodic snapshots, namely, hourly, daily, and weekly, are created and rotated according to the settings in the configuration file. They are also hard-linked to “nicknames”, for example, the last hourly snapshot is hard-linked to hour.0. EXAMPLESThe following command creates snapshots manually according to the configuration file.snap To perform periodic maintaining, invoke
0 * * * * root /path/to/snap
-p since periodic maintaining requires to be performed on the hour. To manually create snapshots on filesystem / and /home and /var only: snap / /home /var This command will ignore the “enable” flag in the configuration file. If, say, /var is not found in the configuration file, nothing would happen. We can list manual created snapshots on filesystems / and /home: snap -m / /home or also specify an alternative path for the configuration file: snap -m -c /tmp/gg/snap.conf /
/home FILES
SEE ALSOmount(8), crontab(5), mdconfig(8), snapshot(8)AUTHORSThis manual page was written by Wu Chin-Hao wchunhao@cs.nctu.edu.tw.
Visit the GSP FreeBSD Man Page Interface. |