Database backup and restore by using dbman, Database backup and restore in imc stateless, Failover – H3C Technologies H3C Intelligent Management Center User Manual

Page 92

Advertising
background image

85

Database backup and restore by using DBMan

Database backup and restoration includes the following types:

Database backup and restoration for a single IMC system—You can configure DBMan to
automatically or manually back up the database files to the local server. However, you can only

manually restore the backed up database files.

Database backup and restoration in IMC stateless failover—The primary server automatically
backs up and uploads database files to the backup server. The backup server performs automatic

restoration. When the primary server fails, IMC automatically switches to the backup server.

Database backup and restore for a single IMC system

To back up the local database of a single IMC system, perform manual backup or configure automatic

backup by using DBMan. For more information, see "

Manual backup

" or "

Automatic backup

."

To restore the local database for a single IMC system, perform manual restoration. For more information,

see "

Manual restore

."

Database backup and restore in IMC stateless failover

CAUTION:

Before you configure DBMan, make sure the primary and backup servers use the same operating system,
IMC version and patches, and database type and version.

Commonly used stateless failover scenarios are configured as follows:

The primary IMC system is deployed in centralized mode and uses an embedded database.

The failover system is deployed in centralized or distributed mode.

The license type is selected as primary server license on the primary server, and as backup server license

on the master of the failover system.
Automatic backup and automatic restoration are configured on the primary server and backup server

respectively.
In a stateless failover scenario, the primary server performs the following operations:

1.

Uses DBMan to periodically back up database files.

2.

Uploads the backup database files to the backup server.

3.

Instructs the backup server to perform automatic restoration to synchronize data from the primary
server.

Then the backup server automatically restores database files.

NOTE:

In a stateless failover scenario, you can perform any of the operations in the Auto Backup and Recovery
Settings dialog box to back up data:

Clear the option Delete local files after upload even if upload fails in the automatic backup
configuration on the primary server.

Set a path in Backup files location fields in the automatic restoration configuration on the backup server.

Advertising