DescriptionIf database corruption has occurred, it may be necessary to restore an older database.
NOTE:
- Any hosts registered since the date and time of the older database will become rogue again once the database is restored.
- Any devices added to Topology since the older database time will also be removed.
Solution1. SSH to the Control Server and login with root credentials.
2. Navigate to the backup directory and shut down the control processes.
cd /bsc/campusMgr/master_loader/mysql/backup/
shutdownCampusMgr
3. Load the desired database.
../ydb_restore_full_backup <filename>
Example:
../ydb_restore_full_backup NetworkSentry_DataBase_BackUp_2017_05_29_01_01_22
Command prompt will return once database is loaded.
4. Start Network Sentry processes.
startupCampusMgr
Related Articles
Technical Note: Loading an older database via administrative UI