distcloud/api-ref/source/samples/subcloud-backup/subcloud-restore-backup-request.json
Victor Romano 9824f80d95 Add release parameter to subcloud-backup restore
Add optional --release parameter to subcloud-backup restore so that the
user can specify which loaded image to use during the installation
process triggered by --with-install.
This parameter can only be used if --with-install is also specified.

Test plan:
  PASS: Verify that the subcloud is restored with installation of
        current active release when specified.
  PASS: Verify that the subcloud is restored with installation of
        previous inactive release when specified.
  PASS: Verify that the subcloud is restored with installation of
        current active release if the "--release" parameter is omitted.

Story: 2010611
Task: 47709

Signed-off-by: Victor Romano <victor.gluzromano@windriver.com>
Change-Id: I619a1bf50c221fe6fc8cdfa87724d18393aef9cb
2023-04-12 16:20:33 -03:00

11 lines
234 B
JSON

{
"subcloud": 1,
"local_only": "false",
"registry_images": "false",
"with_install": "true",
"release": "21.12",
"sysadmin_password": "XXXXXXX",
"restore_values": {
"backup_filename": "filename"
}
}