v6.10 Restoring A Blue Prism Environment - Data Sheet
v6.10 Restoring A Blue Prism Environment - Data Sheet
Backup
Objects and processes can be exported individually or as part of a release package for multiple
objects/processes with additional components.
For more information about the automate.exe commands in the following sections, see the Blue Prism
online help.
Related file types that can also be exported within a release package include:
• Calendars – calendars configured for use by schedules set on holidays, working, and non-working
days.
• Dashboards – the layout and presentation settings of each tile on the dashboard. The data source
settings must be explicitly exported if required. No reporting data is exported.
• Credentials – credential records and their settings, but excluding sensitive information such as
passwords and secrets.
• Schedules – schedule information such as which process automations should be triggered at a given
time. No schedule log history is exported.
• Tiles – data sources settings, and query-information used by dashboards. No reporting data is
exported.
• Work queues – work queue records and their settings. No work queue items are exported.
The export does not typically represent a full backup of these items, but only their configuration
settings.
Restore
Use File > Import to import or restore objects, processes, or release packages into an existing Blue Prism
environment.
If any conflicts are detected during the import, e.g. if an item with the same name already exists, there are
options to overwrite, create a duplicate, or ignore the item.
This can also be achieved programmatically:
• When importing objects or processes use: automatec.exe /import.Use /overwrite to force
objects or processes to overwrite any of the same names already in the store.
• When importing release packages use: automatec.exe /importpackage.
The default behavior when conflicts are detected as part of a package import process is described below:
Conflict Outcome
An item in the release package has the same name/ID as an item of the same The item in the store
type that already exists in the store. will be overwritten.
An object or process will be overwritten but the item in the release package is The item in the store
marked as published, and the item in the store is not marked as published. will be marked as
published.
An object or process will be overwritten but the item in the store is marked as The item in the store
retired. will stay retired.
The release package includes a tile, but the user does not have permission to The entire package
import tiles. will fail to import.
The release package includes a credential record, but the Blue Prism The entire package
environment is not correctly set up to store credentials (i.e. no default encryption will fail to import.
scheme is configured).
An object in the release package matches the name or ID of a process in the The entire package
store. will fail to import.
A process in the release package matches the name or ID of an object in the The entire package
store. will fail to import.
Restrictions
There are several restrictions or considerations when importing objects, processes or release packages
into an existing Blue Prism environment:
• The target version of Blue Prism must be the same or newer than the source version.
• Object, process and release package files only contain the information as outlined – typically they do
not contain data such as credential secrets, or work queue items.
Backup
For each component there are several items that can be backed up: some of them are essential to ensure
that a full system restore can take place, whereas others are optional and will simply reduce the effort in
achieving a restore.
• Interactive clients – items requiring mandatory backup.
• Runtime resources – No items requiring mandatory backup.
• Application servers – Mandatory backup required to prevent data loss.
• Database – Mandatory backup required to prevent data loss.
Interactive clients
Interactive clients do not contain any Blue Prism information that must be backed up in order to be re-built
or re-configured.
Detail Instructions
Mandatory None N/A
Optional Connection configuration Take a copy of Automate.config located here:
information C:\ProgramData\Blue Prism Limited\Automate V3
Contains the connection string
information for each Blue Frequency: Following a configuration change.
Prism environment. Secure backup location required? Only if the runtime
resource connects to the Blue Prism environment using
Blue Prism native authentication.
Runtime resources
Runtime resources do not contain any Blue Prism information that must be backed up in order to be re-built
or re-configured.
A runtime resource will typically be configured with an operating system, configuration, required software,
and have connectivity to the network and line of business applications. It is essential that the backup and
recovery plans include the ability to recreate these devices with this same base configuration.
Detail Instructions
Mandatory None N/A
Optional Connection configuration information Take a copy of Automate.config located
Contains the connection string information here:
for each Blue Prism environment. C:\ProgramData\Blue Prism
Limited\Automate V3
Frequency: Following a configuration
change.
Secure backup location required? Only if
the runtime resource connects to the Blue
Prism environment using Blue Prism native
authentication.
Windows Service login accounts Take a screenshot or make a note of the
The accounts used by Blue Prism services login accounts used by the relevant
such as Login Agent services. services within the Services console on the
relevant devices.
Login Agent configuration information Take a copy of LoginAgentService.config
Contains the connection and authentication located here:
information that ensures a Blue Prism C:\ProgramData\Blue Prism
runtime resource is available to orchestrate a Limited\Automate V3
login when the device is in a logged-out or
locked state. Only valid if Login Agent is used as part of
the deployment.
Frequency: Following a configuration
change.
Secure backup location required? Only if
the Login Agent runtime resource connects
to the Blue Prism environment using Blue
Prism native authentication.
Start-up procedure Depends on the start-up procedure.
The automated steps that contain the Commonly requires the Group Policy
connection and authentication information Management settings to be backed up;
which ensures a Blue Prism runtime resource otherwise it may be a backup of the
is started and available to work when the device’s scheduled task settings.
device is logged in. Frequency: Following a configuration
change.
Secure backup location required? No
Application server
Application servers contain information that are required in order to be re-built. If this data is lost, it will not
be possible to recover some of the data within the database – although it will not cause damage to the
system.
Detail Instructions
Mandatory Encryption scheme Only required if one or more encryption schemes are
information configured to store the key on the application server.*
(if stored on the application If Store Keys separately in individual files = yes*
server)
Contains critical information • Take a copy of the folder structure and *.bpk files in the
about the encryption schemes configured location.
used to protect data at rest. If no
• Take a copy of automate.config located here
C:\ProgramData\Blue Prism Limited\Automate V3
*See the Additional information on page 13 section for
further guidance.
Frequency: Following a configuration change.
Secure backup location required? Yes
Configuration file certificate Only required if the Blue Prism server is configured to
(with private key) protect the configuration files with a certificate, AND if the
(if used – v6.7+ only) back up of encryption scheme information occurred after
Provides the information the certificate has been applied.*
needed to decrypt the config Use Certificate Manager on each application server to
files that contains the export the certificate, along with its private key, whose
encryption scheme thumbprint matches the one configured in the
information. BPServer.exe.
*See the Additional information on page 13 section for
further guidance.
Frequency: When the certificate changes.
Secure backup location required? Yes
Optional Connection configuration Take a copy of Automate.config located at
information C:\ProgramData\Blue Prism Limited\Automate V3
Contains the connection string Secure backup location required? Yes
information for each Blue
Prism environment.
Windows Service login Take a screenshot or make a note of the login accounts
accounts used by the relevant services within the Services console
The accounts used by Blue on the relevant devices.
Prism services such as Blue Secure backup location required? No
Prism server services.
Database
The Blue Prism database contains information that must be backed up in order to be able to restore a Blue
Prism environment.
If backing up the database to create a new copy of the Blue Prism environment where it is likely that the
linked runtime resources will no longer be valid, it is strongly recommended that the runtime resources
connected to the environment are safely shut down before taking the database backup.
If the database is used to create a new Blue Prism environment and the previously connected runtime
resources will still be used with the old environment, or if they cannot be accessed from the new
environment, it may be necessary to contact Blue Prism Support for assistance following the database
restore if the runtime resources have not been safely shut down prior to taking the backup.
Detail Instructions
Mandatory Blue Prism database Blue Prism supports both Simple and Full SQL
Contains all settings and data used by recovery modes and it is recommended that the
the Blue Prism platform including, but benefits of each is reviewed to ensure the method
not limited to: objects; processes; chosen is appropriate to the criticality of the
credentials, and their secrets; work solution. If the database has been set to use a Full
queues; work queue items; user and recovery model, it is important that regular
access information; historical transaction log backups take place.
processing; and audit information. Backup Frequency: Regularly – to suit the
criticality of the environment.
Secure backup location required? Yes
Optional None
Additional considerations
While not required, consider setting up a central repository to store all the installer executables that you
use as part of setting up Blue Prism. This will likely include Blue Prism, Login Agent, as well as components
such as MAPIEx and JAB. It may also include items such as SQL Server, SQL Management Studio,
mainframe emulators, remote access agents, and other end user applications.
Restore
A full system restore can be achieved using the backed up mandatory items listed above. The guide
describes two restore scenarios:
• Restoring an environment to use a database backup
• Recreating a new environment from backups
If any invalid runtime resources were connected to the environment when the database backup
was taken, you may need contact Blue Prism Support to validate that all runtime resources are in
an appropriate offline state.
Using a backup of the 1. Place the file into the default or custom location
Automate.config file from the dependent on your configuration.
server The default location for the Automate.config file is:
C:\ProgramData\Blue Prism Limited\Automate V3
2. If the configuration file was protected using a certificate,
import the certificate, with private key, into the local store
on the computer.
3. Edit the profile using BPServer.exe and update the
database connection settings to direct to the newly
restored database.
Without a backup of the Follow the instructions in the installation guide to create a new
Automate.config file from the profile and configure it to connect to the newly restored
server database.
3. If the encryption scheme information is held in separate files, place these into a selected location that
is accessible to the application server and use BPServer.exe to edit the profile and update the
configured location of the stored keys.
4. Validate that the encryption scheme information is valid.
5. In BPServer.exe validate the settings for the selected connection mode, and disable the Scheduler
on this device.
6. Set the Blue Prism server service to operate under the selected user context.
7. Start the Blue Prism server service.
Using a backup of the 1. Place the file into the default or custom location
Automate.config file from an dependent on your configuration.
interactive client The default location for the Automate.config file is:
C:\ProgramData\Blue Prism Limited\Automate V3
2. If the interactive client is configured to connect directly
to the database, launch the client and update the
settings.
Without a backup of the 1. Follow the instructions in the installation guide to create
Automate.config file from an a new profile and configure it to connect to the
interactive client application server (or database).
2. Review the per-device settings such as whether a
personal runtime resource should be started when the
client is launched.
3. Launch the interactive client and validate that it can connect and works as expected.
Using a backup of the 1. Place the file into the default or custom location
Automate.config file from a dependent on your configuration.
Runtime Resource The default location for the Automate.config file is:
C:\ProgramData\Blue Prism Limited\Automate V3
2. If the interactive client is configured to connect directly
to the database, launch the client and update the
settings.
Without a backup of the 1. Follow the instructions in the installation guide to create
Automate.config file from a a new profile and configure it to connect to the
Runtime Resource application server (or database).
3. Validate that the automatic start-up procedures for the runtime resource are applied.
4. If used, follow the instructions in the Login Agent user guide to reinstall Login Agent and if available
overwrite the newly generated configuration file with the backup.
5. Start the runtime resource.
6. Use the interactive client to start a session on the runtime resource to validate its behavior.
Clean up actions
Following a full system restore the following recommendations should be reviewed:
• Validate that Blue Prism license terms are not being breached – as the database contains license
information, validate that the same license entitlement is not active elsewhere.
• If the runtime resources in the recreated environment have different device names, the following
should be carried out by an administrator within the System tab of an interactive client:
• Reconfigure schedules to use the new names.
• Reconfigure resource pools (if used).
• Retire runtime resources that are no longer valid.
• Ensure that organizational local security policy or group policy settings applied to runtime resources
are consistent with those applied to the original devices.
• Re-configure any specific network routing that may be required (i.e. if providing programmatic
access to the application server or direct to any runtime resources).
• Re-configure any exposed objects or processes as web services.
• Re-establish backup procedures for the new environment.
If any runtime resources connected to the environment when the database backup was generated are no
longer valid, you may need contact Blue Prism Support to validate that all runtime resources are in an
appropriate offline state.
Additional information
Application server
Locating the certificate used to protect the application server configuration file
A feature introduced in Blue Prism v6.7 allows users to select to encrypt the Blue Prism application server
configuration using a deployed certificate. To detect whether this has been configured:
1. Open BPServer.exe and click Encryption Settings.
2. If the option Use own certificate is selected, then encryption is applied and the thumbprint will
indicate which certificate in the local store is used.
3. Use the thumbprint in the search utility in the device’s local certificate store to find the certificate.
(Search based on the SHA1 Hash field.)
Database