View Source GoogleApi.DataMigration.V1.Model.SqlServerHomogeneousMigrationJobConfig (google_api_data_migration v0.21.0)
Configuration for homogeneous migration to Cloud SQL for SQL Server.
Attributes
-
backupFilePattern
(type:String.t
, default:nil
) - 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 TestDB20230802_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 -
databaseBackups
(type:list(GoogleApi.DataMigration.V1.Model.SqlServerDatabaseBackup.t)
, default:nil
) - Required. Backup details per database in Cloud Storage. -
promoteWhenReady
(type:boolean()
, default:nil
) - Optional. Promote databases when ready. -
useDiffBackup
(type:boolean()
, default:nil
) - Optional. Enable differential backups.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@type t() :: %GoogleApi.DataMigration.V1.Model.SqlServerHomogeneousMigrationJobConfig{ backupFilePattern: String.t() | nil, databaseBackups: [GoogleApi.DataMigration.V1.Model.SqlServerDatabaseBackup.t()] | nil, promoteWhenReady: boolean() | nil, useDiffBackup: boolean() | nil }