gdcloud disaster-recovery restores create

名稱

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

概要

gdcloud disaster-recovery restores create [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].

選用旗標

      --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 廣泛標記

所有指令都可使用這些旗標:--configuration--format--help--project--quiet

詳情請參閱 gcloud CLI 參考資料總覽頁面。