mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Mark Craig
28.51.2012 323b737efd9754893ea3172ffbbec13c228a26c6
opendj3/src/main/docbkx/shared/man-backup.xml
@@ -328,17 +328,31 @@
 </refsect1>
 <refsect1>
  <title>Examples</title>
  <para>The following example backs up all user data on the server.</para>
  <para>The following example backs up all user data while the server is
  online.</para>
  <screen>$ backup -p 4444 -D "cn=Directory Manager" -w password
 -a -d /path/to/OpenDJ/bak -t 0
Backup task 20110613143801866 scheduled to start Jun 13, 2011 2:38:01 PM CEST</screen>
  <para>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.</para>
  2 AM when the server is online, and notifies diradmin@example.com when
  finished, or on error.</para>
  <screen>$ backup -p 4444 -D "cn=Directory Manager" -w password -a
 -d /path/to/OpenDJ/bak --recurringTask "00 02 * * *"
 --completionNotify diradmin@example.com --errorNotify diradmin@example.com
Recurring Backup task BackupTask-988d6adf-4d65-44bf-8546-6ea74a2480b0
scheduled successfully</screen>
  <para>The following example backs up all user data while the server is
  offline.</para>
  <screen>$ /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
</screen>
 </refsect1>
</refentry>