Backup and Restore
This topic describes how to perform backups and restore the Operations Hub database.
Before you begin
Procedure
- Download the PowerShell scripts for backup, restore, and scheduler.
- Unzip the downloaded file to access the scripts and jar files.
- Perform an Operations Hub backup.
- Restore from an Operations Hub backup.
- Schedule a backup of Operations Hub.
Back Up the Operations Hub Database
Restore the Operations Hub Database
Before you begin
Refer Backup and Restore.
Procedure
Schedule Operations Hub Database Backup
Before you begin
Procedure
- Launch Windows PowerShell, and navigate to the location of the backup scheduler script file.
-
Execute
BackupScheduler_OperationsHub.ps1
to schedule a backup.
Results
C:\ProgramData
.- When you run a
.ps1
PowerShell script you might get the following message.ps1 is not digitally signed. The script will not execute on the system.
To fix it you have to run the following command to runSet-ExecutionPolicy
and change the Execution Policy setting.
This command sets the execution policy to bypass for only the current PowerShell session after the window is closed. The next PowerShell session will open running with the default execution policy. ???Bypass??? means nothing is blocked. No warnings, prompts, or messages are displayed.Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass
- For LDAP user connectivity, make sure the Active Directory server is
accessible to both the servers:
- the server from where we take the data backup
- the server to which we restore the data
Invalid Credentials
error message appears.