Restore bots from Git repository
- Updated: 2024/10/28
Restore bots from Git repository
You can restore all your bots and their dependent files from the Git repository to your server repository. This restore option is available only for On-Premises deployments and not supported on Cloud deployments.
Prerequisites
Ensure the following before you restore your bots from Git:
- You must have a backup of the bots on Git.
- You must have the AAE_Admin role assigned.
Keep the following considerations in mind while restoring bots from a Git repository:
- You can restore either all or differential bots and files from the external Git repository. You cannot selectively restore specific bots or files from the external Git repository.
- The Git restore process requires some downtime. When the restore process is
running, the following public workspace operations are disabled:
- Check-out
- Clone
- Run and schedule bots
- Run bots with queue
- Import and export bots
- When the restore process is running, the check-in operation is not allowed from the private workspace. However, you can use the private workspace for the rest of the operations.
- You can restore your bots to your empty or non-empty repository.
- You cannot abort (cancel) an ongoing restore process.
- Associated command packages are not included when you promote your bots from any of the earlier environments to a more recent environment using external GIT. Therefore, ensure that you export or promote all the associated command packages separately using export-import or promote bot feature. For more information, see Move bots across environments.
- The server repository is corrupted and you are starting with a new server repository.
- You want to restore bots to a different Git branch.
For example, consider there are two branches of Git: Dev and Test integrated with Dev and Test Control Room. The Test branch can pull the contents from the Dev branch and you can restore bots from Git in the Test Control Room.
Procedure
If the Git restore process fails after restoring some bots, you are redirected to the public workspace with the following options. Choose the required option to complete the restore process:
Option | Action |
---|---|
Revert restoration bots | This option clears all the bots that were
restored. Note: This option will delete the
public bots that were restored from the Git
repository.
|
Restart restoration | The Git restore process restarts from where it ended. |
Keep only the restored files | This option retains whatever files were restored and will exit the restore process. |