Navigation

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

    Restore backup via console

    General pfSense Questions
    2
    2
    4465
    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
      darkoyan last edited by

      good morning, I wanted to restore a backup in a new cloud machine we have, and for deployment issues we cannot do it via webGUI. Is it possible to restore a backup, directly from console commands?

      thank you in advance

      1 Reply Last reply Reply Quote 0
      • jimp
        jimp Rebel Alliance Developer Netgate last edited by

        Yes

        1. Copy the config to the firewall (scp, for example, or mount a USB drive and copy)
        2. Move/rename the new config to /cf/conf/config.xml
        3. Remove the config cache: rm /tmp/config.cache
        4. Reboot

        Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

        1 Reply Last reply Reply Quote 0
        • First post
          Last post