summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorSteve Kemp <steve@steve.org.uk>2015-06-03 14:54:28 +0100
committerSteve Kemp <steve@steve.org.uk>2015-06-03 14:54:28 +0100
commit963ad5f8b1773881ab1f5a51702a99e931626786 (patch)
tree129281e5ca52d77e185f7d6f9e270f1afc031fbb /README.md
parentb52a3f563b000f22ea5c903ceae0c3664be33c14 (diff)
Updated documentation on restoration.
Diffstat (limited to 'README.md')
-rw-r--r--README.md15
1 files changed, 10 insertions, 5 deletions
diff --git a/README.md b/README.md
index 4a83164..c138c21 100644
--- a/README.md
+++ b/README.md
@@ -115,13 +115,18 @@ user attribute list. To view this list on the server, run
This command is part of the "attr" package in Debian.
-To restore a file to the current directory, you need to run:
+To restore a file you may use the `byteback-restore` command, which allows you to find all files matching a pattern via a command-like:
- rsync -Prat --rsync-path='rsync --fake-super' byteback@mybackuphost.net:path/to/file .
+ byteback-restore --file /etc/passwd
+
+To actually restore the file, to the current directory, run:
+
+ byteback-restore --file /etc/passwd --revision=current
+
+Recursive restorations are supported too:
+
+ byteback-restore --file /srv --revision=current
-The --fake-super flag only applies to the "local" end, hence the need to specfy
-the rsync-path. You'll need to set up correct SSH permissions at the remote
-end for this to work.
The trust model
---------------