This content has been machine translated dynamically.
Dieser Inhalt ist eine maschinelle Übersetzung, die dynamisch erstellt wurde. (Haftungsausschluss)
Cet article a été traduit automatiquement de manière dynamique. (Clause de non responsabilité)
Este artículo lo ha traducido una máquina de forma dinámica. (Aviso legal)
此内容已经过机器动态翻译。 放弃
このコンテンツは動的に機械翻訳されています。免責事項
이 콘텐츠는 동적으로 기계 번역되었습니다. 책임 부인
Este texto foi traduzido automaticamente. (Aviso legal)
Questo contenuto è stato tradotto dinamicamente con traduzione automatica.(Esclusione di responsabilità))
This article has been machine translated.
Dieser Artikel wurde maschinell übersetzt. (Haftungsausschluss)
Ce article a été traduit automatiquement. (Clause de non responsabilité)
Este artículo ha sido traducido automáticamente. (Aviso legal)
この記事は機械翻訳されています.免責事項
이 기사는 기계 번역되었습니다.책임 부인
Este artigo foi traduzido automaticamente.(Aviso legal)
这篇文章已经过机器翻译.放弃
Questo articolo è stato tradotto automaticamente.(Esclusione di responsabilità))
Translation failed!
使用 Automated Configuration tool 进行备份和恢复
Automated Configuration tool 允许您在以下环境中执行按需备份和计划备份:
- Citrix Virtual Apps and Desktops™
- DaaS
Automated Configuration tool 可用于以下目的:
- 备份和恢复(按需备份和计划备份)
- 迁移(按需备份)
用于迁移的 Automated Configuration tool
Citrix Virtual Apps™ and Desktops
备份配置的必备条件
- 所有版本的 Citrix Virtual Apps and Desktops。
-
一台用于运行 Auto Config 的计算机。此设备可以是:
- 一台 Delivery Controller™
- 一台已加入域的计算机,其中安装了 .NET Framework 4.7.2 或更高版本以及 Citrix PowerShell SDK。对于 Citrix PowerShell,您必须安装 Citrix Studio。
备份
- 安装 Automated Configuration。有关详细信息,请参阅下载 Automated Configuration。
- 双击 Auto-Config。
- 在 PowerShell 窗口中,运行命令
Backup-CvadAcToFile
以导出所有组件。导出本地配置不会对其进行修改。
首次运行该命令后,此过程会在以下位置创建一个包含 .yml
配置文件的文件夹:
%HOMEPATH%\Documents\Citrix\AutoConfig
。
该文件夹包含最近导出的备份文件,并且每个以前的备份都存储在一个子文件夹中。
恢复
- 双击 Auto-Config。
-
运行以下命令以执行恢复:
Restore-CvadAcToSite -Environment OnPrem -RestoreFolder <folder path of the backup files> <!--NeedCopy-->
- 运行该命令后,验证导出状态,日志文件夹位于:
%HOMEPATH%\Documents\Citrix\AutoConfig
。 - 如果存在任何错误或异常,请参阅日志文件中的“Fixups”部分。
DaaS
备份配置的必备条件
- 具有活动资源位置并已安装 Connector 的 DaaS 环境。
- 与访问 Citrix Cloud 的站点连接。有关详细信息,请参阅系统和连接要求。
注意
您无法使用 Automated Configuration 从云中备份 MCS。
备份
备份以下文件:
-
CustomerInfo.yml
文件,其中包含您的客户 ID、客户端 ID 和密钥信息。有关检索客户 ID、客户端 ID 和密钥的过程的详细信息,请参阅生成客户 ID、客户端 ID 和密钥。有关如何将此信息添加到CustomerInfo.yml
文件的信息,请参阅填充客户信息文件。 -
ZoneMapping.yml
文件,其中包含映射云中资源位置的信息。有关如何映射区域的详细信息,请参阅填充区域映射文件。 -
CvadAcSecurity.yml
文件,其中包含有关主机连接的信息。
- 安装 Automated Configuration。有关详细信息,请参阅安装 Automated Configuration。
注意
对于 DaaS 备份,请将 Automated Configuration 安装在具有 Internet 访问权限且管理员可以直接访问的计算机上。
- 双击 Auto Config。
- 在 PowerShell 窗口中,运行以下命令以执行备份:
Export-CvadAcToFile
首次运行该命令后,此过程会在以下位置创建一个包含 .yml 配置文件的文件夹:
%HOMEPATH%\Documents\Citrix\AutoConfig
该文件夹包含最近导出的备份文件,并且每个以前的备份都存储在一个子文件夹中。
恢复
- 双击 Auto Config。
-
在 PowerShell 窗口中,运行以下命令以执行恢复:
Restore-CvadAcToSite -RestoreFolder <folder path of the backup files> <!--NeedCopy-->
-
运行该命令后,验证导出状态,日志文件夹位于
%HOMEPATH%\Documents\Citrix\AutoConfig
。 - 如果存在任何错误或异常,请参阅日志文件中的“Fixups”部分。
粒度迁移
注意
有关组件迁移顺序的详细信息,请参阅组件迁移顺序。
恢复整个组件
要恢复组件,您必须选择一个或多个参数。
例如,要恢复整个交付组和计算机目录组件,请运行以下命令:
Restore-CvadAcToSite -RestoreFolder %HOMEPATH%\Documents\Citrix\AutoConfig/Backup_yyyy_mm_dd_hh_mm_ss -DeliveryGroups -MachineCatalogs
<!--NeedCopy-->
恢复组件成员
要恢复一个或多个组件成员,请使用 IncludeByName
功能。您必须使用 Restorefolder
参数以及所选组件和包含列表来调用 Restore
cmdlet。
例如,要从备份中恢复两个组策略:
Restore-CvadAcToSite -RestoreFolder %HOMEPATH%\Documents\Citrix\AutoConfig/Backup_yyyy_mm_dd_hh_mm_ss -GroupPolicies -IncludeByName Policy1,Policy2
<!--NeedCopy-->
恢复完整的云站点配置
要恢复所有组件或整个云站点,请运行以下命令:
Restore-CvadAcToSite -RestoreFolder %HOMEPATH%\Documents\Citrix\AutoConfig/Backup_yyyy_mm_dd_hh_mm_ss
<!--NeedCopy-->
用于备份和恢复的 Automated Configuration tool
Automated Configuration tool 命令会触发 Studio 使用的备份和恢复 API。
BckRstr
cmdlet 会记录到控制台。不会在 \Documents\Citrix\AutoConfig
中创建包含日志信息的文件夹。
注意:
在 Citrix Virtual Apps and Desktops 和 Citrix DaaS™ 中备份配置的必备条件与 PowerShell 会话中的 Automated Configuration tool 相同。
备份
要在 Delivery Controller 上启动新的备份操作,请在 PowerShell 窗口中运行 New-BckRstrBackup
。
恢复
要从现有备份中恢复单个组件的成员,请在 PowerShell 窗口中运行 Restore-BckRstrBackups
。
有关命令的完整列表,请参阅用于备份和恢复的 Automated Configuration tool cmdlet。
共享
共享
This Preview product documentation is Citrix Confidential.
You agree to hold this documentation confidential pursuant to the terms of your Citrix Beta/Tech Preview Agreement.
The development, release and timing of any features or functionality described in the Preview documentation remains at our sole discretion and are subject to change without notice or consultation.
The documentation is for informational purposes only and is not a commitment, promise or legal obligation to deliver any material, code or functionality and should not be relied upon in making Citrix product purchase decisions.
If you do not agree, select I DO NOT AGREE to exit.