Add optional configuration options for additional parameters to restic calls, $AdditionalParameters and $SelfUpdateParameters and make self update of restic binary configurable via $AllowResticSelfUpdate config option

This commit is contained in:
Joerg Reuter
2024-03-17 16:26:51 +01:00
parent f759630532
commit 0e8262ab05
3 changed files with 23 additions and 16 deletions
+3
View File
@@ -1,5 +1,8 @@
# backup configuration
$ExeName = "restic.exe"
$AdditionalParameters = @()
$SelfUpdateParameters = @()
$AllowResticSelfUpdate = $true
$InstallPath = "C:\restic"
$ResticExe = Join-Path $InstallPath $ExeName
$StateFile = Join-Path $InstallPath "state.xml"