summaryrefslogtreecommitdiff
path: root/obnam.1.in
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2013-08-18 14:04:27 +0100
committerLars Wirzenius <liw@liw.fi>2013-08-18 14:04:27 +0100
commitcb7173f2ab04edea858977c9a23365efde962b1a (patch)
treea704a43f79d43edf4b38ea8e5e0e6499984a6e6a /obnam.1.in
parentddf67bb69784c3084cb0e38ad988f402ce012cfe (diff)
downloadobnam-cb7173f2ab04edea858977c9a23365efde962b1a.tar.gz
Add "obnam mount" to manpage
Diffstat (limited to 'obnam.1.in')
-rw-r--r--obnam.1.in31
1 files changed, 31 insertions, 0 deletions
diff --git a/obnam.1.in b/obnam.1.in
index ce7e9aab..d276b94c 100644
--- a/obnam.1.in
+++ b/obnam.1.in
@@ -148,6 +148,27 @@ minus sign (-) for files that have been removed or an asterisk (*) for files
that have changed. If only one generation ID is specified on the command line
that generation will be compared with its direct predecessor. If two IDs have
been specified, all changes between those two generations will be listed.
+.IP \(bu
+.B mount
+makes the backup repository available via a read-only FUSE filesystem.
+This means you can look at backed up data using normal tools,
+such as your GUI file manager,
+or command line tools such as
+.BR ls (1),
+.BR diff (1),
+and
+.BR cp (1).
+You can't make new backups with the mount subcommand,
+but you can restore data easily.
+.IP
+You need to have the FUSE utilities and have permission to use FUSE
+for this to work.
+The details will vary between operating systems;
+in Debian, install the package
+.I fuse
+and add yourself to the
+.I fuse
+group (you may need to log out and back in again).
.SS "Making backups"
When you run a backup,
.B obnam
@@ -539,6 +560,16 @@ To restore just one file or directory:
.nf
obnam restore \-\-repository sftp://your.server/~/backups \\
\-\-to /var/tmp/my.home.dir $HOME/myfile.txt
+.fi
+.PP
+Alternatively, mount the backup repository using the FUSE filesystem:
+.IP
+.nf
+mkdir my-repo
+obnam restore \-\-repository sftp://your.server/~/backups \\
+\-\-to my-repo \-\-viewmode multiple
+cp my-repo/latest/$HOME/myfile.txt
+fusermount -u my-repo
.PP
To check that the backup worked:
.IP