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

    Cloning installation

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    2 Posts 2 Posters 1.5k 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.
    • S
      sidis405
      last edited by

      Hey guys.

      I already a fully-functional pfSense box (yea i jinxed it now  :D).
      For technical purposes i need to create a second box identical to this one that will replace it.

      What's the shortest painless way to do this?
      Should i just do a fresh pfS install and import the config? This won't bring users, certificates and daemons, right?
      Or is there another way to make an image from this install and restore it?

      Best Regards and
      Thanks in advance.

      1 Reply Last reply Reply Quote 0
      • W
        wallabybob
        last edited by

        Save the configuration (pfSense GUI Diagnostics -> Backup/Restore) should save everything pfSense knows about. Then restore to a fresh install.

        Depending on a number of factors, it might be easier/quicker to just clone your hard drive (e.g. pfSense shell command dd if=/dev/ad0 of=/dev/ad2 bs=65536 where ad0 is your current pfSense install and ad2 is the copy). On first boot of the copied drive the OS startup will likely mention a few file system fixups. I have used variations of this procedure a number of times.

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