Response Samples

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

<packet version="1.6.3.0">
   <backup-manager>
      <import-file>
         <customer-id>54</customer-id>
         <tmp-filename>/usr/local/psa/tmp/MyBackup.bak</tmp-filename>
      </import-file>
   </backup-manager>
</packet>

 

A positive response from the server can look as follows:

<packet version="1.6.3.0">
<backup-manager>
      <import-file>
      <result>
            <status>ok</status>
      </result>
      </import-file>
</backup-manager>
</packet>

 

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

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

 

Please send us your feedback on this help page.