Backup and restore
The data in a XenDesktop environment resides in two different types of storages. If you refer back to our network diagram at the beginning of the chapter, data is stored for the XenDesktop infrastructure in the SQL database, while VMs and user data are housed on a separate storage. As mentioned earlier, it is a good practice to build HA and Disaster Recovery into the architecture. As an additional safeguard, you should get into the practice of backing up data, to avoid data loss in the event of a disaster.
Backing up a SQL Server
Consult the Microsoft SQL Server documentation for more information on how you should schedule regular backups. The following steps will help you to get a one-time manual backup done.
Note
Don't allow any administrative changes while performing the backup.
To perform a one-time backup of a SQL Server, perform the following steps:
Launch PowerShell or access PowerShell from the Studio console, and run the
Get-BrokerDBConnection
command to get the name...