xdmp:database-restore( $forestIDs as xs:unsignedLong*, $pathname as xs:string, [$restoreToTime as xs:dateTime?], [$journal-archiving as xs:boolean?], [$journal-archive-path as xs:string?], [$incremental-backup as xs:boolean?], [$incremental-backup-path as xs:string?] ) as xs:unsignedLong
Starts an asynchronous restore of the specified list of forests from the backup data directory. Returns a job ID that uniquely identifies the restore task.
http://marklogic.com/xdmp/privileges/xdmp-database-restore
Reindexing will stop while a backup or restore is in progress.
xdmp:database-restore((11183608861595735720,898513504988507762), "/backups/Data") => 33030877979801813489
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.