Examples
 
  The following example backs up all user data while the server is online.
 
 
$ backup -p 4444 -D "cn=Directory Manager" -w password \
 -a -d /path/to/opendj/bak -t 0
Backup task 20110613143801866 scheduled to start ...
 
 
  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.
 
 
$ 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
 
 
  The following example backs up all user data while the server is offline.
 
 
$ stop-ds
Stopping Server...
...
$ backup --backupAll --backupDirectory /path/to/opendj/bak
... msg=The backup process completed successfully
$ start-ds
... The Directory Server has started successfully