summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
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
---------------