What is Btrfs snapper?

What is Btrfs snapper?

Snapper is a tool created by openSUSE’s Arvin Schnell that helps with managing snapshots of Btrfs subvolumes and thin-provisioned LVM volumes. It can create and compare snapshots, revert between snapshots, and supports automatic snapshots timelines.

What is a Btrfs subvolume?

A subvolume is a part of filesystem with its own independent file/directory hierarchy. Note: A subvolume in btrfs is not like an LVM logical volume, which is block-level snapshot while btrfs subvolumes are file extent-based. A subvolume looks like a normal directory, with some additional operations described below.

How do you reset a snapper?

Start the Snapper module from the Miscellaneous section in YaST or by entering yast2 snapper . Choose the Current Configuration from which to choose a snapshot. Select a timeline snapshot from which to restore a file and choose Show Changes.

Which is better RSYNC or Btrfs?

The really main difference is that RSYNC can create snapshots on an external disks. Not the same BTRFS. So, if your need is to prevent an unrecoverable crash of your hard disk, you must use RSYNC.

What kind of snapshots do you use in Snapper?

Btrfs, a new copy-on-write file system for Linux, supports file system snapshots (a copy of the state of a subvolume at a certain point of time) of subvolumes (one or more separately mountable file systems within each physical partition). Snapper lets you manage these snapshots. Snapper comes with a command line and a YaST interface.

How to delete multiple snapshots at once in Snapper?

# snapper -c config delete N Multiple snapshots can be deleted at one time. For example, to delete snapshots 65 and 70 of the root configuration do: # snapper -c root delete 65 70

How does snapper work with the Btrfs file system?

Snapper, in conjunction with the Btrfs file system or thin-provisioned LVM volumes now fills that gap. Btrfs, a new copy-on-write file system for Linux, supports file system snapshots (a copy of the state of a subvolume at a certain point of time) of subvolumes (one or more separately mountable file systems within each physical partition).

Where are the Snapper config files located in SuSE?

The way Snapper behaves is defined in a config file that is specific for each partition or Btrfs subvolume. These config files reside under /etc/snapper/configs/. The default config installed with Snapper for the / directory is named root. It creates and manages the YaST and Zypper snapshots as well as the hourly backup snapshot for / .