Use the stop-backup to cancel a backup task.
A request XML packet cancelling a backup task includes the stop-backup operation node:
<packet>
<backup-manager>
<stop-backup>
...
</stop-backup>
</backup-manager>
</packet>
The stop-backup node is presented by type BackupStopInput (backup.xsd
), and its graphical representation is as follows:
The stop-backup node of the output XML packet is presented by type BackupStopOutput (backup.xsd
) and structured as follows:
common.xsd
).The following packet cancels a backup task with ID 5.
<packet>
<backup-manager>
<stop-backup>
<task-id>5</task-id>
</stop-backup>
</backup-manager>
</packet>
Response:
<packet version="1.6.7.0">
<backup-manager>
<stop-backup>
<result>
<status>ok</status>
</result>
</stop-backup>
</backup-manager>
</packet>