To perform an online restore, use the Tasks subsystem and enter connection and authentication information and an optional start time.
The server must be online.
The Tasks subsystem allows you to schedule certain operations, such as import-ldif, backup, restore, start-server, and stop-server.
Schedule an online restore.
$ bin/restore --task --start 20111025010000 \ --backupDirectory /path/to/backup/userRoot \ --completionNotify email@example.com --errorNotify firstname.lastname@example.org
You can schedule a restore to run as a task by specifying the timestamp with the --task and --start options. The option is expressed in
YYYYMMDDhhmmssformat. If the option has a value of
0, then the task is scheduled for immediate execution. You can't run recurring tasks, so you must run daily operations using cron or another system that can submit the task.Note:
To specify a time in the UTC time zone, add a trailing
Zto the time. If you do not specify a time, the configured time zone on the server will be set to a local time.
The backend is unavailable while the restore is in progress.