http://marklogic.com/xdmp/privileges/xdmp-database-backup
Reindexing will stop while a backup or restore is in progress.
The backup directory must exist on each host that has a forest specified in the database backup call (that is, the d-nodes in which the forests being backed up are hosted).
xdmp:database-backup((11183608861595735720,898513504988507762), "/backups/Data") => 33030877979801813489
xdmp:database-backup(xdmp:database-forests(xdmp:database("Documents")), "/backups/Data") => 437302857479804813287
http://marklogic.com/xdmp/privileges/xdmp-database-backup-cancel
xdmp:database-backup-cancel(33030877979801813489) => true
http://marklogic.com/xdmp/privileges/xdmp-database-backup-purge
job-status.xsd
http://marklogic.com/xdmp/privileges/xdmp-database-backup-status
The structure of the XML node returned is as follows:
forest
This is a complex element with the following element children:
forest-name
forest-id
status
xdmp:database-backup-status(33030877979801813489, 16529920850295602277) => <job:job-status xsi:schemaLocation="http://marklogic.com/xdmp/job-status job-status.xsd" xmlns:job="http://marklogic.com/xdmp/job-status" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <job:forest> <job:forest-name>Documents</job:forest-name> <job:forest-id>9157142760003704384</job:forest-id> <job:status>in-progress</job:status> </job:forest> </job:job-status>
http://marklogic.com/xdmp/privileges/xdmp-database-backup-validate
xdmp:database-backup-validate((11183608861595735720,898513504988507762), "/backups/Data") => <bp:backup-plan xsi:schemaLocation="http://marklogic.com/xdmp/backup-plan backup-plan.xsd" xmlns:bp="http://marklogic.com/xdmp/backup-plan" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";> <bp:forest> <bp:forest-name>Documents</bp:forest-name> <bp:forest-id>9157142760003704384</bp:forest-id> <bp:forest-status>okay</bp:forest-status> <bp:directory-path>/tmp</bp:directory-path> <bp:directory-status>okay</bp:directory-status> <bp:action>backup</bp:action> </bp:forest> <bp:forest> <bp:forest-name>Security</bp:forest-name> <bp:forest-id>5999952135320153149</bp:forest-id> <bp:forest-status>okay</bp:forest-status> <bp:directory-path>/tmp</bp:directory-path> <bp:directory-status>okay</bp:directory-status> <bp:action>backup</bp:action> </bp:forest> <bp:forest> <bp:forest-name>Schemas</bp:forest-name> <bp:forest-id>10012970808570479716</bp:forest-id> <bp:forest-status>okay</bp:forest-status> <bp:directory-path>/tmp</bp:directory-path> <bp:directory-status>okay</bp:directory-status> <bp:action>backup</bp:action> </bp:forest> <bp:forest> <bp:forest-name>Triggers</bp:forest-name> <bp:forest-id>17114437544213719134</bp:forest-id> <bp:forest-status>okay</bp:forest-status> <bp:directory-path>/tmp</bp:directory-path> <bp:directory-status>okay</bp:directory-status> <bp:action>backup</bp:action> </bp:forest> </bp:backup-plan>
http://marklogic.com/xdmp/privileges/xdmp-database-restore
xdmp:database-restore((11183608861595735720,898513504988507762), "/backups/Data") => 33030877979801813489
http://marklogic.com/xdmp/privileges/xdmp-database-restore-cancel
xdmp:database-restore-cancel(33030877979801813489) => true
http://marklogic.com/xdmp/privileges/xdmp-database-restore-status
xdmp:database-restore-status(33030877979801813489) => ..database restore status node
http://marklogic.com/xdmp/privileges/xdmp-database-restore-validate
xdmp:database-restore-validate((11183608861595735720,898513504988507762), "/backups/Data") => ..database restore set node
http://marklogic.com/xdmp/privileges/xdmp-filesystem-directory
xdmp:filesystem-directory("/etc") => ..directory listing node
http://marklogic.com/xdmp/privileges/xdmp-filesystem-file
xdmp:filesystem-file("/etc/motd") => contents of /etc/motd
http://marklogic.com/xdmp/privileges/xdmp-forest-backup
xdmp:forest-backup(11183608861595735720,"/backups/Data/Forests/Documents")
http://marklogic.com/xdmp/privileges/xdmp-forest-clear
xdmp:forest-clear(11183608861595735720)
http://marklogic.com/xdmp/privileges/xdmp-forest-restart
xdmp:forest-restart(11183608861595735720)
http://marklogic.com/xdmp/privileges/xdmp-forest-restore
xdmp:forest-restore(11183608861595735720,"/backups/Data/Forests/Documents")
xdmp:forest-status
http://marklogic.com/xdmp/privileges/request-my-requests or http://marklogic.com/xdmp/privileges/request-any-requests
http://marklogic.com/xdmp/privileges/request-my-requests
http://marklogic.com/xdmp/privileges/request-any-requests
xdmp:merge-cancel
xdmp:merge-cancel(98394839084390843,3838938902783) => ()
http://marklogic.com/xdmp/privileges/xdmp-restart
xdmp:restart((), "to reload server.xml")
http://marklogic.com/xdmp/privileges/xdmp-shutdown
xdmp:shutdown((), "for software upgrade")