- 概述
- 要求
- 安装
- 先决条件检查
- 下载安装包
- 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 版本
- 安装后
- 迁移和升级
- 监控和警示
- 集群管理
- 特定于产品的配置
- 故障排除
步骤 2:还原独立产品数据库
在这里,我们介绍一种使用 SQL Server Management Studio (SSMS) 将独立产品的数据库还原到 Automation Suite SQL Server 实例的方法。有关下载和安装 SQL Server Management Studio 的详细信息,请参阅迁移先决条件。
如果您迁移到 EKS 上的 Automation Suite ,则无法直接将 Orchestrator 数据库还原到 Azure SQL 数据库。 您必须首先将独立 Orchestrator 数据库备份到文件,然后还原到 RDS 数据库。
如果 Orchestrator 和 Identity 共享其数据库,则可以跳过步骤 4。如果它们具有单独的数据库,则必须单独备份它们。
-
登录到独立计算机,然后使用 SSMS 登录到 SQL Server。
-
备份独立 Orchestrator 数据库:
-
转到“ 数据库”,右键单击 Orchestrator 数据库,单击“ 任务”,然后选择 “备份”。
-
确认备份路径。
-
完成备份。
-
-
将独立 Orchestrator 数据库还原到独立计算机上 EKS 实例上 Automation Suite 上的 RDS
-
将备份的
bak
文件上传到 S3 存储桶。aws s3 cp <local-file-path> s3://haonan-msi-asair-migration-bucket/<filename>
aws s3 cp <local-file-path> s3://haonan-msi-asair-migration-bucket/<filename>示例:
aws s3 cp "C:\Program Files\Microsoft SQL Server\MSSQL15.SQLEXPRESS\MSSQL\Backup\20230401_0614.bak" s3://haonan-msi-asair-migration-bucket/20230401_0614.bak --region us-west-2
aws s3 cp "C:\Program Files\Microsoft SQL Server\MSSQL15.SQLEXPRESS\MSSQL\Backup\20230401_0614.bak" s3://haonan-msi-asair-migration-bucket/20230401_0614.bak --region us-west-2 -
向 AWS 上还原的数据库授予权限。
-
-
转到 IAM,然后创建具有
AWSBackupServiceRolePolicyForRestores
权限的新角色。 -
转到 RDS 并单击
Option groups
:-
创建一个组并提供以下详细信息:
-
名称:SqlServerBackupRestore
-
说明: xxx
-
引擎:选择您的数据库引擎
-
主要引擎版本:选择数据库实例的版本。
-
-
单击“创建”。
-
单击已创建组的名称以进行编辑,如下所示:
-
单击“添加”。
-
选择 SQLSERVER_BACKUP_RESTORE。
-
选择您在前面的步骤中创建的 IAM 角色。
-
选择“ 立即 ”以计划即时更改。
-
-
返回“RDS 数据库”并选择您的实例。
-
单击 “修改”。
-
选择您在上一步中创建的选项组。
-
单击“下一步”。
-
选择“立即应用”(此操作不会导致服务停机)。
-
通过单击“修改数据库实例” 应用更改。
-
如果您从 SQL 管理 Studio 连接到数据库,请关闭并再次连接。
-
-
-
按照 AWS 文档的要求,了解如何将数据库备份到 .bak 文件,然后将该文件上传到 AWS S3 存储桶。
示例命令:
exec msdb.dbo.rds_restore_database @restore_db_name='UiPath_20230531', @s3_arn_to_restore_from='arn:aws:s3:::haonan-msi-asair-migration-bucket/20230401_0614.bak', @with_norecovery=0,
exec msdb.dbo.rds_restore_database @restore_db_name='UiPath_20230531', @s3_arn_to_restore_from='arn:aws:s3:::haonan-msi-asair-migration-bucket/20230401_0614.bak', @with_norecovery=0,