pub struct SqlServerHomogeneousMigrationJobConfig {
pub backup_file_pattern: Option<String>,
pub dag_config: Option<SqlServerDagConfig>,
pub database_backups: Option<Vec<SqlServerDatabaseBackup>>,
pub promote_when_ready: Option<bool>,
pub use_diff_backup: Option<bool>,
}Expand description
Configuration for homogeneous migration to Cloud SQL for SQL Server.
This type is not used in any activity, and only used as part of another schema.
Fields§
§backup_file_pattern: Option<String>Required. Pattern that describes the default backup naming strategy. The specified pattern should ensure lexicographical order of backups. The pattern must define one of the following capture group sets: Capture group set #1 yy/yyyy - year, 2 or 4 digits mm - month number, 1-12 dd - day of month, 1-31 hh - hour of day, 00-23 mi - minutes, 00-59 ss - seconds, 00-59 Example: For backup file TestDB_20230802_155400.trn, use pattern: (?.)backup(?\d{4})(?\d{2})(?\d{2})_(?\d{2})(?\d{2})(?\d{2}).trn Capture group set #2 timestamp - unix timestamp Example: For backup file TestDB.1691448254.trn, use pattern: (?.).(?\d*).trn or (?.).(?\d).trn
dag_config: Option<SqlServerDagConfig>Optional. Configuration for distributed availability group (DAG) for the SQL Server homogeneous migration.
database_backups: Option<Vec<SqlServerDatabaseBackup>>Required. Backup details per database in Cloud Storage.
promote_when_ready: Option<bool>Optional. Promote databases when ready.
use_diff_backup: Option<bool>Optional. Enable differential backups.
Trait Implementations§
Source§impl Clone for SqlServerHomogeneousMigrationJobConfig
impl Clone for SqlServerHomogeneousMigrationJobConfig
Source§fn clone(&self) -> SqlServerHomogeneousMigrationJobConfig
fn clone(&self) -> SqlServerHomogeneousMigrationJobConfig
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more