I found it at /cf/conf/config.xml
I copied it and /usr/local/etc/ (to get my custom dnsmasq settings)
using scp to another computer. I'll install the latest 1.2 BETA and restore.
-Matthew
Matthew Metzger wrote:
I found this at:
http://doc.m0n0.ch/handbook/thirdparty-automatedbackups.html
18.8.2. Backing up to the current directory
Chris Buechler wrote a shell script to just back up the file with the
filename DATE-config.xml, without committing it into CVS.
#!/bin/sh
USER=admin
PASS=XXXXXX
PROTO=http
M0N0IP=192.168.1.1
NOW=`date [EMAIL PROTECTED]:%M`
curl -s -o ${NOW}-config.xml -F Submit=download -u ${USER}:${PASS}
${PROTO}://$M0N0IP/diag_backup.php
but I don't think it will work in my case because the web interface is
not working.
Is the xml configuration stored in a particular file that I can just
copy from the command line?
-Matthew
Matthew Metzger wrote:
Hello,
My pfsense install has been working well for a while, but I had to
reboot it today.
After the reboot, the web interface will not load. What can I do to
backup the configuration from the command line so that I can restore
to a new installation.
I know how to backup from the web interface ( Diagnostics >
Backup/Restore ) and I have a backup that is about a couple months
old, but I would much rather have a current backup than the old backup.
Any help in accomplishing this from the command line would be greatly
appreciated.
thanks,
Matthew Metzger
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]