summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2011-04-05 18:53:21 +0100
committerLars Wirzenius <liw@liw.fi>2011-04-05 18:53:21 +0100
commit9513a4c6e42b3d1d7d1e88edb6ca0ccf9f0693d2 (patch)
treef67be1e511bc466f257903c97fa6efd725b85c93
parente78c4a9b7ab86c27cb4fff0ecf87caed52284a33 (diff)
downloadobnam-9513a4c6e42b3d1d7d1e88edb6ca0ccf9f0693d2.tar.gz
Update manpage with --encrypt-with.
-rw-r--r--obnam.121
1 files changed, 21 insertions, 0 deletions
diff --git a/obnam.1 b/obnam.1
index 08ff4fa2..5cce71be 100644
--- a/obnam.1
+++ b/obnam.1
@@ -281,6 +281,21 @@ to keep hourly backups for three days,
daily backups for a week,
weekly backups for a month,
and monthly backups for a year.
+.\"
+.SS "Using encryption"
+.B obnam
+can encrypt all the data it writes to the backup repository.
+It uses
+.BR gpg (1)
+to do the encryption.
+You need to create a key pair using
+.B "gpg --gen-key"
+(or use an existing one),
+and then tell
+.B obnam
+about it using the
+.B \-\-encrypt\-with
+option.
.\"---------------------------------------------------------------------
.SH OPTIONS
.\"
@@ -419,6 +434,12 @@ command will keep.
Everything else will be removed.
See above for a description of
.IR POLICY .
+.TP
+.BR \-\-encrypt\-with =\fIKEYID
+Encrypt data stored in the backup repository using
+.B gpg
+and the key specified with
+.IR KEYID .
.\" ------------------------------------------------------------------
.SH "EXIT STATUS"
.B obnam