templates/answer-files/fdr/fdr-failback-answers.json

{
  "_readme": ["Sample answer file for the interactive tasks in fdr-failback-plan.json, consumed via Import-VCFIRAnswerFile.", "Keyed by cmdlet name. Each value is an array of answer sets - one answer set per invocation of that cmdlet in the plan. This plan calls Get-BackupsFromSFTPServer twice (VCF Management Services fleet components, then VCF Automation), Restore-ServicesRuntimeComponentBackup twice (same order) and Set-ServicesRuntimeComponentVips twice (Identity Broker, then VCF Automation), in that order.", "Restore-ServicesRuntimeComponentBackup/Set-ServicesRuntimeComponentVips each have a single Y/N confirmation prompt that is already skippable via their own -Force/-autoConfirm switch - the answer file drives the SAME prompt, just conditionally (only when the toggle is on) rather than permanently.", "Each answer set is an ordered array of the values you would otherwise type at that cmdlet's Read-Host prompts, in the same order the prompts appear.", "Get-BackupsFromSFTPServer's own prompts (pick a backup group, optional per-component custom picks, final Y/N) vary with how many backups/components are found on the SFTP server - the values below assume a single matching backup and no custom overrides, and MUST be reviewed against your own environment's real prompts before use.", "Run each task interactively once first to see its real prompts/IDs, then transcribe your answers here in the same order. Every key below is OPTIONAL - omitting one just means that cmdlet prompts normally if actually reached - but once a key IS listed, running out of values or supplying an invalid one fails the run immediately rather than hanging or silently misusing a later answer (Confirm-ManualStep is the one exception - see above).", "Confirm-ManualStep is different from every other key here: its value is a single FLAT array of pre-approved -AnswerKey strings, not an array of answer sets. The gates in this plan are: nsx-federation-tasks-complete, vcf-ops-reprotected, vcf-ops-failed-back, recovered-components-backed-up, fleet-vip-dns-updated, vcfms-powered-on, sddc-lcm-credentials-updated, vcfa-backed-up, vcfa-deleted-from-recovery-site, vcfa-failback-prepared, vcfa-powered-on and backup-schedule-updated. None are pre-approved below, on purpose: each confirms real-world work done outside this tool, so every gate still blocks for a real Enter press. Add a key to the array only if you want that specific gate to auto-skip."],
  "Get-BackupsFromSFTPServer": [
    ["1", "Y"],
    ["1", "Y"]
  ],
  "Restore-ServicesRuntimeComponentBackup": [
    ["Y"],
    ["Y"]
  ],
  "Set-ServicesRuntimeComponentVips": [
    ["Y"],
    ["Y"]
  ],
  "Confirm-ManualStep": []
}