SqlBackupSettings
Configuration for the SQL backup background service. Stored centrally in the database (on the global SiteSettings) so the service reads it from the API instead of a local config file.
Hereda de: KeySecret
Propiedades
public string Bucket { get; set; }
value = sqlBackupSettings.Bucket
sqlBackupSettings.Bucket = value
Destination the backups are uploaded to: the bucket (Amazon S3), vault (Glacier) or container (Azure) for those storages, or the remote folder path for Yandex.Disk / MEGA.
public bool Compression { get; set; }
value = sqlBackupSettings.Compression
sqlBackupSettings.Compression = value
Whether to request backup compression (reduces file size; requires a supporting SQL Server edition).
public string ConnectionString { get; set; }
value = sqlBackupSettings.ConnectionString
sqlBackupSettings.ConnectionString = value
Connection string to the SQL Server instance being backed up. The database is taken from the connection string's initial catalog.
public bool DifferentialEnabled { get; set; }
value = sqlBackupSettings.DifferentialEnabled
sqlBackupSettings.DifferentialEnabled = value
When , every run produces a full backup (differentials disabled).
public string Endpoint { get; set; }
value = sqlBackupSettings.Endpoint
sqlBackupSettings.Endpoint = value
Region/endpoint, used only by AmazonS3 and AmazonGlacier.
public TimeSpan FullInterval { get; set; }
value = sqlBackupSettings.FullInterval
sqlBackupSettings.FullInterval = value
Force a full backup once the previous full backup is at least this old; runs in between are differential backups (which are smaller and faster).
public TimeSpan Interval { get; set; }
value = sqlBackupSettings.Interval
sqlBackupSettings.Interval = value
How often a backup runs.
public int KeepLastFulls { get; set; }
value = sqlBackupSettings.KeepLastFulls
sqlBackupSettings.KeepLastFulls = value
How many full backups (together with their dependent differentials) to keep on the cloud storage; 0 or less keeps everything (no automatic deletion).
public BackupStorage Storage { get; set; }
value = sqlBackupSettings.Storage
sqlBackupSettings.Storage = value
Cloud storage the backups are uploaded to.