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

    Upgrading to new system

    Problems Installing or Upgrading pfSense Software
    4
    4
    941
    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.
    • T
      tucansam
      last edited by

      I think I already know the answer to this, but before I take down my pfsense system, I want to be sure.

      I have an existing system and am upgrading to a new system.  Both versions will be the same.  I have done a lot of configuring on the old system, rules, traffic shaping, etc.

      Can I just backup the existing config, build the new system, and restore the config, so I don't have to rewrite and reconfigure everything?

      Thanks.

      1 Reply Last reply Reply Quote 0
      • E
        Ecnerwal
        last edited by

        Yes.

        It's also a great idea to backup the system before embarking on major changes, if you happen to be mortal and prone to screwing up. Just name them so you know what the state was.

        I just used my settings backup to restore my machine that failed to upgrade (possibly becasue of the "new backup checkbox" in the upgrade dialog, which is NOT the backup in question - possibly becasue the gods have not been smiling upon me lately) and the .xml backup worked perfectly, twice (second time was me scewing up a setting the next day that locked me out, where it was faster to reset to factory defaults from the console and reapply the xml backup than it would have been to try and figure out how to undo the change from the console directly.)

        A few months ago when I had the temerity to start playing with the traffic shaper (one of the less well documented parts of the system, IME) I had the sense to make a backup first, and that saved my bacon when all traffic stopped…

        pfSense on i5 3470/DQ77MK/16GB/500GB

        1 Reply Last reply Reply Quote 0
        • stephenw10S
          stephenw10 Netgate Administrator
          last edited by

          Unless your new box has similar NICs to the old box (share the same drivers) you will have to reassign the interfaces at first boot after restoring your config.
          An alternative to that, if your new box has different NICs, is to manually edit your config file (after copying it  ;)) the change the old interface names to those recognised in the new box. That can be easier to do in some circumstances but is also prone to editing errors.

          Steve

          1 Reply Last reply Reply Quote 0
          • C
            cmb
            last edited by

            If you have diff NICs, it'll prompt you to re-assign them after restoring the config. Other than that it'll work seamlessly.
            https://doc.pfsense.org/index.php/Configuration_Backup_and_Restore

            I prefer manually changing the NIC assignments in the XML before restoring the config, but that's probably mostly a bias of working with systems that tend to be more complex than the average user's, with more NICs, VLANs, etc. and it's faster for me to update the XML than click through the assignments post-restore.

            1 Reply Last reply Reply Quote 0
            • First post
              Last post
            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.