Scheduling an online restore
About this task
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
.
Steps
-
Schedule an online restore.
Example:
$ bin/restore --task --start 20111025010000 \ --backupDirectory /path/to/backup/userRoot \ --completionNotify admin@example.com --errorNotify admin@example.com
You can schedule a restore to run as a task by specifying the timestamp with the
--task
and--start
options. The option is expressed inYYYYMMDDhhmmss
format. If the option has a value of0
, 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.To specify a time in the UTC time zone, add a trailing
Z
to 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.