UiPath Documentation
orchestrator
2020.10
false
Orchestrator 安装指南
重要 :
请注意,此内容已使用机器翻译进行了部分本地化。 新发布内容的本地化可能需要 1-2 周的时间才能完成。

Orchestrator 备份和还原

This page provides a sample solution for creating scheduled backups of your Orchestrator SQL database. See here how to back up the related web.config and UiPath.Orchestrator.dll.config files and NuGet packages, and here details on backing up your Insights database, if applicable.

备份 Orchestrator 数据库

有多种选项可用于执行此备份,包括您可以在需要时许可和安装的诸多第三方解决方案,但此示例将指导您使用 SQL Server 管理 Studio 已经提供的集成维护计划功能完成此过程。

创建维护计划

  1. 从 SQL Server 管理 Studio 连接到 Orchestrator 数据库的 SQL Server。

    备注:

    需要管理员访问权限。

  2. Expand the Management folder.

  3. Right-click Maintenance Plans and select Maintenance Plan Wizard. The Maintenance Plan Wizard is displayed.

  4. 在“选择计划属性” 页上:

    1. 名称字段中,输入此维护计划的描述性名称。
    2. 如果需要,请使用描述字段提供计划的详细描述。
    3. 运行方式下拉菜单中,选择 SQL Server 代理服务帐户
    4. 使用单选按钮和“计划”字段选择此维护计划的所需时间和频率。
  5. Click Next. The Select Maintenance Tasks page is displayed.

  6. Select Back Up Database (Full) and click Next. The Define Back Up Database (Full) Task page is displayed.

    备注:

    This guide only details the setup of a maintenance plan for the creation of a full database backup. In your production environment, it is also recommended to set up a Differential backup plan scheduled to run daily.

  7. 从“常规”选项卡执行以下操作:

    1. 使用数据库下拉列表选择特定数据库
    2. 选择数据库作为备份组件。在弹出窗口中,选择 Orchestrator 数据库(在上面的示例中为 UiPath)。
  8. From the Destination tab, enter the location where all future backups are saved.

  9. “选项”选项卡允许您选择:

    1. 压缩备份文件。如果启用,则执行备份所需的时间将增加。
    2. 备份到期日期
    3. 备份完整性验证。如果启用,则执行备份所需的时间将增加。
  10. Click Finish to create the maintenance plan and Close to close the wizard.

执行维护计划

您创建的维护计划中定义的备份也可以在定义的计划之外执行,如下所示:

  1. 从 SQL Server 管理 Studio 连接到 Orchestrator 数据库的 SQL Server。

    备注:

    需要管理员访问权限。

  2. Expand the Management folder.

  3. Expand the Maintenance Plans folder.

  4. Right-click the desired maintenance plan and select Execute. The Execute Maintenance Plan window is displayed.

  5. Once completed Success is displayed. You can click Close to exit or select Report to view the execution report.

还原 Orchestrator 数据库

  1. 从 SQL Server Management Studio 连接到所需的 SQL Server。

    备注:

    需要管理员访问权限。

  2. Right-click the Databases folder and select Restore Database.

  3. 按照还原向导选择备份源和还原备份的目标。

    备注:

    可以将数据库还原到较早的时间点。您还可以为数据库选择新名称。

  4. Click OK to begin the restore procedure. Note that this may take some time depending the on size of the database.

  5. Once completed, the new database appears in the Databases tab of SQL Server Management Studio.

  • 备份 Orchestrator 数据库
  • 创建维护计划
  • 执行维护计划
  • 还原 Orchestrator 数据库

此页面有帮助吗?

连接

需要帮助? 支持

想要了解详细内容? UiPath Academy

有问题? UiPath 论坛

保持更新