Hello,
We tried to issue a manual backup like:
exe backup all-settings sftp <SFTP Server> /data/tftp/Fortigate <remote username> <remote SFTP user password>
Starting backup all settings in background, Please wait.
Fortimanager # MD5: ee622a71b5f1217d24b271bb8f4165a9
Starting transfer the backup file to SFTP server...
* /var/fwclienttemp/fmg_clibackup.dat -> sftp:// <SFTP Server>:22/%2Fdata%2Ftftp/Fortigate
* Trying <SFTP Server>:22...
* connect to <SFTP Server> port 22 failed: Connection timed out
* Failed to connect to <SFTP Server> port 22 after 129820 ms: Couldn't connect to server
* Closing connection
SFTP failed: Timeout was reached
Failed to backup all-settings due to SFTP transaction!
Backup all settings...Failed.
Fortimanager #
Please note that we verified access to that remote folder by opening a SFTP session and send a file to this destination from a linux box.
$ scp fortigate.bak sftpbrutus@<SFTP Server:/data/sftp/Fortigate
******************************************************
* You have reached a restricted system. *
* *
* Unauthorized use is strictly prohibited and will *
* be prosecuted to the fullest extent of the law. *
* *
******************************************************
sftpbrutus@<remote server> password:
fortigate.bak
I am also wondering, whether it is possible to run bash commands in Fortinet CLI, to issue for example scp commands outside the Fortinet cli.
Thanks,
netmart
Hi @netmart ,
Please first check the connectivity to the SFTP server from FortiManager.
Select Forum Responses to become Knowledge Articles!
Select the “Nominate to Knowledge Base” button to recommend a forum post to become a knowledge article.
User | Count |
---|---|
1736 | |
1107 | |
752 | |
447 | |
240 |
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2024 Fortinet, Inc. All Rights Reserved.