|
- # backup configuration
- $ExeName = "restic.exe"
- $InstallPath = "C:\restic"
- $ResticExe = Join-Path $InstallPath $ExeName
- $StateFile = Join-Path $InstallPath "state.xml"
- $WindowsExcludeFile = Join-Path $InstallPath "windows.exclude"
- $LocalExcludeFile = Join-Path $InstallPath "local.exclude"
- $LocalIncludeFile = Join-Path $InstallPath "local.include"
- $LogPath = Join-Path $InstallPath "logs"
- $LogRetentionDays = 30
- $InternetTestAttempts = 10
- $GlobalRetryAttempts = 1
- $FailOnIncomplete = $false
-
- # maintenance configuration
- $SnapshotMaintenanceEnabled = $false
- $SnapshotRetentionPolicy = @("--keep-daily", "30", "--keep-weekly", "52", "--keep-monthly", "24", "--keep-yearly", "10")
- $SnapshotMaintenanceInterval = 7
- $SnapshotMaintenanceDays = 30
- $SnapshotDeepMaintenanceDays = 90;
-
- # Network configuration
- $BackupoverMetered = $false
-
- # email configuration
- $SendEmailOnSuccess = $false
- $SendEmailOnError = $false
-
- # Paths to backup
- $BackupSources = @{}
- $BackupSources["C:\"] = @(
- # 'Users'
- )
- #$BackupSources["D:\"] = @(
- # 'Software'
- #)
|