Skip to main content
vishal
Visitor III
September 15, 2019
Question

Config backup in new FGT

  • September 15, 2019
  • 1 reply
  • 3902 views
Hi All, I have a config backup file and want to dump that file in new fortigate device. Problem is that I don't know the admin password which are in Configuration file. Is it any way that I can know the password by going through the Configuration file or if I manually create one admin rights credentials (username & password) in my new fortigate model and then dump that configuration file into it. Will the admin rights credentials which I have created manually would be still there ? Or it overide with the configuration file which I will dump? Any help will be highly appreciated.

    1 reply

    orani
    New Member
    September 15, 2019

    You can edit your old config file and copy/paste only the parts of configuration you want to the cli of your new fortigate

    Elthon_Abreu
    New Member
    September 18, 2019

    Hi,

     

    You can change the admins password by editing the config section below:

     

    config system admin    edit "admin"       ...

          set password "You-Pass_here"    next end

     

    After that, you just have to upload the new config file.

     

    Best regards,

    vishal
    vishalAuthor
    Visitor III
    September 24, 2019
    Thanks Elton abreu. But is it logical that I manually create one administrator rights credentials and then dump my config file from 1 Fgt to another then my Administrator credentials which I have created manually would be there even after dumping config file