Retrieving Protocols Supported by Backup Manager

Use the get-supported-protocols to retrieve transport protocols supported by the backup-manager operator.

In this chapter:

Request Packet

Response Packet Structure

Samples

 

Request Packet

A request XML packet retrieving protocols supported by backup-manager includes the get-supported-protocols operation node:

<packet>
<backup-manager>
   <get-supported-protocols/>
</backup-manager>
</packet>

 

The get-supported-protocols node is required. Data type: none.

 

Response Packet Structure

The get-supported-protocols node of the output XML packet is presented by type BackupGetSupportedProtocolsOutput (backup.xsd) and structured as follows:

  • The result node is required. It wraps the response retrieved from the server. Data type: resultType (common.xsd).
  • The status node is required. It specifies the execution status of the operation. Data type: string. Allowed values: ok | error.
  • The errcode node is optional. Is returns the error code if the operation fails. Data type: integer.
  • The errtext node is optional. It returns the error message if the operation fails. Data type: string.
  • The protocol node is optional. If the operation succeeds, it contains a list of supported protocols. Data type: string.

 

 

Samples

Requesting supported protocols

The request packet looks as follows:

<packet>
<backup-manager>
   <get-supported-protocols/>
</backup-manager>
</packet>

 

Response:

<packet version="1.6.7.0">
  <backup-manager>
    <get-supported-protocols>
      <result>
        <status>ok</status>
        <protocol>ftp</protocol>
      </result>
    </get-supported-protocols>
  </backup-manager>
</packet>

 

 

Leave your comments on this page

Leave your feedback or question on this documentation topic below. For technical assistance, contact your hosting service provider or submit a request to Plesk support. Suggest new features for Plesk here. Discuss general questions on the Plesk forum. All offtopic comments will be removed.