legacy-cli icon indicating copy to clipboard operation
legacy-cli copied to clipboard

Update backup:restore command resources options

Open pjcdawkins opened this issue 1 year ago • 1 comments

Closes https://github.com/platformsh/cli/issues/190

Usage:
 upsun backup:restore [--target TARGET] [--branch-from BRANCH-FROM] [--no-code] [--no-resources] [--resources-init RESOURCES-INIT] [-p|--project PROJECT] [-e|--environment ENVIRONMENT] [-W|--no-wait] [--wait] [--] [<backup>]

Arguments:
  backup                               The ID of the backup. Defaults to the most recent one

Options:
      --target=TARGET                  The environment to restore to. Defaults to the backup's current environment
      --branch-from=BRANCH-FROM        If the --target does not yet exist, this specifies the parent of the new
                                       environment
      --no-code                        Do not restore code, only data.
      --no-resources                   Do not override the target's existing resource settings.
      --resources-init=RESOURCES-INIT  Set the resources to use for new services: backup, parent, default or minimum.
                                       If not set, "backup" will be used.

pjcdawkins avatar Jun 28 '24 12:06 pjcdawkins