pub struct SqlServerHomogeneousMigrationJobConfig {
pub backup_file_pattern: Option<String>,
pub database_backups: Option<Vec<SqlServerDatabaseBackup>>,
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
database_backups: Option<Vec<SqlServerDatabaseBackup>>
Required. Backup details per database in Cloud Storage.
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 moreSource§impl Default for SqlServerHomogeneousMigrationJobConfig
impl Default for SqlServerHomogeneousMigrationJobConfig
Source§fn default() -> SqlServerHomogeneousMigrationJobConfig
fn default() -> SqlServerHomogeneousMigrationJobConfig
Source§impl<'de> Deserialize<'de> for SqlServerHomogeneousMigrationJobConfig
impl<'de> Deserialize<'de> for SqlServerHomogeneousMigrationJobConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl Part for SqlServerHomogeneousMigrationJobConfig
Auto Trait Implementations§
impl Freeze for SqlServerHomogeneousMigrationJobConfig
impl RefUnwindSafe for SqlServerHomogeneousMigrationJobConfig
impl Send for SqlServerHomogeneousMigrationJobConfig
impl Sync for SqlServerHomogeneousMigrationJobConfig
impl Unpin for SqlServerHomogeneousMigrationJobConfig
impl UnwindSafe for SqlServerHomogeneousMigrationJobConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more