Backing up your Orchestrator configuration and NuGet packages requires copying the relevant files and folders to your designated backup location. This page provides the details needed to identify and locate those files and folders you must copy.
Orchestrator Web.config File
Web.config FileBackup
The steps needed to backup your Orchestrator configuration vary slightly depending on your deployment model (e.g. On-prem and IaaS (Infrastructure as a Service), or PaaS (Platform as a Service).
On-Prem and IaaS Deployments
- Open your Orchestrator installation directory. By default, this is
C:\Program Files (x86)\UiPath\Orchestrator. - Copy the
web.configfile located there to your designated backup location.
Azure PaaS Deployments
- Select your Orchestrator App Service.
- From the Development Tools menu navigate to Advanced Tools > Go > Debug Console > CMD.
- Open the Site folder and navigate to wwwroot.
- Select
Web.configand click Download. - Copy the downloaded file to your designated backup location.
In addition to the web.config file, you must also copy the Application Settings and Connections Strings as follows:
- Select your Orchestrator App Service.
- From the Settings menu, select Configuration.
- From the Application Settings section, select Advanced Edit and copy the displayed value.
- From the Connection strings section, select Advanced Edit and copy the displayed value.
- Save these values to your designated backup location.
Restore
Note:
When restoring the
web.configfile, you must do so all on Orchestrator nodes in your deployment.
On-Prem and IaaS Deployments
To restore your previous Orchestrator configuration, whether to a new environment or following a failure:
- Copy the
web.configfile from your desired backup. - Open your Orchestrator installation directory. By default, this is
C:\Program Files (x86)\UiPath\Orchestrator. - Replace the
web.configfile located there with your designated backup.
Azure PaaS Deployments
After you have retrieved your desired web.config backup file:
- Select your Orchestrator App Service.
- From the Development Tools menu navigate to Advanced Tools > Go > Debug Console > CMD.
- Open the Site folder and navigate to wwwroot.
- Replace the
web.configlocated there with your designated backup.
In addition to replacing the web.config file, you must also restore the Application Settings and Connections Strings with their previous values, as follows:
- Select your Orchestrator App Service.
- From the Settings menu, select Configuration.
- From the Application Settings section, select Advanced Edit and replace the value there with your previously saved backup.
- From the Connection strings section, select Advanced Edit and replace the value there with your previously saved backup.
NuGet Packages
Backup
The location(s) of your NuGet package directories is indicated in the Deployment section of the web.config file.
- Check the value of the
NuGet.Repository.Typekey. The following values are possible:- Legacy - packages are stored in the locations specified in the
NuGet.Packages.PathandNuGet.Activities.Pathkeys. - Composite - packages are stored in the locations specified in the
Storage.TypeandStorage.Locationkeys.
- Legacy - packages are stored in the locations specified in the
- For Legacy repository types, copy the folders identified by the
NuGet.Packages.PathandNuGet.Activities.Pathkeys to your designated backup location. - For Composite repository types where the Storage.Type key is:
a.FileSystem- copy the folder(s) identified in theRootPathparameter of theStorage.Locationkey to your designated backup location.
b.Azure- a connection string is provided in theStorage.Typekey. Data integrity and availability is covered by Microsoft, however you can use their guide if you want to save the files stored there locally.
c.Amazon- a connection string is provided in theStorage.Typekey. Data integrity and availability is covered by Amazon, however you can use their guide if you want to save the files stored there locally.
Restore
Restoring your previous NuGet package directories follows the reverse of the backup process detailed above, as follows:
- For Legacy repositories, copy your backups of the NuGet packages and activities folders to the directories identified by the
NuGet.Packages.PathandNuGet.Activities.Pathkeys indicated in the Deployment section of theweb.configfile. - For Composite repository types where the Storage.Type key is:
a.FileSystem- copy your backup folder(s) to the directory identified in theStorage.Locationkey of theRootPathparameter, found in the Deployment section of theweb.configfile.
b.Azure- enter the previously saved connection string in theStorage.Typekey.
c.Amazon- enter the previously saved connection string in theStorage.Typekey.
Updated 2 years ago