Skip to main content
FortiKoala
Staff
Staff
Sep 28, 2018 2:28 PM UTC

Technical Tip: Loading an older database via CLI

  • Apr 16, 2026 1:19 PM UTC
  • 0 replies
  • 1073 views
  • Translate All

Description

 

This article describes that if a 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.

 

Scope

 

FortiNAC.


Solution

 

  1. SSH to the Control Server and log in with root credentials.

  2. Navigate to the backup directory and shut down the control processes.

cd  /bsc/campusMgr/master_loader/mysql/backup/
shutdownNAC
 
  1. Load the desired database.

../ydb_restore_full_backup  <filename>
 
Example:  
 
../ydb_restore_full_backup NetworkSentry_DataBase_BackUp_2017_05_29_01_01_2
 
The command prompt will return once the database is loaded.
 
  1. Start Network Sentry processes.
     
    startupNAC
Related article:

Technical Note: Loading an older database via administrative UI

Risk and Resilience in the Age of AI. An OT Thought Leadership Summit for Houston's Critical Infrastructure Leaders. Date: Thursday, December 3, 2026. Time: 8:30 am - 1:30 pm (CT). Location: The Westin Houston, Memorial City | 945 Gessner Road, Houston, TX 77024