Document validated Vaultwarden restore pattern
This commit is contained in:
@@ -2,6 +2,7 @@ param(
|
||||
[string]$BackupSource = "/mnt/user/backups/borg",
|
||||
[string]$RestoreRoot = "/mnt/user/backups/restore-lab/vaultwarden",
|
||||
[string]$ReportRoot = "/mnt/user/backups/restore-reports",
|
||||
[string]$BorgPassphraseFile = "/mnt/user/appdata/secrets/borg_repo_passphrase.txt",
|
||||
[switch]$WhatIf
|
||||
)
|
||||
|
||||
@@ -12,6 +13,7 @@ Write-Output "Vaultwarden restore test scaffold"
|
||||
Write-Output "BackupSource: $BackupSource"
|
||||
Write-Output "RestoreRoot: $RestoreRoot"
|
||||
Write-Output "ReportRoot: $ReportRoot"
|
||||
Write-Output "BorgPassphraseFile: $BorgPassphraseFile"
|
||||
Write-Output "Expected Borg source path inside archive: local/appdata/vaultwarden"
|
||||
|
||||
if ($WhatIf) {
|
||||
@@ -25,6 +27,7 @@ Write-Output "Planned steps:"
|
||||
Write-Output "1. Prepare restore-lab target under /mnt/user/backups/restore-lab/vaultwarden"
|
||||
Write-Output "2. Restore Vaultwarden data into an isolated test path"
|
||||
Write-Output ' Template: borg extract "$BORG_REPO" "::ARCHIVE_NAME" local/appdata/vaultwarden'
|
||||
Write-Output ' Passphrase source: $(cat /mnt/user/appdata/secrets/borg_repo_passphrase.txt)'
|
||||
Write-Output "3. Start container restoretest-vaultwarden against test data only"
|
||||
Write-Output "4. Run smoke checks against the test instance"
|
||||
Write-Output "5. Write markdown report under /mnt/user/backups/restore-reports"
|
||||
|
||||
Reference in New Issue
Block a user