models_v2.volume_based_mssql_protection_group_request_params module¶
-
class
models_v2.volume_based_mssql_protection_group_request_params.
VolumeBasedMSSQLProtectionGroupRequestParams
(objects=None, incremental_backup_after_restart=None, indexing_policy=None, backup_db_volumes_only=None, additional_host_params=None, user_db_backup_preference_type=None, backup_system_dbs=None, use_aag_preferences_from_server=None, aag_backup_preference_type=None, full_backups_copy_only=None, pre_post_script=None, exclude_filters=None)[source]¶ Bases:
object
Implementation of the ‘Volume based MSSQL Protection Group Request Params.’ model.
Specifies the params to create a Volume based MSSQL Protection Group.
- Attributes:
- objects (list of MSSQLFileProtectionGroupObjectParams): Specifies the
list of object ids to be protected.
- incremental_backup_after_restart (bool): Specifies whether or to
perform incremental backups the first time after a server restarts. By default, a full backup will be performed.
- indexing_policy (IndexingPolicy): Specifies settings for indexing
files found in an Object (such as a VM) so these files can be searched and recovered. This also specifies inclusion and exclusion rules that determine the directories to index.
- backup_db_volumes_only (bool): Specifies whether to only backup
volumes on which the specified databases reside. If not specified (default), all the volumes of the host will be protected.
- additional_host_params (list of
MSSQLVolumeProtectionGroupContainerParams): Specifies settings which are to be applied to specific host containers in this protection group.
- user_db_backup_preference_type (UserDbBackupPreferenceTypeEnum):
Specifies the preference type for backing up user databases on the host.
- backup_system_dbs (bool): Specifies whether to backup system
databases. If not specified then parameter is set to true.
- use_aag_preferences_from_server (bool): Specifies whether or not the
AAG backup preferences specified on the SQL Server host should be used.
- aag_backup_preference_type (AagBackupPreferenceType1Enum): Specifies
the preference type for backing up databases that are part of an AAG. If not specified, then default preferences of the AAG server are applied. This field wont be applicable if user DB preference is set to skip AAG databases.
- full_backups_copy_only (bool): Specifies whether full backups should
be copy-only.
- pre_post_script (PreAndPostScriptParams): Specifies the params for pre
and post scripts.
- exclude_filters (list of Filter): Specifies the list of exclusion
filters applied during the group creation or edit. These exclusion filters can be wildcard supported strings or regular expressions. Objects satisfying the will filters will be excluded during backup and also auto protected objects will be ignored if filtered by any of the filters.
-
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.