Docs / Concepts
Restoring data
There are two ways to get data back: restore writes files from a snapshot to a folder, and mount shows snapshots as a read-only folder you can browse.
Restoring files
$ rowankeep restore latest --target /tmp/restore --include /etc/nginx
latest is the newest snapshot. Any snapshot ID, or a prefix of one that is unique, works as well. Files are written with their original permissions, owners and modification times when Rowankeep runs with enough rights to set them.
Browsing snapshots
$ mkdir /mnt/snapshots
$ rowankeep mount latest /mnt/snapshots
Mounting needs FUSE on Linux and macFUSE on macOS. It is the easiest way to find the one file you deleted last week.
Checking a restore
Pass --verify and Rowankeep reads every restored file back and compares it with the snapshot. It takes about twice as long and is worth it for anything you are going to rely on.