DatabaseBackupSetting Class

Database backup settings.

All required parameters must be populated in order to send to Azure.

Inheritance
DatabaseBackupSetting

Constructor

DatabaseBackupSetting(*, database_type: typing.Union[str, _ForwardRef('DatabaseType')], name: typing.Union[str, NoneType] = None, connection_string_name: typing.Union[str, NoneType] = None, connection_string: typing.Union[str, NoneType] = None, **kwargs)

Parameters

database_type
str or DatabaseType
Required

Required. Database type (e.g. SqlAzure / MySql). Possible values include: "SqlAzure", "MySql", "LocalMySql", "PostgreSql".

name
str
Required
connection_string_name
str
Required

Contains a connection string name that is linked to the SiteConfig.ConnectionStrings. This is used during restore with overwrite connection strings options.

connection_string
str
Required

Contains a connection string to a database which is being backed up or restored. If the restore should happen to a new database, the database name inside is the new one.