xdmp.databaseRestore( $forestIDs as String, $pathname as String, [$restoreToTime as Date?], [$journal-archiving as Boolean?], [$journal-archive-path as String?], [$incremental-backup as Boolean?], [$incremental-backup-path as String?] ) as String
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.
|$forestIDs||A sequence of forest IDs.|
|$pathname||A backup data directory pathname.|
|$restoreToTime||The date and time to restore the forest data to.|
|$journal-archiving||Whether to restore from archived journals. Defaults to false.|
|$journal-archive-path||Path to where archived journals are stored. Defaults to the backup data directory.|
|$incremental-backup||Whether to restore using incremental backups. Defaults to false.|
|$incremental-backup-path||Path to where incremental backups are stored. Defaults to the backup data directory.|
Reindexing will stop while a backup or restore is in progress.
xdmp.databaseRestore([11183608861595735720,898513504988507762], "/backups/Data") => 33030877979801813489