xdmp:forest-restore( $forestID as xs:unsignedLong, $pathname as xs:string ) as empty-sequence()
Restores forest data files. Restarts the forest to complete the restoration.
Parameters | |
---|---|
forestID | A forest ID. |
pathname | A forest backup pathname. |
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}
Reindexing will stop while a backup or restore is in progress.
xdmp:forest-restore(xdmp:forest("My-Forest"),"/backups/Data/Forests/Documents")