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

    Remote config backup using HTTP requests on 2.0

    webGUI
    2
    3
    1.6k
    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.
    • F
      Fr3d
      last edited by

      On 1.2.3 I was using a series of commands (example below) to remotely backup the config files of my various firewalls.

      wget -q --no-check-certificate --post-data 'Submit=download' https://$USER:$PASS@$HOSTNAME:$PORT/diag_backup.php -O /backups/$HOSTNAME/all-`date +%Y%m%d`.xml
      

      Since upgrading to 2.0, my backups have all stopped working, due to the new login system being an HTML web form rather than HTTP authentication.

      Is there a quick way I can make them start working again?

      Thanks!

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

        Check the doc wiki, there is an example there for doing the same thing on 2.0.

        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
        • F
          Fr3d
          last edited by

          Looked once, didn't find it. Found it the second time… Thanks :)
          (For anyone else: http://doc.pfsense.org/index.php/Remote_Config_Backup )

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