Skip to main content
Question

ErrorCode:9517 "ClientInfo is not Complete" . RestApi Restore appTypeId 13

  • May 6, 2026
  • 1 reply
  • 19 views

Forum|alt.badge.img
I'm able to restore data between Windows machines using the API.

--- XML WINDOWS ---
<?xml version="1.0" encoding="UTF-8"?>
<DM2ContentIndexing_RetrieveToClientReq mode="2" serviceType="1">
  <userInfo userGuid="8a06f467-b2d2-4fbc-905f-c8033d8f83de"/>
  <header>
    <destination
        clientId="6749"
        subclientId="9151"
        inPlace="0">
      <destPath val="V:\Arquivos"/>
    </destination>
        <filePaths val="F:\temp\teste.txt"/>
    <srcContent        
        subclientId="9150"
        clientId="6748"
        instanceId="1"
        backupSetId="7440"
        appTypeId="33"
        />
  </header>
  <advanced
      restoreDataAndACL="1"
      restoreDeletedFiles="0"
      unconditionalOverwrite="1"/>
</DM2ContentIndexing_RetrieveToClientReq>

 

But I am not having the same success with the NAS (appTypeId 13)
<header><srcContent subclientId="488"clientId="131"instanceId="1"backupSetId="141"appTypeId="13"/><filePaths val="/__VOLUME__/PFS02/Teste/teste.csv"/><destinationclientId="2181"subclientId="3340"inPlace="0"><destPath val="/svm_nasrs/Arquivo/teste"/></destination>

 

 

1 reply

Damian Andre
Vaulter
Forum|alt.badge.img+27

Your NAS payload looks a little light. Here is the official NAS restore API using createtask

Nas restore

 

XML equiv:

<?xml version="1.0" encoding="UTF-8"?>
<taskInfo>
<task>
<taskType>IMMEDIATE</taskType>
</task>

<associations>
<subclientId>56</subclientId>
<clientId>20</clientId>
<applicationId>13</applicationId>
<backupsetId>37</backupsetId>
<instanceId>1</instanceId>
<_type_>SUBCLIENT_ENTITY</_type_>
</associations>

<subTasks>
<subTask>
<subTaskType>RESTORE</subTaskType>
<operationType>RESTORE</operationType>
</subTask>

<options>
<restoreOptions>
<browseOption>
<commCellId>2</commCellId>

<backupset>
<backupsetId>37</backupsetId>
<clientId>20</clientId>
</backupset>

<timeRange>
<toTime>1689108301</toTime>
</timeRange>

<browseJobCommCellId>2</browseJobCommCellId>
</browseOption>

<destination>
<destClient>
<clientId>20</clientId>
<clientName>nacluster6</clientName>
</destClient>

<destAppId>13</destAppId>
<inPlace>true</inPlace>
</destination>

<fileOption>
<sourceItem>/nac6vs1/Mounika1/hosts</sourceItem>
</fileOption>

<impersonation />

<commonOptions>
<overwriteFiles>false</overwriteFiles>
<unconditionalOverwrite>true</unconditionalOverwrite>
<restoreACLs>true</restoreACLs>
<isFromBrowseBackup>true</isFromBrowseBackup>
</commonOptions>
</restoreOptions>
</options>
</subTasks>
</taskInfo>