- 先决条件检查
- 下载安装包
- uipathctl cluster
- uipathctl 集群维护
- uipathctl cluster maintenance disable
- uipathctl cluster maintenance enable
- uipathctl cluster maintenance is-enabled
- uipathctl cluster migration
- uipathctl cluster migration export
- uipathctl cluster migration import
- uipathctl cluster migration run
- uipathctl 集群升级
- uipathctl 配置
- uipathctl config add-host-admin
- uipathctl config additional-ca-certificates
- uipathctl config additional-ca-certificates get
- uipathctl config additional-ca-certificates update
- uipathctl 配置警示
- uipathctl configalerts add-email
- uipathctl config alerts remove-email
- uipathctl config alerts update-email
- uipathctl config argocd
- uipathctl config argocd ca-certificates
- uipathctl config argocd ca-certificates get
- uipathctl config argocd ca-certificates update
- uipathctl config argocd generate-dex-config
- uipathctl config argocd generate-rbac
- uipathctl config argocd registry
- uipathctl config argocd registry get
- uipathctl config argocd registry update
- uipathctl config enable-basic-auth
- uipathctl config Orchestrator
- uipathctl config Orchestrator get-config
- uipathctl config orchestrator update-config
- uipathctl config saml-certificates get
- uipathctl config saml-certificates rotate
- uipathctl config saml-certificates update
- uipathctl config tls-certificates
- uipathctl config tls-certificates get
- uipathctl config tls-certificates update
- uipathctl config token-signing-certificates
- uipathctl config token-signing-certificates get
- uipathctl config token-signing-certificates rotate
- uipathctl config token-signing-certificates update
- uipathctl 运行状况
- uipathctl 运行状况捆绑包
- uipathctl 运行状况检查
- uipathctl health diagnose
- uipathctl health test
- uipathctl 清单
- uipathctl manifest apply
- uipathctl manifest diff
- uipathctl manifest get
- uipathctl manifest get-revision
- uipathctl manifest list-applications
- uipathctl manifest list-revisions
- uipathctl manifest render
- uipathctl 先决条件
- uipathctl prereq create
- uipathctl prereq run
- uipathctl 资源
- uipathctl 资源报告
- uipathctl 快照
- uipathctl 快照备份
- uipathctl snapshot backup create
- uipathctl snapshot backup disable
- uipathctl snapshot backup enable
- uipathctl snapshot delete
- uipathctl snapshot list
- uipathctl snapshot restore
- uipathctl snapshot restore create
- uipathctl snapshot restore delete
- uipathctl snapshot restore history
- uipathctl snapshot restore logs
- uipathctl 版本
配置备份存储
提供备份存储配置
要备份和还原集群,您必须通过 input.json
将集群快照的位置提供给 Automation Suite 集群。
在启用计划备份或按需备份之前,对 input.json
进行以下更改。 如果适用,请遵循以下部分中描述的 EKS 或 AKS 配置。
您可以在安装 Automation Suite 集群期间或之后(作为安装后操作)提供此信息,同时启用或执行集群的备份。
EKS
input.json
示例
"snapshot": {
"enabled": true,
"external_object_storage": {
"bucket_name": "<s3_bucket_used_for_backup>",
"storage_type": "s3",
"region": "<s3_bucket_region>"
}
}
"snapshot": {
"enabled": true,
"external_object_storage": {
"bucket_name": "<s3_bucket_used_for_backup>",
"storage_type": "s3",
"region": "<s3_bucket_region>"
}
}
input.json
参数
密钥 |
值 |
---|---|
|
用于存储快照的 S3 存储桶的名称 |
|
用于连接 S3 的 ARN。 如果节点具有连接到备份对象存储的必要权限,则不需要 ARN。 否则,请确保创建具有必要权限的 IAM 角色并添加 ARN。 |
|
S3 所在的区域。 |
AKS
input.json
示例"snapshot" : {
"external_object_storage": {
"client_secret": "<azure_service_principal_client_secret>",
"resource_group": "<azure_resource_group_with_storage_account>",
"auth_mode": "ServicePrincipal",
"account_name": "<azure_account_name>",
"bucket_name": "<azure_container_name>",
"client_id": "<azure_service_principal_id>",
"subscription_id": "<azure_subscription_id>",
"cloud_name": "AzurePublicCloud"
},
"aks_infra_resource_group":"<azure_infra_resource_group>"
}
"snapshot" : {
"external_object_storage": {
"client_secret": "<azure_service_principal_client_secret>",
"resource_group": "<azure_resource_group_with_storage_account>",
"auth_mode": "ServicePrincipal",
"account_name": "<azure_account_name>",
"bucket_name": "<azure_container_name>",
"client_id": "<azure_service_principal_id>",
"subscription_id": "<azure_subscription_id>",
"cloud_name": "AzurePublicCloud"
},
"aks_infra_resource_group":"<azure_infra_resource_group>"
}
input.json
参数
密钥 |
值 |
---|---|
|
Azure 存储帐户中用于存储快照的容器名称 |
|
存在用于存储快照的目标 Azure 存储帐户的资源组。 |
|
必须设置为 |
|
用于服务主体身份验证的客户端 ID |
|
用于基于服务主体的身份验证的客户端密码 |
|
备份快照的 Azure 存储帐户的名称 |
|
默认值 如果适用,请更改为以下其中一项: |
|
用于存储备份的 Azure 存储帐户的订阅 ID。 |
|
在其中创建 AKS 集群的计算机和其他资源的资源组。 这通常由 Azure 创建和管理,并以 虽然其他值可以在备份和还原期间保持不变,但此值将在还原期间更改。 这必须是配置新 AKS 集群的 Kubernetes 资源的新资源组。 |
应用备份存储配置
如上一节所述,对 input.json
进行更改后,运行以下命令以应用配置:
./uipathctl manifest apply input.json --only velero --versions versions.json
./uipathctl manifest apply input.json --only velero --versions versions.json