Fortinet Document Library

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:


Table of Contents

CLI Reference

faz-cdb

Use these commands for FortiAnalyzer database configuration related settings.

faz-cdb fix

Use this command to fix the FortiAnalyzer configuration database.

Syntax

diagnose faz-cdb fix check-report-folder <adom name>

diagnose faz-cdb fix fix-report-folder <adom name>

Variable

Description

check-report-folder

Check FortiAnalyzer configuration database report folders from the last upgrade backup.

fix-report-folder

Fix FortiAnalyzer configuration database report folders from the last upgrade.

<adom name>

Enter the ADOM name or enter all for all ADOMs.

faz-cdb reset

Use this command to reset the FortiAnalyzer configuration database.

Syntax

diagnose faz-cdb reset

faz-cdb upgrade

Use this command to upgrade the FortiAnalyzer configuration database.

Syntax

diagnose faz-cdb upgrade check-adom <adom name>

diagnose faz-cdb upgrade check-global

diagnose faz-cdb upgrade export-config <adom name> <service> <ip> <user> <password> <path/filename>

diagnose faz-cdb upgrade import-config <adom name> <service> <ip> <user> <password> <path/filename>

diagnose faz-cdb upgrade log

diagnose faz-cdb upgrade summary

Variable

Description

check-adom

Check the last ADOM upgrade result.

check-global

Check the last global upgrade result.

export-config

Export the FortiAnalyzer configuration database files.

import-config

Import the FortiAnalyzer configuration database files.

log

Display the FortiAnalyzer configuration database upgrade log.

summary

Display the FortiAnalyzer configuration database summary.

<adom name>

Enter the ADOM name or enter all for all ADOMs.

<service>

Enter the transfer protocol one of: ftp, sftp, or scp.

<ip>

Enter the server IP address. For FTP, the port can be specified by adding :port to the server IP address.

<user>

Enter a user name of the remote server.

<password>

Enter the password or '-' for user.

<path/filename>

Enter the path/ filename on remote server.

faz-cdb

Use these commands for FortiAnalyzer database configuration related settings.

faz-cdb fix

Use this command to fix the FortiAnalyzer configuration database.

Syntax

diagnose faz-cdb fix check-report-folder <adom name>

diagnose faz-cdb fix fix-report-folder <adom name>

Variable

Description

check-report-folder

Check FortiAnalyzer configuration database report folders from the last upgrade backup.

fix-report-folder

Fix FortiAnalyzer configuration database report folders from the last upgrade.

<adom name>

Enter the ADOM name or enter all for all ADOMs.

faz-cdb reset

Use this command to reset the FortiAnalyzer configuration database.

Syntax

diagnose faz-cdb reset

faz-cdb upgrade

Use this command to upgrade the FortiAnalyzer configuration database.

Syntax

diagnose faz-cdb upgrade check-adom <adom name>

diagnose faz-cdb upgrade check-global

diagnose faz-cdb upgrade export-config <adom name> <service> <ip> <user> <password> <path/filename>

diagnose faz-cdb upgrade import-config <adom name> <service> <ip> <user> <password> <path/filename>

diagnose faz-cdb upgrade log

diagnose faz-cdb upgrade summary

Variable

Description

check-adom

Check the last ADOM upgrade result.

check-global

Check the last global upgrade result.

export-config

Export the FortiAnalyzer configuration database files.

import-config

Import the FortiAnalyzer configuration database files.

log

Display the FortiAnalyzer configuration database upgrade log.

summary

Display the FortiAnalyzer configuration database summary.

<adom name>

Enter the ADOM name or enter all for all ADOMs.

<service>

Enter the transfer protocol one of: ftp, sftp, or scp.

<ip>

Enter the server IP address. For FTP, the port can be specified by adding :port to the server IP address.

<user>

Enter a user name of the remote server.

<password>

Enter the password or '-' for user.

<path/filename>

Enter the path/ filename on remote server.