Fortinet white logo
Fortinet white logo

CLI Reference

migrate

migrate

Use this command to migrate all backup settings from the FTP, SCP, or SFTP server.

Syntax

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

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.

migrate

migrate

Use this command to migrate all backup settings from the FTP, SCP, or SFTP server.

Syntax

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

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.