Response Samples

The following request packet creates a backup task which instructs Plesk to perform a client-level backup (without splitting) of the client account with ID 18.

<packet version="1.6.0.0">
<backup-manager>
   <backup-client>
      <client-id>18</client-id>
      <local/>
      <description>Standard weekly backup</description>
      <split-size>0</split-size>
   </backup-client>
</backup-manager>
</packet>

 

A positive response from the server can look as follows:

<packet version="1.6.0.0">
<backup-manager>
   <backup-client>
      <result>
            <status>ok</status>
            <task-id>2</task-id>
      </result>
   </backup-client>
</backup-manager>
</packet>

If the client account was not found on the server, the response looks as follows:

<packet version="1.6.0.0">
  <backup-manager>
    <backup-client>
      <result>
        <status>error</status>
        <errcode>1013</errcode>
        <errtext>client does not exist.</errtext>
      </result>
    </backup-client>
  </backup-manager>
</packet>