summaryrefslogtreecommitdiffstats
path: root/install/tools/man
diff options
context:
space:
mode:
authorJan Cholasta <jcholast@redhat.com>2015-01-12 12:44:21 +0000
committerMartin Kosek <mkosek@redhat.com>2015-01-14 09:10:06 +0100
commit10fe918acd8f7428588f2dff52f64070a9328c29 (patch)
tree0575b72f00e7bc23093d385aef1686c2132d8b85 /install/tools/man
parentb9ae7690489368ead9f4983d386fa210dc265dfa (diff)
downloadfreeipa-10fe918acd8f7428588f2dff52f64070a9328c29.tar.gz
freeipa-10fe918acd8f7428588f2dff52f64070a9328c29.tar.xz
freeipa-10fe918acd8f7428588f2dff52f64070a9328c29.zip
Fix validation of ipa-restore options
Fix restore mode checks. Do some of the existing checks earlier to make them effective. Check if --instance and --backend exist both in the filesystem and in the backup. Log backup type and restore mode before performing restore. Update ipa-restore man page. https://fedorahosted.org/freeipa/ticket/4797 Reviewed-By: Petr Vobornik <pvoborni@redhat.com> Reviewed-By: Martin Kosek <mkosek@redhat.com>
Diffstat (limited to 'install/tools/man')
-rw-r--r--install/tools/man/ipa-restore.18
1 files changed, 4 insertions, 4 deletions
diff --git a/install/tools/man/ipa-restore.1 b/install/tools/man/ipa-restore.1
index d75849061..5f401818a 100644
--- a/install/tools/man/ipa-restore.1
+++ b/install/tools/man/ipa-restore.1
@@ -65,16 +65,16 @@ Restore the data only. The default is to restore everything in the backup.
The full path to a GPG keyring. The keyring consists of two files, a public and a private key (.sec and .pub respectively). Specify the path without an extension.
.TP
\fB\-\-no\-logs\fR
-Exclude the IPA service log files in the backup (if they were backed up). Applicable only with a full backup.
+Exclude the IPA service log files in the backup (if they were backed up).
.TP
\fB\-\-online\fR
-Perform the restore on\-line. Requires the \-\-data option.
+Perform the restore on\-line. Requires data\-only backup or the \-\-data option.
.TP
\fB\-\-instance\fR=\fIINSTANCE\fR
-Restore only the databases in this 389\-ds instance. The default is to restore all found (at most this is the IPA REALM instance and the PKI\-IPA instance).
+Restore only the databases in this 389\-ds instance. The default is to restore all found (at most this is the IPA REALM instance and the PKI\-IPA instance). Requires data\-only backup or the \-\-data option.
.TP
\fB\-\-backend\fR=\fIBACKEND\fR
-The backend to restore within an instance or instances.
+The backend to restore within an instance or instances. Requires data\-only backup or the \-\-data option.
.TP
\fB\-\-v\fR, \fB\-\-verbose\fR
Print debugging information