models.restore_files_preferences module

class models.restore_files_preferences.RestoreFilesPreferences(alternate_restore_base_directory=None, continue_on_error=None, encryption_enabled=None, generate_ssh_keys=None, override_originals=None, preserve_acls=None, preserve_attributes=None, preserve_timestamps=None, restore_to_original_paths=None, skip_estimation=None)[source]

Bases: object

Implementation of the ‘RestoreFilesPreferences’ model.

This message captures preferences from the user while restoring the files on the target.

Attributes:
alternate_restore_base_directory (string): This must be set to a

directory path if restore_to_original_paths is false. All the files and directories restored will be restored under this location.

continue_on_error (bool): Whether to continue with the copy in case of

encountering an error.

encryption_enabled (bool): Whether to enable encryption for NFS and

SMB restores.

generate_ssh_keys (bool): In case of GCP Linux restores, whether to

generate ssh keys to connect to the customer’s instance.

override_originals (bool): This is relevant only if

restore_to_original_paths is true. If this is true, then already existing files will be overridden, otherwise new files will be skipped.

preserve_acls (bool): Whether to preserve the ACLs of the original

file.

preserve_attributes (bool): Whether to preserve the original

attributes.

preserve_timestamps (bool): Whether to preserve the original time

stamps.

restore_to_original_paths (bool): If this is true, then files will be

restored to original paths.

skip_estimation (bool): Whether to skip the estimation step.

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.