salvageDeletedFile

Restores a deleted file.

Request

<salvage>
   <salvageDeletedFile>
      <volumeName/>
      <id/>
      <dstParentID/>
      <dstParentPath/>
      <dstParentFullPath/>
      <symlink/>
      <fileName/>
      <nameSpace/>
      <typeOfInfo>
         <rightsInfo/>
      </typeOfInfo>
   </salvageDeletedFile>
</salvage>

Reply

<salvage>
   <salvageDeletedFile>
      <typeOfInfo>
         <rightsInfo>
            <trusteeList>
               <trusteeInfo>
                  <trustee>
                  <rights>
                     <supervisor/>
                     <read/>
                     <write/>
                     <create/>
                     <erase/>
                     <modify/>
                     <fileScan/>
                     <accessControl/>
                     <salvage/>
                     <secure/>
                  </rights>
                  </trustee>
               </trusteeInfo>
            </trusteeList>
            <inheritedRightsFilter>
               <supervisor/> 
               <read/>
               <write/>
               <create/>
               <erase/>
               <modify/>
               <fileScan/>
               <accessControl/>
               <salvage/>
               <secure/>
            </inheritedRightsFilter>
            <effectiveRights>
               <supervisor/>
               <read/>
               <write/>
               <create/>
               <erase/>
               <modify/>
               <fileScan/>
               <accessControl/>
               <salvage/>
               <secure/>
            </effectiveRights>
         </rightsInfo>
      </typeOfInfo>
      <result value=" ">
         <description/>
      </result>
   </salvageDeletedFile>
</salvage>

Elements

volumeName

Specifies the name of the volume.

id

Specifies the zID of the deleted file (in string format of a 64-bit unsigned integer).

dstParentID

Specifies the zID of the file's parent (in string format of a 64-bit unsigned integer).

dstParentPath

Specifies the path of the file's parent. An empty string indicates the volume root directory.

dstParentFullPath

Specifies the parent path of the salvaged file. This path can be a rooted Linux path or a NetWare path that includes the volume name.

fileName

Specifies the file name of the file to salvage.

nameSpace

Specifies the name space of the file name.

typeOfInfo

Specifies the categories of information to return.

rightsInfo

Specifies to return information on trustee rights.

trusteeInfo

Repeats for each assigned trustee.

trustee

Specifies the right-rooted, dot-delimited trustee name.

rights

Specifies the assigned rights.

inheritedRightsFilter

Specifies the rights in the current filter.

result

Specifies an error value or 0 (for no error).

description

Specifies a text description of the result.

(Optional) symLink

Specifies not to follow the link.