DatabaseBackupSetting Class
Database backup settings.
Constructor
DatabaseBackupSetting(*args: Any, **kwargs: Any)
Variables
| Name | Description |
|---|---|
|
database_type
|
str or
DatabaseType
Database type (e.g. SqlAzure / MySql). Required. Known values are: "SqlAzure", "MySql", "LocalMySql", and "PostgreSql". |
|
name
|
|
|
connection_string_name
|
Contains a connection string name that is linked to the SiteConfig.ConnectionStrings. This is used during restore with overwrite connection strings options. |
|
connection_string
|
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. |
Attributes
connection_string
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.
connection_string: str | None
connection_string_name
Contains a connection string name that is linked to the SiteConfig.ConnectionStrings. This is used during restore with overwrite connection strings options.
connection_string_name: str | None
database_type
"SqlAzure", "MySql", "LocalMySql", and "PostgreSql".
database_type: str | _models.DatabaseType
name
name: str | None