On 6/29/11 12:49 PM, Tim Nelson wrote:
#!/bin/bash
DATESTAMP=`date +%F-%k%M%S`
wget -qO /istorage/infrastructure/prod_edgefw03/backup-$DATESTAMP.xml --post-data
'Submit=Download' --user=admin --password='secretpassword'
--no-check-certificate"http://HOSTNAME/diag_backup.php"
Had to twiddle a few things but the following works like a charm on pf 2.0 !
#!/bin/bash
DATESTAMP=`date +%F-%k%M%S`
wget -qO pfsense-config-$DATESTAMP.xml --post-data 'Submit=Download'
--user=admin --password='secretpassword' --no-check-certificate
"http://HOSTNAME/diag_backup.php"
---------------------------------------------------------------------
To unsubscribe, e-mail: support-unsubscr...@pfsense.com
For additional commands, e-mail: support-h...@pfsense.com
Commercial support available - https://portal.pfsense.org