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

Automated Backup Script

Scheduled Pinned Locked Moved General pfSense Questions
3 Posts 2 Posters 741 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
    discostur
    last edited by Feb 4, 2015, 11:29 AM

    Hi,

    previously i used the following backup script vom the pfsense wiki:

    https://doc.pfsense.org/index.php/Remote_Config_Backup

    Yesterday i updated to pfsense 2.2 and now the script stopped working. If i try a run:

    # wget -O/dev/null --keep-session-cookies --save-cookies cookies.txt \
     --post-data 'login=Login&usernamefld=admin&passwordfld=pfsense' \
     --no-check-certificate https://192.168.1.1/diag_backup.php
    

    i only get the following output:

    backup:~$ ./backup-pfSense1.sh
    --2015-02-04 12:09:22--  https://192.168.1.1:8005/diag_backup.php
    Verbindungsaufbau zu 192.168.1.1:8005...
    

    Can anybody tell me what changed in the login process from Version 2.1.x to 2.2?

    Thanks

    1 Reply Last reply Reply Quote 0
    • F
      firewalluser
      last edited by Feb 4, 2015, 11:37 AM

      2.2 uses a new web server/interface called php-fm iirc, it will be documented in the latest new features of 2.2, that might be the difference you are looking for.

      hth.

      Capitalism, currently The World's best Entertainment Control System and YOU cant buy it! But you can buy this, or some of this or some of these

      Asch Conformity, mainly the blind leading the blind.

      1 Reply Last reply Reply Quote 0
      • D
        discostur
        last edited by Feb 4, 2015, 1:03 PM

        Sorry, my fault.

        It hat nothing to do with the php-changes from version 2.2 -> i checked my Firewall settings and found the mistake.

        Thanks

        1 Reply Last reply Reply Quote 0
        1 out of 3
        • First post
          1/3
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
          This community forum collects and processes your personal information.
          consent.not_received