Permalink
Browse files

doc/import-rsnapshot: small corrections and clarification

There's a typo in the --dry-run option explanation.

The form "[...] or only imports all [...]" is confusing. Turn it around
a little bit so that the quantifiers are associated more easily to the
right portions of the sentence.

Also, add an example for using the backuptarget argument.

Signed-off-by: Gabriel Filion <lelutin@gmail.com>
  • Loading branch information...
Gabriel Filion authored and apenwarr committed Feb 18, 2011
1 parent 068be89 commit c8a4adc2b2033dc9408b8e7ffdd13d4e72fca072
Showing with 6 additions and 4 deletions.
  1. +6 −4 Documentation/bup-import-rsnapshot.md
@@ -12,22 +12,24 @@ bup import-rsnapshot [-n] <path to snapshot_root> [<backuptarget>]
# SYNOPSIS
-`bup import-rsnapshot` imports a rsnapshot archive. The
+`bup import-rsnapshot` imports an rsnapshot archive. The
timestamps for the backups are preserved and the path to
the rsnapshot archive is stripped from the paths.
`bup import-rsnapshot` either imports the whole archive
-or only imports all backups for a given backuptarget.
+or imports all backups only for a given backuptarget.
# OPTIONS
--n,--dry-rung
+-n,--dry-run
: don't do anything just print out what would be done
-# EXAMPLE
+# EXAMPLES
$ bup import-rsnapshot /.snapshots
+ $ bup import-rsnapshot /.snapshots host1
+
# BUP
Part of the `bup`(1) suite.

0 comments on commit c8a4adc

Please sign in to comment.