Fortinet black logo

Administration Guide

Backup or restore a database

Copy Link
Copy Doc ID dc02a854-ab11-11ea-8b7d-00505692583a:956393
Download PDF

Backup or restore a database

A database backup creates a backup of the entire database. All database archives can be restored if the database becomes corrupted. To restrict the restoration to only alarms, connections, or events data, go to those specific views and select the Import option. See Alarms, Connections, and Events for more information.

Restoring a database archive causes the FortiNAC Server or Control Server to restart.

  1. Click System > Settings.
  2. Expand the System Management folder.
  3. Select Database Backup/Restore from the tree.

Schedule a database backup

  1. Under Schedule Database Backup, click Modify Schedule.

  2. Select the Enabled check box.
  3. Enter a name for the task in the Name field.
  4. The Description field is optional. Enter a description of the task.
  5. Action type and Action are pre-configured based on the task and cannot be modified.
  6. From the Schedule Type drop down list, select either Fixed Day or Repetitive and set the day and time that the task is to be performed.
  7. A Fixed Day Task is one in which you schedule a task to run on a combination of days of the week and times of the day, such as Mondays at 1:00 pm and Fridays at 10:00 am. Select the day(s) and time to run the task.
    1. Click the box next to the day(s) to select the day.
    2. Click the down arrows and select the hour, minutes, and AM or PM from the drop-down list for each day.
    3. To enter days/times more quickly, select Set Multiple Days to set multiple days with the same time.
    4. To remove all settings, click Clear All.
  8. A Repetitive Task is one that you schedule to start on a given day, at a certain time, for the number of times you specify, such as every 10 days starting today. The repetition rate can be set to any number of minutes, hours, or days.

    1. Enter the Repetition Rate using whole numbers. A repetition rate of zero causes the task to run only once.

    2. Click the down arrow and select Minutes, Hours, or Days from the drop-down list.
    3. Enter the date and time for the task to run in the Next Scheduled Time field using the format MM/DD/YY hh:mm AM/PM Time Zone.

    4. Click Update to update the Next Scheduled Time field or change the Repetition Rate.

      The new Repetition Rate does not take effect immediately. It starts the next time the scheduled task runs. For the new Repetition Rate take effect immediately, click Update.

  9. Click OK.
Schedule settings

Field

Definition

Remove local backups older than

Number of days for which you would like to keep backups. Anything older than the number of days entered, is removed the next time the scheduled task for backups runs. This setting removes backup files created on the FortiNAC server before they are copied to the remote server. Backups on the remote server are not removed.

The timing of the scheduled backup task and the age of the files that are to be removed must be thought out carefully or you will remove all of your backups. For example, if the remove option is set to 5 days and your backup task runs every 15 days, you may inadvertently remove all of your backups. However, if the remove option is set to 15 days and the backup task runs every 5 days, then you would always have backup files.

Status

Indicates whether the task is enabled or disabled.

Schedule Interval

How often the scheduled task runs.

Next Scheduled Time

The next date and time the scheduled synchronization task will run. Entered in the format MM/DD/YY HH:MM AM/PM

Modify Schedule

Allows you to modify the scheduled activity.

Run Now

Runs the scheduled task immediately.

Restore a database

  1. Click on a backup to select it.
  2. Click Restore Database.

Backup or restore a database

A database backup creates a backup of the entire database. All database archives can be restored if the database becomes corrupted. To restrict the restoration to only alarms, connections, or events data, go to those specific views and select the Import option. See Alarms, Connections, and Events for more information.

Restoring a database archive causes the FortiNAC Server or Control Server to restart.

  1. Click System > Settings.
  2. Expand the System Management folder.
  3. Select Database Backup/Restore from the tree.

Schedule a database backup

  1. Under Schedule Database Backup, click Modify Schedule.

  2. Select the Enabled check box.
  3. Enter a name for the task in the Name field.
  4. The Description field is optional. Enter a description of the task.
  5. Action type and Action are pre-configured based on the task and cannot be modified.
  6. From the Schedule Type drop down list, select either Fixed Day or Repetitive and set the day and time that the task is to be performed.
  7. A Fixed Day Task is one in which you schedule a task to run on a combination of days of the week and times of the day, such as Mondays at 1:00 pm and Fridays at 10:00 am. Select the day(s) and time to run the task.
    1. Click the box next to the day(s) to select the day.
    2. Click the down arrows and select the hour, minutes, and AM or PM from the drop-down list for each day.
    3. To enter days/times more quickly, select Set Multiple Days to set multiple days with the same time.
    4. To remove all settings, click Clear All.
  8. A Repetitive Task is one that you schedule to start on a given day, at a certain time, for the number of times you specify, such as every 10 days starting today. The repetition rate can be set to any number of minutes, hours, or days.

    1. Enter the Repetition Rate using whole numbers. A repetition rate of zero causes the task to run only once.

    2. Click the down arrow and select Minutes, Hours, or Days from the drop-down list.
    3. Enter the date and time for the task to run in the Next Scheduled Time field using the format MM/DD/YY hh:mm AM/PM Time Zone.

    4. Click Update to update the Next Scheduled Time field or change the Repetition Rate.

      The new Repetition Rate does not take effect immediately. It starts the next time the scheduled task runs. For the new Repetition Rate take effect immediately, click Update.

  9. Click OK.
Schedule settings

Field

Definition

Remove local backups older than

Number of days for which you would like to keep backups. Anything older than the number of days entered, is removed the next time the scheduled task for backups runs. This setting removes backup files created on the FortiNAC server before they are copied to the remote server. Backups on the remote server are not removed.

The timing of the scheduled backup task and the age of the files that are to be removed must be thought out carefully or you will remove all of your backups. For example, if the remove option is set to 5 days and your backup task runs every 15 days, you may inadvertently remove all of your backups. However, if the remove option is set to 15 days and the backup task runs every 5 days, then you would always have backup files.

Status

Indicates whether the task is enabled or disabled.

Schedule Interval

How often the scheduled task runs.

Next Scheduled Time

The next date and time the scheduled synchronization task will run. Entered in the format MM/DD/YY HH:MM AM/PM

Modify Schedule

Allows you to modify the scheduled activity.

Run Now

Runs the scheduled task immediately.

Restore a database

  1. Click on a backup to select it.
  2. Click Restore Database.