Use exec_raw.php and simply cat out /cf/conf/config.xml

Something like this:

wget -qO /tmp/config_backup.xml --user=admin --password=pfsense
--no-check-certificate "https://10.0.0.103/exec_raw.php?cmd=cat
/cf/conf/config.xml"

On 6/27/06, Imre Ispánovits <[EMAIL PROTECTED]> wrote:
Hi,

On m0n0wall I've used a small script to backup configuration from cron time to
time automatically.
This doesn't work on pfSense. What is wrong with my script?
Is there a way to do it on pfSense?

############### part of the old script #############
wget --post-data 'Submit=download'
https://admin:[EMAIL PROTECTED]/diag_backup.php -O  $dir1/$file1
################ end  #################


Best regards

Imre




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to