Share via


SqlVmAutoBackupSettings Class

Definition

Configure backups for databases in your SQL virtual machine.

public class SqlVmAutoBackupSettings
type SqlVmAutoBackupSettings = class
Public Class SqlVmAutoBackupSettings
Inheritance
SqlVmAutoBackupSettings

Constructors

SqlVmAutoBackupSettings()

Initializes a new instance of SqlVmAutoBackupSettings.

Properties

AreSystemDbsIncludedInBackup

Include or exclude system databases from auto backup.

BackupScheduleType

Backup schedule type.

DaysOfWeek

Days of the week for the backups when FullBackupFrequency is set to Weekly.

FullBackupFrequency

Frequency of full backups. In both cases, full backups begin during the next scheduled time window.

FullBackupStartHour

Start time of a given day during which full backups can take place. 0-23 hours.

FullBackupWindowHours

Duration of the time window of a given day during which full backups can take place. 1-23 hours.

IsEnabled

Enable or disable autobackup on SQL virtual machine.

IsEncryptionEnabled

Enable or disable encryption for backup on SQL virtual machine.

LogBackupFrequency

Frequency of log backups. 5-60 minutes.

Password

Password for encryption on backup.

RetentionPeriodInDays

Retention period of backup: 1-90 days.

StorageAccessKey

Storage account key where backup will be taken to.

StorageAccountUri

Storage account url where backup will be taken to.

StorageContainerName

Storage container name where backup will be taken to.

Applies to