models.physical_env_job_parameters module¶
-
class
models.physical_env_job_parameters.
PhysicalEnvJobParameters
(file_path_filters=None, incremental_snapshot_upon_restart=None)[source]¶ Bases:
object
Implementation of the ‘PhysicalEnvJobParameters’ model.
Protection Job parameters applicable to ‘kPhysical’ Environment type. Specifies job parameters applicable for all ‘kPhysical’ Environment type Protection Sources in a Protection Job.
- Attributes:
- 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.
- incremental_snapshot_upon_restart (bool): If true, performs an
incremental backup after server restarts. Otherwise a full backup is done. NOTE: This is applicable only to Windows servers. If not set, default value is false.
-
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.