CopyBackupDetails

class oci.mysql.models.CopyBackupDetails(**kwargs)

Bases: object

Details required to copy a DB system backup from its source region to a destination region.

Methods:

__init__(**kwargs)

Initializes a new CopyBackupDetails object with values from keyword arguments.

Attributes:

backup_copy_retention_in_days

Gets the backup_copy_retention_in_days of this CopyBackupDetails.

compartment_id

[Required] Gets the compartment_id of this CopyBackupDetails.

description

Gets the description of this CopyBackupDetails.

display_name

Gets the display_name of this CopyBackupDetails.

encrypt_data

Gets the encrypt_data of this CopyBackupDetails.

source_backup_id

[Required] Gets the source_backup_id of this CopyBackupDetails.

source_region

[Required] Gets the source_region of this CopyBackupDetails.

__init__(**kwargs)

Initializes a new CopyBackupDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters
  • compartment_id (str) – The value to assign to the compartment_id property of this CopyBackupDetails.

  • description (str) – The value to assign to the description property of this CopyBackupDetails.

  • display_name (str) – The value to assign to the display_name property of this CopyBackupDetails.

  • backup_copy_retention_in_days (int) – The value to assign to the backup_copy_retention_in_days property of this CopyBackupDetails.

  • source_backup_id (str) – The value to assign to the source_backup_id property of this CopyBackupDetails.

  • source_region (str) – The value to assign to the source_region property of this CopyBackupDetails.

  • encrypt_data (oci.mysql.models.EncryptDataDetails) – The value to assign to the encrypt_data property of this CopyBackupDetails.

property backup_copy_retention_in_days

Gets the backup_copy_retention_in_days of this CopyBackupDetails. Number of days to retain the copied DB system backup.

Note: The maximum value for an automatic backup is 35, and the maximum value for a manual backup is 365.

Returns

The backup_copy_retention_in_days of this CopyBackupDetails.

Return type

int

property compartment_id

[Required] Gets the compartment_id of this CopyBackupDetails. The OCID of the compartment the DB system backup is to be copied to.

Note: The compartment must be the same as the compartment of the DB system backup in the source region.

Returns

The compartment_id of this CopyBackupDetails.

Return type

str

property description

Gets the description of this CopyBackupDetails. A user-supplied description for the DB system backup. By default, the source backup description will be used.

Returns

The description of this CopyBackupDetails.

Return type

str

property display_name

Gets the display_name of this CopyBackupDetails. A user-supplied display name for the DB system backup. By default, the source backup display name will be used.

Returns

The display_name of this CopyBackupDetails.

Return type

str

property encrypt_data

Gets the encrypt_data of this CopyBackupDetails.

Returns

The encrypt_data of this CopyBackupDetails.

Return type

oci.mysql.models.EncryptDataDetails

property source_backup_id

[Required] Gets the source_backup_id of this CopyBackupDetails. The OCID of DB system backup to be copied.

Returns

The source_backup_id of this CopyBackupDetails.

Return type

str

property source_region

[Required] Gets the source_region of this CopyBackupDetails. The region identifier of the source region where the DB system backup exists. For more information, please see Regions and Availability Domains.

Returns

The source_region of this CopyBackupDetails.

Return type

str