From 1443af4c15194809c99d0a30d9e4c3a835130e57 Mon Sep 17 00:00:00 2001
From: Mark Craig <mark.craig@forgerock.com>
Date: Fri, 28 Sep 2012 11:51:28 +0000
Subject: [PATCH] Additional fix for OPENDJ-601: Syntax for offline backup is incorrect
---
opendj-sdk/opends/resource/man/man1/backup.1 | 27 +++++++++++++++++++++++----
1 files changed, 23 insertions(+), 4 deletions(-)
diff --git a/opendj-sdk/opends/resource/man/man1/backup.1 b/opendj-sdk/opends/resource/man/man1/backup.1
index 4cc748c..1c4bf9e 100644
--- a/opendj-sdk/opends/resource/man/man1/backup.1
+++ b/opendj-sdk/opends/resource/man/man1/backup.1
@@ -2,12 +2,12 @@
.\" Title: backup
.\" Author:
.\" Generator: DocBook XSL-NS Stylesheets v1.76.1 <http://docbook.sf.net/>
-.\" Date: 07/17/2012
+.\" Date: 09/28/2012
.\" Manual: Tools Reference
.\" Source: OpenDJ 2.5.0
.\" Language: English
.\"
-.TH "BACKUP" "1" "07/17/2012" "OpenDJ 2\&.5\&.0" "Tools Reference"
+.TH "BACKUP" "1" "09/28/2012" "OpenDJ 2\&.5\&.0" "Tools Reference"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
@@ -242,7 +242,7 @@
.RE
.SH "EXAMPLES"
.PP
-The following example backs up all user data on the server\&.
+The following example backs up all user data while the server is online\&.
.sp
.if n \{\
.RS 4
@@ -256,7 +256,7 @@
.RE
.\}
.PP
-The following example schedules back up of all user data every night at 2 AM, and notifies diradmin@example\&.com when finished, or on error\&.
+The following example schedules back up of all user data every night at 2 AM when the server is online, and notifies diradmin@example\&.com when finished, or on error\&.
.sp
.if n \{\
.RS 4
@@ -271,6 +271,25 @@
.if n \{\
.RE
.\}
+.PP
+The following example backs up all user data while the server is offline\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+$ /path/to/OpenDJ/bin/stop\-ds
+Stopping Server\&.\&.\&.
+\&.\&.\&.
+$ /path/to/OpenDJ/bin/backup \-\-backupAll \-\-backupDirectory /path/to/OpenDJ/bak
+\&.\&.\&.
+[28/Sep/2012:12:14:22 +0200] \&.\&.\&. msg=The backup process completed successfully
+$ /path/to/OpenDJ/bin/start\-ds
+[28/Sep/2012:12:15:48 +0200] \&.\&.\&. The Directory Server has started successfully
+.fi
+.if n \{\
+.RE
+.\}
.SH "COPYRIGHT"
.br
Copyright \(co 2011-2012 ForgeRock AS
--
Gitblit v1.10.0