gdcloud disaster-recovery restores create

NAME

gdcloud disaster-recovery restores create - Create a disaster recovery restore.

SYNOPSIS

gdcloud disaster-recovery restores create [flags]

REQUIRED FLAGS

      --backup string                Name of the backup used for the disaster recovery restoration.
      --cluster string               Name of the cluster where the restore is located.
      --name string                  Name of the disaster recovery restore.
      --restore-scope restoreScope   Scope of the disaster recovery restore, must of one of [drcontroller, gitlab, hwdr, controlplane, custom].

OPTIONAL FLAGS

      --all-namespaces                     Whether to restore resources in all namespaces, the flag only works in the custom scope.
      --cluster-resources stringArray      A list of allowed cluster resources to be restored for the custom scope, the resources are provided by <group>/<kind> format, e.g. rbac.authorization.k8s.io/ClusterRole.
      --dry-run                            Whether to dry run the command.
      --namespaced-resources stringArray   A list of allowed namespaced resources to be restored for the custom scope, the resources are provided by <group>/<kind> format, e.g. apps/Deployment.
      --namespaces stringArray             A list of namespaces of the resources to restore, the list only works in the custom scope.

GDCLOUD WIDE FLAGS

These flags are available to all commands: --configuration, --format, --help, --project, --quiet.

For more information, see the gdcloud CLI reference overview page.