Fortinet black logo

CLI Reference

migrate

migrate

Use this command to migrate all backup settings from the FTP, SCP, or SFTP server. 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>

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.

<passwd>

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.

migrate

migrate

Use this command to migrate all backup settings from the FTP, SCP, or SFTP server. 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>

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.

<passwd>

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.