Backup_and_Disaster_Recovery_us
Backup_and_Disaster_Recovery_us
Backup_and_Disaster_Recovery_us
Installation manual
for system providers and tenants
8/13/2024
Please note that you can always find the most up-to-date technical documentation and product updates in the partner area on our
website at https://www.asctechnologies.com.
Windows is a registered trademark of Microsoft Corporation. VMware® is a registered trademark of VMware, Inc. All other marks
and names mentioned herein may be trademarks of their respective companies.
Contents
1 Introduction................................................................................................................. 5
2 Preconditions.............................................................................................................. 6
10 Troubleshooting ....................................................................................................... 40
Glossary .................................................................................................................... 43
Index .......................................................................................................................... 44
1 Introduction
This manual describes the preconditions and the procedure to create backups and to recover
data after a partial or total failure of the system.
ASC offers different possibilities to backup the data of a Neo system before a failure. It does not
matter which recording architecture you use or whether you deploy a single- or a multi-core sys-
tem. The following backup scenarios can be used with all architecture types and core variants.
In general, you have to distinguish between the following terms:
• Backup of recordings
This is the communication data itself (audio, video, screen or chat). This data is stored on
external media for long-term data storage.
• Backup of metadata
This is the additional data corresponding to the calls. It is saved in the database and can be
stored long-term by means of the database backup.
• Backup of the system configuration
This is a backup of the entire configuration of the application System Configuration con-
tained in a database backup.
Solution concept
For PostgreSQL databases, a backup job is set up during the installation of the Neo recording
software which backs up the PostgreSQL database every 24 hours. As many as five complete
backups are stored before the oldest backup is overwritten. This guarantees that the latest data-
base backups of the last 5 days are available. These backups are stored in the directory
\ASCDATA\DatabaseBackup. By configuring an automatic copy job to external drives, e. g. to a
backup server in the customer environment, backups can be saved separately. This solution
safeguards the database until the latest backup.
For external MSSQL databases, you must set up a backup job manually.
Possible gaps from the latest backup to the latest recording can be filled with the import func-
tionality Neo Rebuild.
For information about the import functionality Neo Rebuild refer to the administration manual for
system providers Rebuild of recordings.
The restore should definitely be carried out by an authorized ASC service technician. Contact
your local ASC support or call ASC support at +49 700 27278776.
2 Preconditions
For the recovery of the recording system, the following information must be available:
• System ID and order number
This additional information can be found in the application System Configuration by clicking
on the icon at the top left. Select the menu item Info in the context menu. By clicking on
the button Additional Information at the bottom right, a window opens which contains the Li-
cense Information.
• Machine ID of the affected servers
either by means of the registry key
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\ASC\Common\machineId
or by means of the file name of the backup log file: \ASCDATA\DatabaseBackup, see chap-
ter "Read out machine ID", p. 16.
• Backup of the data directory
C:\Program Files (x86)\ASC\ASC Product Suite\data, see chapter "Backup data di-
rectory", p. 15.
• Backup of the database, see chapter "Create database backups", p. 8.
• Backup of the call data partition with the recordings
\ASCDATA, see chapter "Back up CallPool", p. 16
• Backup of the system configuration for script adaptions by ASC, see chapter "Read out
system configuration", p. 16.
Do not try to create a snapshot while operating the system. You have to shut down all applica-
tions before creating a snapshot. After a successful check of the system functions after the up-
date, delete the snapshots! Otherwise the snapshots affect the performance of the IO activities
in this VM which may cause an unpredictable system behavior or even system failures.
After an installation and after changes in the configuration, create the following backups to be
able to fall back on them in case of a failure.
Take a written note of the entire number of the version which has been installed. A restore can
only be carried out successfully with the same or a higher version.
For information about customer-specific non-standard settings of the backup job for Post-
greSQL databases (e. g. the path of the database backup or the number of local or remote
database backups) refer to the description of entries in the main view of the administration
manual for system providers System Configuration - Expert Settings.
To create a backup of the PostgreSQL database, the PostgreSQL server must be running.
The following configuration has to be carried out as postgres windows user.
A script is available for creating a backup for the content of the PostgreSQL database.
1. Open the command prompt as administrator.
2. Change to the directory C:\Program Files (x86)\ASC\ASC Product Suite\scripts.
3. Enter database backup to execute the script database.bat.
4. Once the backup has run through properly, you find the backup file with the current date in
the following path:
\ASCDATA\DatabaseBackup
5. Check the size of the backup file. It must be approximately 20-30 % of the database.
Fig. 3: System settings - Name system variable and enter storage path
Please note that the Windows user Postgres must have read and write permissions for the di-
rectory so that the backup can be saved there.
8. Click on the button OK to save the entries and close the window.
ð The system variable appears in the list of system variables.
For information about configuring a failover concept for databases and resetting failover opera-
tion refer to the installation manual for system providers Failover operation for PostgreSQL
databases.
4. Select the database Databases > asc_rs from the directory tree.
5. Right-click on the database asc_rs.
6. Select the menu item Tasks > Back Up from the context menu.
ð The following window appears:
Database asc_rs
Backup type full
Backup component Database
Tab. 1: Configure backup options
Back up to From the drop-down list, select the medium on which you would like to store
the backup.
• Disk
• URL
Tab. 2: Configure backup options
1. To change the path or add an additional one, click on the button Add.
To remove a path, click on the button Remove.
2. To display the content of the path with the completed backup files, select the target path
and click on the button Contents.
Set backup compression: Select the compression from the drop-down list.
The following options are available:
• Use the default server settings
• Compress backup
• Do not compress backup
Tab. 8: Configure compression
Fig. 9: Notification
1. In the command line cmd run the program ASC.RecordingControl.exe by entering the fol-
lowing syntax:
ASC.RecordingControl.exe --rebuild_scan [-l|-c] <path>
Example:
ASC.RecordingControl.exe --rebuild_scan -l -c "\ASCDATA\CallPool"
Issued:
Scan dir C:\ASCDATA\CallPool
Scan dir C:\ASCDATA\CallPool\90b3db81-6442-46d5-9dbf-66a3d550dc41.AscTenant
Scan dir C:
\ASCDATA\CallPool\90b3db81-6442-46d5-9dbf-66a3d550dc41.AscTenant\YEAR_2015
Scan dir C:
\ASCDATA\CallPool\90b3db81-6442-46d5-9dbf-66a3d550dc41.AscTenant\YEAR_2015\MO
NTH_11
Scan dir C:
\ASCDATA\CallPool\90b3db81-6442-46d5-9dbf-66a3d550dc41.AscTenant\YEAR_2015\MO
NTH_11\DAY_21
Scan dir C:
\ASCDATA\CallPool\90b3db81-6442-46d5-9dbf-66a3d550dc41.AscTenant\YEAR_2015\MO
NTH_11\DAY_21\HOUR_08
TenantId 90b3db81-6442-46d5-9dbf-66a3d550dc41 8f431766-2a3e-4f52-9f14-
afa2a4b45a7b:6001 8f431766-2a3e-4f52-9f14-afa2a4b45a7b:6000
Scan dir C:
\ASCDATA\CallPool\90b3db81-6442-46d5-9dbf-66a3d550dc41.AscTenant\YEAR_2015\MO
NTH_11\DAY_23
Scan dir C:
\ASCDATA\CallPool\90b3db81-6442-46d5-9dbf-66a3d550dc41.AscTenant\YEAR_2015\MO
NTH_11\DAY_23\HOUR_15 93976f3a-c0df-4736-a550-2dad40c69368:6001
Backup decoder:
1. Change to the path
C:\Program Files\EML\emlDecoder
and backup the file decoder.properties.
When updating the EML software, the EML setup automatically updates the decoders.
When updating the transcription server, you must install the backups manually.
5 Failure scenarios
The program pgAdmin requires a password. Contact your local ASC support or call ASC sup-
port at +49 700 27278776 for your password.
7 Exchange drive
If a drive is defective and you have to exchange it, proceed as follows to move the CallPool:
1. Open the folder C:\Program Files (x86)\ASC\ASC Product Suite\scripts\ and stop all ASC
services with the command stop.all.
2. Add a new partition or drive and assign a temporary drive letter.
3. Copy or relocate the directory \ASCDATA to the new partition.
4. Remove the previous partition so that the drive letter is available again.
NOTICE! It is not sufficient to just rename the partition.
5. Assign the drive letter which is now available again to the new partition.
6. Start the service ASC ServiceMan so that it starts all other services.
7. Check that all services are running and start services which have not started yet manually.
8. Start the recording.
9. Check that recordings can be replayed correctly.
For systems using EML speech analysis, you must copy back the following files and directories
after the restore for the decoder and the transcription server:
Restore decoder:
1. Copy the backup of the file decoder.properties
back to path
C:\Program Files\EML\emlDecoder
When updating the EML software, the EML setup automatically updates the decoders.
When updating the transcription server, you must install the backups manually.
During a restore, you must use the same drive letters that have been used during the initial in-
stallation.
If no database backup is available, get in touch with your sales contact at ASC to order a pro-
fessional service to solve the problem.
To install a backup, continue with the respective instructions for the database you are using.
• See chapter "Restore PostgreSQL database", p. 25.
• See chapter "Restore MSSQL database", p. 30.
The program pgAdmin requires a password. Contact your local ASC support or call ASC sup-
port at +49 700 27278776 for your password.
1. Before the restore, copy the saved configuration files to the database.
2. Right-click on the database instance asc_rs that you would like to restore.
Format From the drop-down list, select the entry Custom or tar.
Filename Select the backup file from which you would like to restore the
database by clicking on the folder icon.
Rolename From the drop-down list, select the entry postgres.
Tab. 9: Select restoration file
After the restore, the notification to configure the binary path for the database appears.
7. Select the menu item File > Preferences to enter the binary path for the database.
8. In the line of the respective PostgreSQL version, click on the folder icon to select the path
to the binary files.
If you have to restore a failover configuration on the standby server, copy the configuration files
back into the database directory. For further information refer to the installation manual for sys-
tem providers Failover operation for PostgreSQL databases.
9.2.1.3 Updater
After the database restore, you must start the Updater so that the general program parts can be
installed subsequently.
There are 2 options for a restore with the Updater:
1. Start Updater in simple mode
2. Start Updater in isolation mode
During a restore in isolation mode, the firewall is not opened during the updater routine but the
rule ASC_BLOCK_ALL_OUTBOUND is activated blocking all outbound connections with the excep-
tion of:
• TCP 389, 636 (LDAP),
• TCP 1433 MS SQL (for the external database),
• TCP 3389 RDP (Remote access),
• TCP 5432 PostgreSQL (for external DB)
• UDP 123 NTP
Afterwards, you must remove the rule ASC_BLOCK_ALL_OUTBOUND and open the firewall.
To do so, proceed as follows:
1. Change to the installation directory
C:\Program Files (x86)\ASC\ASC Product Suite\Updater
2. Start the Updater with the following parameter:
updater.exe --isolate
3. Restart the server once the Updater has run through.
4. Ensure that the Updater process has been successful and that the configuration files have
been applied.
5. To switch to the new server, you must shut down the previous server.
6. Then restart the Updater on the new server but with the parameter:
updater.exe --open
to remove the blocking of the connections and open the firewall.
7. Proceed with the conclusive steps,
see chapter "Conclusive steps", p. 33.
Source
Device Activate this option if the backup has been stored on a different medium.
Database From the drop-down list, select the database backup from which you would
like to restore the database, e. g. asc_rs.
Tab. 10: Select restoration file
Destination
Database From the drop-down list, select the database you would like to restore, e. g.
asc_rs.
Restore to Select the backup that you would like to use for the restore. If you do not
want to use the suggested backup for the restore, you can select a different
backup by clicking on the button Timeline.
Tab. 11: Select destination
9.2.2.2 Updater
After the database restore, you must start the Updater so that the general program parts can be
installed subsequently.
There are 2 options for a restore with the Updater:
1. Start Updater in simple mode
2. Start Updater in isolation mode
During a restore in isolation mode, the firewall is not opened during the updater routine but the
rule ASC_BLOCK_ALL_OUTBOUND is activated blocking all outbound connections with the excep-
tion of:
• TCP 389, 636 (LDAP),
• TCP 1433 MS SQL (for the external database),
• TCP 3389 RDP (Remote access),
• TCP 5432 PostgreSQL (for external DB)
• UDP 123 NTP
Afterwards, you must remove the rule ASC_BLOCK_ALL_OUTBOUND and open the firewall.
To do so, proceed as follows:
1. Change to the installation directory
C:\Program Files (x86)\ASC\ASC Product Suite\Updater
2. Start the Updater with the following parameter:
updater.exe --isolate
3. Restart the server once the Updater has run through.
4. Ensure that the Updater process has been successful and that the configuration files have
been applied.
5. To switch to the new server, you must shut down the previous server.
6. Then restart the Updater on the new server but with the parameter:
updater.exe --open
to remove the blocking of the connections and open the firewall.
7. Proceed with the conclusive steps,
see chapter "Conclusive steps", p. 33.
For detailed information about importing certificates refer to the installation manual for system
providers Installation of Neo Suite.
Data which has been encrypted with one of the following methods cannot be imported:
- Neo key management
When Neo Key Management is used and there is no backup of the database, the Neo Rebuild
function cannot be used. It is not possible to restore encrypted data if its key is not available
anymore.
For the import with the feature Neo Rebuild, the following drives are supported:
• NAS- drives
• Azure Blob Storage
• Google Cloud Storage
For information about setting up and configuring drives refer to the administration manual for
system providers Configuration drives.
In a multi-tenant system, you have to run a separate import job for each tenant.
4. Click on the icon (Create) in the toolbar of the main view to configure the import format
for Neo Rebuild.
The rebuild functionality has to be carried out for each tenant sepa-
rately.
Conversations with • Import without mapping
employees without im- The conversations without mapping are imported but cannot be
port key mapped to an agent, i. e. only the superuser can see the record-
ings.
• Don’t import
The conversations are not imported into the destination system.
Start time / If you have selected the import format Neo Rebuild, you can limit the
End time period from which recordings are supposed to be imported.
Define the start time and the end time to limit the import to the exact
period during which data was lost. You can set the period generously;
already existing conversations are not imported again.
Alternatively, you can enter either only the start time or the end time.
If you enter neither a start time nor an end time, the import period is un-
limited.
You can enter the date directly in both entry fields via the keyboard or
by clicking on the icon .
NOTICE!
You do not have to select a PBX; the conversations of all PBXs assigned to the selected tenant
are imported.
A recording architecture must have been configured on the server where the Neo Rebuild is
carried out. If required, configure its own All-in-one Basic Recording recording architecture with
a Universal Import PBX for the import for the Neo Rebuild. The drive must have been mapped
to this server, too.
A drive can be used in several job configurations as long as the drive is not used actively by a
configuration.
If a drive is currently used actively by a job, no additional job which uses the same drive can
be released or activated. This behavior includes all modules, i. e. regardless of the module that
the configuration belongs to.
Source drive Select the drive from which the data is supposed to be imported, see chap-
ter "Assign drive", p. 38.
The import job only works for the local CallPool and
for connected NAS drives.
Other storage expansions are not supported.
10 Troubleshooting
If the conversations have not been imported correctly, check the log files. The logfiles can be
found in directory C:\Program Files (x86)\ASC\ASC Product Suite\logs\.
• RecordingControl\ASC.RecordingControl.log
• EnterpriseCore\ASC.EnterpriseCore.log
• FileMan\ASC.FileMan.log
List of figures
List of tables
Glossary
CSV
Comma-separated values is a file format which stores tabular data in plain text form.
NAS
Network Attached Storage is a file-level computer data storage server connected to a com-
puter network providing data access to other devices on the network. NAS is usually used to
provide independent storage capacity in a computer network without major effort. (Source:
Wikipedia 4th May 2017)
PBX
Private Branch Exchange
UNC
The Microsoft Windows UNC, short for Universal Naming Convention or Uniform Naming
Convention, specifies a common syntax to describe the location of a network resource, such
as a shared file, directory, or printer. The UNC syntax for Windows systems has the generic
form: \\ComputerName\SharedFolder\Resource. Microsoft often refers to this as a "network
path". Some Microsoft Windows interfaces also allow or require UNC syntax for WebDAV
share access, rather than a URL. The UNC syntax is extended[7] with optional components to
denote use of SSL and TCP/IP port number, a WebDAV URL of http[s]://HostName[:Port]/
SharedFolder/Resource becomes \\HostName[@SSL][@Port]\SharedFolder\Resource When
viewed remotely, the "SharedFolder" may have a name different from what a program on the
server sees when opening "\SharedFolder". Instead, the SharedFolder name consists of an
arbitrary name assigned to the folder when defining its "sharing". (Source: Wikipedia
05.05.2022)
VM
Virtual machine
Index