Restore backup via console



  • 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


  • Rebel Alliance Developer Netgate

    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