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

    Restore a pfSense using dd

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    restore
    5 Posts 2 Posters 805 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.
    • D
      demux
      last edited by

      Hi,

      I have a dd backup of a customized pfSense Plus installation (scripts etc). This dd image is recent in terms of the scripts etc but does not have most recent config.

      I would like to restore by pushing the dd image onto the new hd in a new machine. It is the same hardware. Then I upload the lastest config. No magic, I believe.

      But when I restore the image onto a new machine I will also restore the old Plus license onto the new machine. Will this be a problem?
      Will restoring the old Netgate Device ID to the new machine be a problem? Do I have to register again? Do I get a new Netgate Device ID automatically?

      How about the ACB device ID? Does it know the installation and can I restore from ACB? Or does the new machine get a new ACB device ID? I believe not, because the SSH key did not change.

      So maybe I should be able to restore the image, register the installation again (if needed) and then start the restore from ACB. Correct?

      Btw, ACB Restore shows the wrong dates: Mon, 25 Sep 2023 03:27:02 +0200 is 5 hours ahead

      Thanks!
      -demux

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

        The new hardware will have a new NDI, it doesn't matter what image you put onto it.

        The ACB will be retained if it's a recent. That key is stored locally so will be copied onto the new device.

        Steve

        D 1 Reply Last reply Reply Quote 0
        • D
          demux @stephenw10
          last edited by

          @stephenw10
          ACB ID will be generated from the SSH keys, correct? I did not find the ID in the saved config file. So, if SSH keys stay the same, ACB ID will stay the same. If SSH keys change, ACB ID will change, too. Correct?
          Btw, how do I regenerate SSH keys? Is there a script that could do this for me or by hand?

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

            Yes it's generated from the SSH key. Yes that's stored in the config in recent versions.

            See: https://forum.netgate.com/post/893461

            D 1 Reply Last reply Reply Quote 0
            • D
              demux @stephenw10
              last edited by

              @stephenw10
              Thank you!

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