summaryrefslogtreecommitdiff
path: root/obnam.1.in
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2011-12-18 15:18:59 +0000
committerLars Wirzenius <liw@liw.fi>2011-12-18 15:18:59 +0000
commita6a86695e7b73f57d1892a36b44442c37e83d44e (patch)
tree50a1b92ebbd00cf3bd11b30b27748a999f43b3e3 /obnam.1.in
parent9e082fda9ceef5652344273a78d47091adf7faa6 (diff)
downloadobnam-a6a86695e7b73f57d1892a36b44442c37e83d44e.tar.gz
add example for restoring just one file
Diffstat (limited to 'obnam.1.in')
-rw-r--r--obnam.1.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/obnam.1.in b/obnam.1.in
index 2d0a25ab..e7368dc2 100644
--- a/obnam.1.in
+++ b/obnam.1.in
@@ -414,6 +414,12 @@ To restore your latest backup from the server:
obnam restore \-\-repository sftp://your.server/~/backups \\
\-\-to /var/tmp/my.home.dir
.PP
+To restore just one file or directory:
+.IP
+.nf
+obnam restore \-\-repository sftp://your.server/~/backups \\
+\-\-to /var/tmp/my.home.dir $HOME/myfile.txt
+.PP
To check that the backup worked:
.IP
.nf