models.nas_env_job_parameters module

class models.nas_env_job_parameters.NasEnvJobParameters(continue_on_error=None, data_migration_job_parameters=None, data_uptier_job_parameters=None, enable_faster_incremental_backups=None, encryption_enabled=None, file_lock_config=None, file_path_filters=None, nas_protocol=None, snapshot_label=None)[source]

Bases: object

Implementation of the ‘NasEnvJobParameters’ model.

Specifies job parameters applicable for all ‘kGenericNas’ Environment type Protection Sources in a Protection Job.

Attributes:
continue_on_error (bool): Specifies if the backup should continue on

with other Protection Sources even if the backup operation of some Protection Source fails. If true, the Cohesity Cluster ignores the errors and continues with remaining Protection Sources in the job. If false, the backup operation stops when an error occurs. This does not apply to non-snapshot based generic NAS backup jobs. If not set, default value is true.

data_migration_job_parameters (DataMigrationJobParameters): Specifies

parameters applicable for data migration jobs in NAS environment.

data_uptier_job_parameters (DataUptierJobParameters): Specifies

additional parameters that are applicable only to the data uptier jobs in NAS environment.

enable_faster_incremental_backups (bool): Specifies whether this job

will enable faster incremental backups using change list or similar APIs

encryption_enabled (bool): Specifies if the protection job should use

encryption while backing up

file_lock_config (FileLevelDataLockConfig): Optional config that

enables file locking for this job. It cannot be disabled during the edit of a job, if it has been enabled during the creation of the job. Also, it cannot be enabled if it was disabled during the creation of the job.

file_path_filters (FilePathFilter): Specifies filters to match files

and directories on a Server. Two kinds of filters are supported. a) prefix which always starts with ‘/’. b) posix which always starts with ‘*’ (cannot be “*” only). Regular expressions are not supported. If a directory is matched, the action is applicable to all of its descendants. File paths not matching any protectFilters are not backed up. An example is: Protect Filters: “/” Exclude Filters: “/tmp”, “*.mp4” Using such a policy will include everything under the root directory except the /tmp directory and all the mp4 files.

nas_protocol (NasProtocolNasEnvJobParametersEnum): Specifies the

preferred protocol to use for backup. This does not apply to generic NAS and will be ignored. Specifies the protocol used by a NAS server. ‘kNfs3’ indicates NFS v3 protocol. ‘kCifs1’ indicates CIFS v1.0 protocol.

snapshot_label (SnapshotLabel): Specifies the incremental and full

snapshot label for Data-Protect Netapp Volumes backup. If field is set , incremental and full snapshot label has to be provided. If field is not set, the snapshot label will be automatically set using timestamp.

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.