xdmp:database-backup-cancel( $jobid as xs:unsignedLong ) as xs:boolean
Cancels an outstanding backup job with the specified job ID, returning
true if the cancel operation is successful, false if the cancel operation
is not successful. The xdmp:database-backup-cancel
function
must be run on the host in which the backup was initiated.
Parameters | |
---|---|
jobid |
A backup job ID. You can find the job IDs for running backups by calling
xdmp:host-status
and looking in the <host-status:backup-jobs> element
(where the host-status prefix is bound to the
http://marklogic.com/xdmp/status/host namespace).
|
http://marklogic.com/xdmp/privileges/xdmp-database-backup-cancel
http://marklogic.com/xdmp/privileges/xdmp-database-backup-cancel/database/{id}
xdmp:database-backup-cancel(3303087797980181348) => true