Docs / Getting started
Your first run
This page takes you from nothing to a first snapshot and a first restore in about five minutes. It assumes Rowankeep is installed.
Create a repository
$ rowankeep init --repo /srv/backup
Enter a password for the new repository:
Repeat the password:
Created repository 9c1e4b2a at /srv/backup
Remember the password. Without it the repository cannot be read, by you or anyone else.
Make a snapshot
$ export ROWANKEEP_REPOSITORY=/srv/backup
$ rowankeep backup /etc /home
scanned 18,402 files, 2.31 GiB in 0:41
added 1.12 GiB to the repository (2.31 GiB before compression and deduplication)
snapshot 4f1c9a2e saved
Run the same command again. This time it takes a few seconds, because nothing has changed.
Restore a file
$ rowankeep restore latest --target /tmp/restore --include /etc/hosts
restored 1 file, 230 B
Next steps
- Put the repository and password into the configuration file so you do not have to repeat them.
- Set up a retention policy and run
rowankeep backupfrom a timer, as shown in Deployment.