• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
Netgate Discussion Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login

can you import configuration file from console

Scheduled Pinned Locked Moved General pfSense Questions
8 Posts 3 Posters 1.7k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C
    comet424
    last edited by Feb 3, 2019, 6:52 PM

    hi my sisters pfsense router hard drive failed.. but I have question.. I keep copy of her configuration file and I have spare hd.. I tried to figure a way if this can be done.. instead of going to her house I tried installing pfsense on a new hard drive and at console I was looking to import the configuration file so I don't need to be at her house to reset up.. what I want is I install it at my house goto console screen import her config file. then I shut off comp... take out hard drive and then she would pick up the hard drive and just install it... is it possible to do this or you gotta set it up via the gui

    1 Reply Last reply Reply Quote 0
    • D
      Derelict LAYER 8 Netgate
      last edited by Feb 3, 2019, 7:21 PM

      If she can install a hard drive can't she just reinstall pfSense and restore the configuration instead?

      On current versions of the memstick installer there is a FAT partition. You can place the configuration to be restored in /config.xml or /config/config.xml and it will be automatically recovered at the end of the installation process.

      Else, if you use the ISO, you just connect to LAN and recover the config.

      Chattanooga, Tennessee, USA
      A comprehensive network diagram is worth 10,000 words and 15 conference calls.
      DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
      Do Not Chat For Help! NO_WAN_EGRESS(TM)

      1 Reply Last reply Reply Quote 0
      • C
        comet424
        last edited by Feb 3, 2019, 7:44 PM

        she has no idea how to do any of that.. and with the server case it has a external hot swap 2.5 sata drive all you do is pull out and push in

        I remote access into her server to adjust things for her.. as she lives couple hours away.. so I meet half way at her work and just would drop hd off..!
        ok ill put file on the usb and reinstall to hard drive I appreciate it..
        ![0_1549222884546_20190203_143456[1].jpg](Uploading 100%)

        1 Reply Last reply Reply Quote 0
        • C
          comet424
          last edited by Feb 3, 2019, 9:06 PM

          oh I have another question.. since she there her pfsense it boots partially but just keeps repeading UDMA or something like I guessing hard drive stuff..
          is there a folder she can see that she can copy the config file as I think I didn't back up a recent version of her pfsense
          I just curious if I can copy it off a hard drive

          1 Reply Last reply Reply Quote 0
          • D
            Derelict LAYER 8 Netgate
            last edited by Feb 3, 2019, 9:18 PM

            Probably not if it is not booting to the shell prompt. If the file system is readable and mountable then the installer can pluck a configuration off of it during the installation process.

            https://www.netgate.com/docs/pfsense/backup/automatically-restore-during-install.html

            Chattanooga, Tennessee, USA
            A comprehensive network diagram is worth 10,000 words and 15 conference calls.
            DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
            Do Not Chat For Help! NO_WAN_EGRESS(TM)

            1 Reply Last reply Reply Quote 1
            • C
              comet424
              last edited by Feb 3, 2019, 9:21 PM

              ah ok... thank you very much for the speedy reply and the link ill read up on it.. (: most appreciative

              1 Reply Last reply Reply Quote 0
              • S
                stephenw10 Netgate Administrator
                last edited by Feb 3, 2019, 10:58 PM

                You might also be able to use the external config loader here if you have a config that's new enough.

                It's also detailed on that link above.

                Install to a new hard drive and send that preinstalled. Also send a USB stick with the config file on it.

                pfSense will pull in that new config when it boots if it sees it in the right place. It checks on every boot not just at install time.

                Steve

                1 Reply Last reply Reply Quote 0
                • C
                  comet424
                  last edited by Feb 4, 2019, 12:10 AM

                  oh ok cool.. ill give that a shot too well ill tell her or ill practice it when she gives me her faulty hard drive... I did the conf folder and copied my older pfsense setup so hard drive is ready for her just to slide in the hot swap... but ill defently try that step too... I really appreciate the help great stuff (:

                  1 Reply Last reply Reply Quote 0
                  8 out of 8
                  • First post
                    8/8
                    Last post
                  Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                    This community forum collects and processes your personal information.
                    consent.not_received