- Backup and Restore Guide
- Restoring Backup
- Restore Procedure for Backup Created Using Strategy 1
- Restoring Block Storage
Restoring Block Storage
This section describes the procedure for restoring the backup of Session Monitor's Block Storage. This section is applicable only if node type is Mediation Engine.
- If you are planning to restore the backup from a Remote Server, make sure you have enabled passwordless login by transferring SSH key from Remote Server to Session Monitor Server. For more information, see Generate SSH Key
- Transfer the Block Storage Backup from the Remote Server or Shared Drive. This
will download all the Block Storage Backup files from Remote Server or Shared
Drive on to your new Session Monitor Server.
- For Remote Server:Transfer the Block Storage Backup by running the following rsync command in the newly installed Session Monitor Server:
For example:rsync -avh <User>@<Remote_Server_IP>:<path_to_MySQL_backup_directory> /opt/oracle/ocsm/var/vsi/storage/
rsync -avh root@10.184.19.114:/root/ocsmBackup/blockStorageBackup/ /opt/oracle/ocsm/var/vsi/storage/
or
- For the Shared Drive:
Transfer the Block Storage Backup by running the following rsync command in the newly installed Session Monitor Server:
rsync -avh <path_to_block_backup_directory> /opt/oracle/ocsm/var/vsi/storage/
For example:
rsync -avh /mnt/oracle/ocsmBackup/blockStorageBackup/ /opt/oracle/ocsm/var/vsi/storage/
Note:
During the restore process, If copying of block storage files are interrupted due to any network connection issue, system restarts, etc. Re-run the same above rsync command to resume the copying.Note:
It can take significant time to restore the block storage files depending on the block storage data and the network bandwidth.
- For Remote Server:
- Give necessary permission for blocks file by running the following
commands:
chown -R ocsm:ocsm /opt/oracle/ocsm/var/vsi/storage/*