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

    Change of HDD

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    20 Posts 5 Posters 3.4k 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
      doktornotor Banned
      last edited by

      @Sensi:

      Just need to find a copy of 2.0.1 to install and then restore a backup to.

      They are all on the mirrors…

      http://files.atx.pfsense.org/mirror/downloads/old/

      1 Reply Last reply Reply Quote 0
      • KOMK
        KOM
        last edited by

        It restores complete configuration, incl. packages.

        I seem to recall in the past a few examples of installed packages that exploded after being restored from config.xml.  A raw image would be better than an XML backup, for sure, if they can spare the 5 minutes of downtime to image the drive.

        1 Reply Last reply Reply Quote 0
        • S
          Sensi
          last edited by

          Thanks for the link.  Think I've got the right one to download now.  I'll give it a try.

          1 Reply Last reply Reply Quote 0
          • S
            Sensi
            last edited by

            KOM, are you saying to clone the drive is the best option?  Clonezilla?  Or do you know of a better one?

            1 Reply Last reply Reply Quote 0
            • KOMK
              KOM
              last edited by

              If you are trying to find the best way to restore a system then yes, an image of the hard disk is the best way to go.  Restore the image, reboot and done.  No fiddling with checking that all packages and everything else are working after restoring XML.  The only downside is the downtime.  For imaging, I use Acronis B&R.  I've used Clonezilla in the past but thought it was kind of clunky.

              I'm not saying that Config.xml backup is bad; I also use it.  But I take a weekly backup of my pfSense VM and I would rather restore that than do it from config.xml.

              1 Reply Last reply Reply Quote 0
              • S
                Sensi
                last edited by

                That roughly falls in with one of my plans/ideas.

                That is to run pfSense from a USB stick (pen drive, whatever name you like!), rather than a 'normal' HDD, and to keep a couple of clones of it.  That way, if there is a disk failure, we have a live version to simply plug in and reboot (quicker than opening a computer up to change HDD).

                Failing that, on a serious PC 'death', we simply plug the USB disk into another PC, re-assign the ports to their new names and it running again quickly.

                USB sticks are so cheap these days!!

                1 Reply Last reply Reply Quote 0
                • KOMK
                  KOM
                  last edited by

                  But then you've lost any history you may have, logs, graphs, etc unless you're copying these sticks to each other on a regular basis.

                  1 Reply Last reply Reply Quote 0
                  • H
                    heper
                    last edited by

                    usb-sticks will die quickly if you have packages on there that do a lot of writes. even just logging can wreck a usbdrive in a couple of months. (thats why there are specific memstick releases that limit writes).

                    1 Reply Last reply Reply Quote 0
                    • D
                      doktornotor Banned
                      last edited by

                      @KOM:

                      A raw image would be better than an XML backup, for sure, if they can spare the 5 minutes of downtime to image the drive.

                      That won't even boot due to /etc/fstab. Note the "HDD to a USB drive" in the OP.

                      1 Reply Last reply Reply Quote 0
                      • KOMK
                        KOM
                        last edited by

                        Forgot he wanted USB.  I would never run that way myself.  It doesn't feel natural.  Plus I like my logs too much.

                        1 Reply Last reply Reply Quote 0
                        • S
                          Sensi
                          last edited by

                          It is looking like using a USB HDD then - rather than a USB SSD.

                          Can it really knacker a pen drive in just a few weeks?

                          But might step into the upgrade from 2.0.1 to 2.2.2 by going to a USB stick first, on the basis that if there are errors, just I can just remove it an boot from the HDD.

                          1 Reply Last reply Reply Quote 0
                          • S
                            Sensi
                            last edited by

                            I was looking at going to a Kingston 8Gb - it will do USB3, but only in a USB2 port

                            http://www.kingston.com/datasheets/DTSE9g2_en.pdf

                            It talks about a 5 year life?

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