gdcloud disaster-recovery restores create

名称

gdcloud disaster-recovery restores create - 创建灾难恢复还原。

摘要

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

如需了解详情,请参阅 gdcloud CLI 参考概览页面。