Operation Manual

4.3 Using Snapper to Restore Files
from Hourly Backups
Apart from the YaST and zypper snapshots, Snapper creates hourly snapshots of the
system partition (/). You can use these backup snapshots to restore les that have acci-
dentally been deleted or modied beyond recovery. By making use of Snapper's diff
feature you can also nd out which modications have been made at a certain point of
time.
Hourly backup snapshots are of the type Single and are marked with the description
timeline. To restore les from these snapshots proceed as described in Procedure 4.1,
Undoing changes using the YaST Snapper module (page 99) or Procedure 4.2,
Undoing changes using the snapper command (page 102)
NOTE: Storage Time of Snapshots
By default, the last ten snapshots of each day are kept. Furthermore ten snap-
shots are kept for the last ten days, months, and years. For details see Exam-
ple 4.1, “Example timeline conguration” (page 110).
4.4 Managing Snapshots
With Snapper you can not only create and delete snapshots, but also set and modify the
metadata. All Snapper operations are carried out for a certain conguration. If you do
not specify a conguration, the default one (root) is used. If you want to manage
snapshots for your own conguration (see Section 4.6, “Creating Snapper Congura-
tions” (page 108) for details), you need to specify it with the global snapper option
-c:
snapper -c myconfig list
For details on snapper refer to its manpage (man 1 snapper).
104 Reference