NAME
gdcloud disaster-recovery restores create - 创建灾难恢复还原。
SYNOPSIS
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 be one of [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 参考文档概览页面。