Fortinet black logo

CLI Reference

system ha backup-config

system ha backup-config

Use this command to export the configuration file of the HA nodes. It only backs up the configurations synchronized between HA nodes. The most common scenario for using this command is to compare the configuration files between the HA nodes and check which part of the configuration is not synchronized as expected.

To use this command, your administrator account’s access control profile must have either w or rw permission to the sysgrp area. For details, see Permissions.

Syntax

diagnose system ha backup-config <node-id>

Example

diagnose system ha backup-config 1

system ha backup-config

Use this command to export the configuration file of the HA nodes. It only backs up the configurations synchronized between HA nodes. The most common scenario for using this command is to compare the configuration files between the HA nodes and check which part of the configuration is not synchronized as expected.

To use this command, your administrator account’s access control profile must have either w or rw permission to the sysgrp area. For details, see Permissions.

Syntax

diagnose system ha backup-config <node-id>

Example

diagnose system ha backup-config 1