Fortinet black logo

CLI Reference

migrate

migrate

Use this command to migrate all backup settings from the FTP, SCP, or SFTP server to the new FortiAnalyzer serial number or FortiAnalyzer HA cluster serial numbers.

This command also allows migrating to the fabric ADOM from a non-fabric ADOM.

Syntax

execute migrate all-settings {ftp | scp | sftp} <ip:port> <string> <username> <password> <ssh-cert> [<crptpasswd>]

execute migrate fabric <adom name>

execute migrate serial-number-list <serial-number-list>

Variable

Description

{ftp | scp | sftp}

Enter the server type: ftp, scp, or sftp.

<ip:port>

Enter the server IP address and optionally, for FTP servers, the port number.

<string>

Enter the path and file name for the backup.

<username>

Enter username to use to log on the backup server.

<password>

Enter the password for the username on the backup server.

<ssh-cert>

Enter the SSH certification for the server. This option is only available for backup operations to SCP servers.

[<crptpasswd>]

Optional password to protect backup content. Use any for no password.

<adom name>

Enter names of the ADOM(s) separated by commas.

<serial-number-list>

Enter the serial number. The serial number list is separated by commas, e.g., sno_1,sno_2.

migrate

migrate

Use this command to migrate all backup settings from the FTP, SCP, or SFTP server to the new FortiAnalyzer serial number or FortiAnalyzer HA cluster serial numbers.

This command also allows migrating to the fabric ADOM from a non-fabric ADOM.

Syntax

execute migrate all-settings {ftp | scp | sftp} <ip:port> <string> <username> <password> <ssh-cert> [<crptpasswd>]

execute migrate fabric <adom name>

execute migrate serial-number-list <serial-number-list>

Variable

Description

{ftp | scp | sftp}

Enter the server type: ftp, scp, or sftp.

<ip:port>

Enter the server IP address and optionally, for FTP servers, the port number.

<string>

Enter the path and file name for the backup.

<username>

Enter username to use to log on the backup server.

<password>

Enter the password for the username on the backup server.

<ssh-cert>

Enter the SSH certification for the server. This option is only available for backup operations to SCP servers.

[<crptpasswd>]

Optional password to protect backup content. Use any for no password.

<adom name>

Enter names of the ADOM(s) separated by commas.

<serial-number-list>

Enter the serial number. The serial number list is separated by commas, e.g., sno_1,sno_2.