Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

37 linhas
1.0KB

  1. # backup configuration
  2. $ExeName = "restic.exe"
  3. $InstallPath = "C:\restic"
  4. $ResticExe = Join-Path $InstallPath $ExeName
  5. $StateFile = Join-Path $InstallPath "state.xml"
  6. $WindowsExcludeFile = Join-Path $InstallPath "windows.exclude"
  7. $LocalExcludeFile = Join-Path $InstallPath "local.exclude"
  8. $LocalIncludeFile = Join-Path $InstallPath "local.include"
  9. $LogPath = Join-Path $InstallPath "logs"
  10. $LogRetentionDays = 30
  11. $InternetTestAttempts = 10
  12. $GlobalRetryAttempts = 1
  13. $FailOnIncomplete = $false
  14. # maintenance configuration
  15. $SnapshotMaintenanceEnabled = $false
  16. $SnapshotRetentionPolicy = @("--keep-daily", "30", "--keep-weekly", "52", "--keep-monthly", "24", "--keep-yearly", "10")
  17. $SnapshotMaintenanceInterval = 7
  18. $SnapshotMaintenanceDays = 30
  19. $SnapshotDeepMaintenanceDays = 90;
  20. # Network configuration
  21. $BackupoverMetered = $false
  22. # email configuration
  23. $SendEmailOnSuccess = $false
  24. $SendEmailOnError = $false
  25. # Paths to backup
  26. $BackupSources = @{}
  27. $BackupSources["C:\"] = @(
  28. # 'Users'
  29. )
  30. #$BackupSources["D:\"] = @(
  31. # 'Software'
  32. #)