overlayfs- and rsync-based simple snapshots
layersnap [s|snapshot|m|merge|r|restore] <target-directory>
- show status of target-directory and mounts it if neccessary
- create snapshot of target-directory
- shows a list of snapshot-layers
- asks interactively for snapshot to restore
- restores given snapshot and deletes all layersnap-stuff related to target-directory
- merges range of layers to restore performance
- asks interactively for starting-layer and target-layer
- merges layers and remounts
- not supported in legacy-mode
layersnap has two operational modes.
compatible with
- Linux kernel 3.18 and newer
- Ubuntu 12.04 and newer (at least)
- max two layers
Older overlayfs implemantations accepted only one lower-dir. But two overlayfs' can be stacked either and so does layersnap. Thus, snapshots are limited to two.
compatible with
- Linux kernel 4.0 and newer
- Ubuntu 14.04 and newer (at least)
Newer overlayfs-implementations accept multiple lower-dirs and so layersnap theoretically provides an unlimited amount of snapshots.