Response Samples

The request packet moving the backup to the local repository of the client with ID 54 looks as follows:

<packet version="1.6.0.0">
   <backup-manager>
      <put-backup>
         <client-id>54</client-id>
         <tmp-filename>/usr/local/psa/tmp/MyBackup.bak</tmp-filename>
      </put-backup>
   </backup-manager>
</packet>

 

A positive response from the server can look as follows:

<packet version="1.6.0.0">
<backup-manager>
   <put-backup>
      <result>
            <status>ok</status>
      </result>
   </put-backup>
</backup-manager>
</packet>

 

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

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