models.restored_file_info module

class models.restored_file_info.RestoredFileInfo(absolute_path=None, attached_disk_id=None, disk_partition_id=None, fs_uuid=None, inode_number=None, is_directory=None, is_non_simple_ldm_vol=None, restore_base_directory=None, restore_mount_point=None, size_bytes=None, virtual_disk_file=None, volume_id=None, volume_path=None)[source]

Bases: object

Implementation of the ‘RestoredFileInfo’ model.

TODO: type model description here.

Attributes:
absolute_path (string): Full path of the file being restored: the

actual file path without the disk. E.g.: Program FilesApp

ile.txt
attached_disk_id (int): Disk information of where the source file is

currently located.

disk_partition_id (int): Disk partition to which the file belongs to. fs_uuid (string): File system UUID on which file resides. inode_number (long|int): Inode number of the file.

This is needed for snapmirror restore workflow.

is_directory (bool): Whether the path points to a directory. is_non_simple_ldm_vol (bool): This will be set to true for recovery

workflows for non-simple volumes on Windows Dynamic Disks. In that case, we will use VolumeInfo instead of some of the details captured here (e.g. virtual_disk_file) for determining disk and volume related details.

restore_base_directory (string): This must be set to a directory path

if restore_to_original_paths is false and restore task has multiple files which are not desired to be restore to one common location. If this filed is populated, ‘absolute_path’ will be restored under this location. If this field is not populated all files in restore task will be restored to location specified in RestoreFilesPreferences.

restore_mount_point (string): Mount point of the volume on which the

file to be restored is located. E.g.: c: emp

hd_mount_1234
size_bytes (long|int): Size of the file in bytes. Required in FLR in

GCP using Cloud Functions.

virtual_disk_file (string): Virtual disk file to which this file

belongs to.

volume_id (string): Id of the volume. volume_path (string): Original volume name (or drive letter). This is

used while performing the copy to the original paths. E.g.: c:

classmethod from_dictionary(dictionary)[source]

Creates an instance of this model from a dictionary

Args:

dictionary (dictionary): A dictionary representation of the object as obtained from the deserialization of the server’s response. The keys MUST match property names in the API description.

Returns:

object: An instance of this structure class.