• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
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 Oct 23, 2011, 1:38 AM

    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
    • J
      jimp Rebel Alliance Developer Netgate
      last edited by Oct 24, 2011, 5:37 PM

      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 Oct 27, 2011, 5:42 PM

        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
        3 out of 3
        • First post
          3/3
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.