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

    Can I restore my config to a new device?

    Scheduled Pinned Locked Moved General pfSense Questions
    3 Posts 3 Posters 540 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
      Chippy_boy
      last edited by

      I've got pfsense running on a cheap Intel J4125 system from Aliexpress, and have just bought a slightly more powerful N5105 system to replace it.

      Am I OK to take a backup on the J4125 system and restore it onto the new system? I'd just rather not have to recreate all the rules and settings unless unavoidable.

      Thanks

      GertjanG 1 Reply Last reply Reply Quote 0
      • GertjanG
        Gertjan @Chippy_boy
        last edited by

        @chippy_boy

        Config backups are ment to be used to restore on the device where the backup is made from.
        Other devices have usually other hardware as it is other hardware.

        That is, 98 % of the config file will be identical, but one part will be different.
        Open a confi.xml yourself, and goto the the interfaces section.
        Interfaces are listed with their internal drvier name, like

        <if>ix3</if>
        

        for WAN, and

        <if>igc0</if>
        

        for LAN (examples).

        When your import your config.xml into a new system with other NIC's, the interfaces sections can't be applied, so firewall rules can't be applied etc etc.
        Remember to check everything, not hard, as the config.xml is very readable by humans.

        No "help me" PM's please. Use the forum, the community will thank you.
        Edit : and where are the logs ??

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

          In general you should be able to. If it has different interface types, the same number of interfaces, pfSense will ask you to re-assign them when you import it. If you have a lot of sub-inteface types like VLANs, PPP etc that can get complex.

          Steve

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