Loading TOC...

xdmp.forestRestore

xdmp.forestRestore(
   $forestID as String,
   $pathname as String
) as null

Summary

Restores forest data files. Restarts the forest to complete the restoration.

Parameters
$forestID A forest ID.
$pathname A forest backup pathname.

Required Privileges

This operation requires at least one of the following privileges:

http://marklogic.com/xdmp/privileges/xdmp-forest-restore

http://marklogic.com/xdmp/privileges/xdmp-forest-restore/forest/{id}

http://marklogic.com/xdmp/privileges/xdmp-forest-restore/database/{id}

Usage Notes

Reindexing will stop while a backup or restore is in progress.

Example

xdmp.forestRestore(xdmp.forest("My-Forest"),"/backups/Data/Forests/Documents");

Comments

    Powered by MarkLogic Server 7.0-4.1 and rundmc | Terms of Use | Privacy Policy