4.4.1 Snapshot Metadata
Each snapshot consists of the snapshot itself and some metadata. With Snapper you
can set and modify some metadata. The following metadata is available for each snap-
shot:
• Type: Snapshot type, see Section 4.4.1.1, “Snapshot Types” (page 105) for details.
This data can not be changed.
• Number: Unique number of the snapshot. This data can not be changed.
• Pre Number: Species the number of the corresponding pre snapshot. For snapshots
of type post only. This data can not be changed.
• Description: A description of the snapshot.
• Userdata: An extended description where you can specify custom data in the form
or comma-separated key=value list: reason=testing_stuff, user=tux
• Cleanup-Algorithm: Cleanup-algorithm for the snapshot
4.4.1.1 Snapshot Types
Snapper knows three different types of snapshots: pre, post and single. Physically they
do not differ, but Snapper handles them differently.
pre
Snapshot of a lesystem before a modication. Each pre snapshot has got a cor-
responding post snapshot. Used e.g. for the automatic YaST/zypper snapshots.
post
Snapshot of a lesystem after a modication. Each post snapshot has got a cor-
responding pre snapshot. Used e.g. for the automatic YaST/zypper snapshots.
single
Stand-alone snapshot. Used e.g. for the automatic hourly snapshots. This is the
default type when crating snapshots.
Snapshots/Rollback with Snapper 105