# Return backup storage locations This function lists all of an item's backup locations. An item can be a file, a directory, or a symlink. When you disable the File Storage role, the system this function. Endpoint: GET /Restore/query_file_info Version: 11.134.0.5 Security: BasicAuth ## Query parameters: - `path` (string, required) A file, directory, or symlink in the user's directory tree. The value of this parameter begin with a forward slash (). Example: "/public_html/index.php" - `exists` (integer) Whether to show the return, which indicates whether the item exists in the local disk or only in the backup. * — Show the return's value. * — Do show the return's value. Enum: 1, 0 ## Response 200 fields (application/json): - `apiversion` (integer) The version of the API. Example: 3 - `func` (string) The name of the method called. Example: "query_file_info" - `module` (string) The name of the module called. Example: "Restore" - `result` (object) - `result.data` (array) An array of objects containing the item's details. - `result.data.backupDate` (string) The date when the system created the backup. Example: "2020-07-01T00:00:00.000Z" - `result.data.backupID` (string) The backup's identification. * A date, in format. * — An incremental daily backup. * The backup frequency ( or ) , a slash character (), and the value . * The backup frequency ( or ), a slash character (), and the backup date, in format. Example: "weekly/2017-07-01" - `result.data.backupType` (string) The backup type. * — A compressed tar file. * — A full tree of files and directories. * — An uncompressed tar file. Enum: "compressed", "incremental", "uncompressed" - `result.data.exists` (integer) Whether the item (a file, a directory, or a symlink) exists in the local disk or only in the backup. * — The item exists in the local disk. * — The item exists only in the backup. This return appears if you set the parameter to . Enum: 1, 0 - `result.data.fileSize` (integer) The size, in bytes, of the file in the backup. The function returns this value if the item is a file. Example: 199 - `result.data.mtime` (integer) The file's last modification time. Example: 1520043240 - `result.data.path` (string) The identical file path value that the system passed in the function. Example: "/public_html/index.php" - `result.data.type` (string) The item type stored in the backup. * — A directory. * — A file. * — A symlink. * — An unknown file type. Enum: "dir", "file", "symlink", "unknown" - `result.errors` (array,null) List of errors if the API failed. - `result.messages` (array,null) List of messages generated by the API. - `result.metadata` (object) - `result.metadata.transformed` (integer) Post-processing may have transformed the data. Enum: 1 - `result.status` (integer) * — Success. * — Failed. Check the field for more details. Enum: 1, 0 - `result.warnings` (array,null) List of warnings generated by the API. Warnings describe non-critical failures or other problematic conditions noted while running a API.