To perform an online restore, use the Tasks subsystem and enter connection and authentication information and an optional start time.

Note:

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 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 in YYYYMMDDhhmmss format. 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 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.