int ctMemphisFSLoad( pRCESJson request, ppRCESJson result )
Description:
Recursively scan all the files under the given "rootTreePath" filtered by a given "maskFilter" using the given "configFileName" and populate both VOLUME and FILE tables.
HTTP URL: <baseURL>/ctMemphisFSLoad/
HTTP Verb: POST
Parameters:
{
"volume": 1, // required
"root": "FairCom", // optional, if not passed, scan assumes
root the whole volume, see
"recursive": true, // optional, default is true, see Obs1
"physicalCheck": false, // optional, default is false, after regular
FileSystem scan, double check if the list of
files physically exist, if they don't, remove
them from FileTable (in case it is not in use
to any replication)
"mask": "*.dat", // optional, default is *
"ctreeOnly": true // optional, default is false, if true, it will
scan only c‑tree data files
}
or
{
"volume": 1,
"root": "FairCom\ctsrvr", // see
"recursive": true,
"physicalCheck": false,
"mask": "*"
}
{
"success": true,
"error":
{
"errorCode": 0,
"message": "Success"
},
"actionID":44135
}
Return:
Error code.