Cancelling Backup Tasks

Use the stop-backup to cancel a backup task.

In this chapter:

Request Packet Structure

Response Packet Structure

Samples

 

Request Packet Structure

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:

 

Response Packet Structure

The stop-backup node of the output XML packet is presented by type BackupStopOutput (backup.xsd) and structured as follows:

 

Samples

Canceling a backup task

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>