Cisco Cisco Prime Central 1.1 Installation Guide

Page of 53
52
   
8  
Backing Up and Restoring the Embedded Database
As the primeusr, enter the commands shown in 
 to back up and restore the Prime Central embedded database. 
Note the following:
Shut down the Prime Central portal and the Prime Central integration layer before restoring the database. Restart them 
after the database restore is complete. 
By default, the option to enable backups is checked during installation. If you uncheck it during installation but later decide 
to enable automatic backups, you must enter the emdbctl --enable_backup command to do so.
An automatic backup runs daily at 4:00 a.m. A full backup runs every Saturday; incremental backups run on all other days.
By default, Prime Central saves eight database backups. Your system administrator must back up the database backups and 
archive directories to tape daily.
The emdbctl --restore command prompts you to enter a date and time to restore a database backup. The format is 
MM-DD-YYYY HH:MI; for example, 06-30-2012 03:34. If you enter a date in the wrong format, or if the backup cannot 
be restored for the date and time entered, the database will instead be restored to the most recent possible date and time.
9  
Backing Up and Restoring the Fault Management Database
Prime Central Fault Management alarms are stored in the OMNIbus database on the Fault Management server. These same 
alarms are also forwarded and stored on the Prime Central Oracle database. Both the Prime Central and Fault Management 
databases are automatically backed up daily. By default, the Fault Management backups are saved in 
$NCHOME/omnibus/backup/NCOMS/. You can create a cron job that periodically copies the backups to an offsite location.
If a manual backup is required, you can back up and restore the data manually.
Backing Up the Fault Management Database Manually
To back up the Fault Management database manually:
Step 1
Stop the Fault Management server:
./FaultMgmtStop.sh
Step 2
Back up the database:
cp -r $NCHOME/omnibus/db/NCOMS/* 
backup-location/db
Step 3
Back up the miscellaneous files, if they were changed manually:
cp -r $NCHOME/omnibus/etc
 backup-location/misc
Table 10
Commands to Back Up and Restore the Database
Action
Command
Start
emdbctl --start
Stop
emdbctl --stop
Enable backups
emdbctl --enable_backup
Back up the database
emdbctl --backup
Restore the database
emdbctl --restore