Skip to main content
Mathiyarasan85
Visitor III
May 14, 2024
Solved

To restore configuration to the FortiGate by using the scp downloaded file "sys_config"

  • May 14, 2024
  • 4 replies
  • 2630 views

Hi All,

 

I have taken then backup FG configuration by using the scp client 

command which i used to take the backup as below.

 

Sftp server -- > scp admin@<FortiGate_IP>:sys_config <location>

 

Question 1 : sys_config  ( is it full configuration file as like what we are taking the normal backup config from GUI -- > admin --> configuration -- > backup -- > downloaded with xxxxxx.conf

 

Question 2 : Can we use the "sys_config"  scp client backup file to restore the firewall configuration in the Manual GUI method  admin --- > configuration -- > restore -- > upload -- > "sys_config"

 

Does it work or any problem with this restore proceedure ?

Best answer by dbhavsar

Hi @Mathiyarasan85 ,

 

- The answer would be yes to both the configuration. The backup config will be same as the GUI and you can use the same to restore the config on Firewall GUI.

4 replies

dbhavsar
Staff
dbhavsarAnswer
Staff
May 14, 2024

Hi @Mathiyarasan85 ,

 

- The answer would be yes to both the configuration. The backup config will be same as the GUI and you can use the same to restore the config on Firewall GUI.

Mathiyarasan85
Visitor III
May 15, 2024

Hi @dbhavsar ,

 

Manual GUI backup downloaded with the file extention xxxxx.conf 

 

But scp backup downloaded with "sys_ config"

 

So when we do upload the "sys_config" backup file by  the manual method via GUI

Do we have to rename it with sys_config.conf 

Or Can we upload it as same as sys_config upload in the GUI

Does it work when we upload the backup file as sys_config ? With out .conf extension ?

 

 

dbhavsar
Staff
Staff
May 15, 2024

Hi @Mathiyarasan85 ,

 

- you will need the file with ".conf" to restore it on FortiGate. Can you make sure by enabling  view "file name extension" in you windows.

Thought Leadership Security Summit. Outpace New Threats with AI - enhanced defense. Tuesday, Septmeber 15, 8:30 AM - 2:30 PM PT. The Golf Club at Newcastle, WA.
Virtual event | September 2026. SASE summit. The age of autonomous trust. Register here!