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

    PfSense file undelete?!

    Scheduled Pinned Locked Moved General pfSense Questions
    4 Posts 2 Posters 1.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.
    • B
      borgo1971
      last edited by

      Is there a way to undelete files in pfSense? I did a great mistake on my ALIX board wit pfSense 2.0RC1, deleting entry /cf folder and it's content… :o
      Now I can't start webconfig and I guess that if I try to restart the device, it won't boot at all.
      So, I'm looking to restore /cf content or a way to write /cf/conf/config.xml from cli using running settings (pfSense seems to run fine except webconfig)

      1 Reply Last reply Reply Quote 0
      • ?
        Guest
        last edited by

        Nope, this is why you want to keep a backup of your config.xml file.  Time to re-install the system and reconfigure.

        1 Reply Last reply Reply Quote 0
        • B
          borgo1971
          last edited by

          I'm not sure, but it can be you are wrong: after I ended to bang my head on the wall, i did a desperation try, and copied a clean (from a pfSense install) config.xml in his place, and restarted webconfig… and it started! and with my wonder, with all the settings ok!!! :o ;D ;D
          Now I must only take the courage to restart the device  ???

          1 Reply Last reply Reply Quote 0
          • B
            borgo1971
            last edited by

            And now I'm sure: I [auto]upgraded pfsense from webconfig and restarted it, and all went fine.  ;D

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