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

Restore backup via console

Scheduled Pinned Locked Moved General pfSense Questions
2 Posts 2 Posters 4.8k 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
    darkoyan
    last edited by Oct 13, 2017, 12:20 PM

    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
    • J
      jimp Rebel Alliance Developer Netgate
      last edited by Oct 13, 2017, 1:02 PM

      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
      2 out of 2
      • First post
        2/2
        Last post
      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
        This community forum collects and processes your personal information.
        consent.not_received