Re: [pfSense] Best automated configuration backup options for 2.1.5?

2015-12-15 Thread Vick Khera
Here's my config file backup script bits for pfSense:

curl -k -c ${COOKIEFILE} -d
"login=Login=admin=$FWPASS"
https://${FWHOST}/diag_backup.php
curl -k -b ${COOKIEFILE} -d "Submit=download=checked"
-o config-${FWHOST}.xml https://${FWHOST}/diag_backup.php

where COOKIEFILE is some secure temp file name. the rest of the
variables should be obvious.

As I recall, this works for 2.0 and up. Definitely works for the most
current release.

On Mon, Dec 14, 2015 at 4:14 PM, Volker Kuhlmann  wrote:
> The configuration is stored in a single file I thought.
> rsync, ssh, and cron should take care of that easily.
>
> If you pull it from the pfsense box you could create a new,
> unpriviledged user with read access to a copy of the ocnfig file. That
> way your backup system doesn't need to know the firewall's main
> password.
>
> Volker
>
> --
> Volker Kuhlmann is list0570 with the domain in header.
> http://volker.top.geek.nz/  Please do not CC list postings to me.
> ___
> pfSense mailing list
> https://lists.pfsense.org/mailman/listinfo/list
> Support the project with Gold! https://pfsense.org/gold
___
pfSense mailing list
https://lists.pfsense.org/mailman/listinfo/list
Support the project with Gold! https://pfsense.org/gold


Re: [pfSense] Best automated configuration backup options for 2.1.5?

2015-12-14 Thread Brian Gupta
On Sun, Dec 13, 2015 at 10:22 PM, Jeff H  wrote:
> AutoConfigBackup for Gold subscribers works well and is very easy to setup.
>
> https://doc.pfsense.org/index.php/AutoConfigBackup
>
> I am not sure if it works with 2.1.5

Thanks, I got AutoConfigBackup working.

> Otherwise you can try the methods here to push or pull the config to
> another system: https://doc.pfsense.org/index.php/Remote_Config_Backup

I'm double set now, as I'm also running this nightly
https://github.com/edgauthier/pfsense-backup (It's pull, like the wget
method in the book, but seems cleaner.)

Thanks,
Brian

> On Sat, Dec 12, 2015 at 4:31 PM, Brian Gupta 
> wrote:
>
>> It looks like most are for 1.x.
>>
>> Thanks,
>> Brian
>> ___
>> pfSense mailing list
>> https://lists.pfsense.org/mailman/listinfo/list
>> Support the project with Gold! https://pfsense.org/gold
>>
> ___
> pfSense mailing list
> https://lists.pfsense.org/mailman/listinfo/list
> Support the project with Gold! https://pfsense.org/gold
___
pfSense mailing list
https://lists.pfsense.org/mailman/listinfo/list
Support the project with Gold! https://pfsense.org/gold


Re: [pfSense] Best automated configuration backup options for 2.1.5?

2015-12-14 Thread Jeff H
AutoConfigBackup for Gold subscribers works well and is very easy to setup.

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

I am not sure if it works with 2.1.5

Otherwise you can try the methods here to push or pull the config to
another system: https://doc.pfsense.org/index.php/Remote_Config_Backup

On Sat, Dec 12, 2015 at 4:31 PM, Brian Gupta 
wrote:

> It looks like most are for 1.x.
>
> Thanks,
> Brian
> ___
> pfSense mailing list
> https://lists.pfsense.org/mailman/listinfo/list
> Support the project with Gold! https://pfsense.org/gold
>
___
pfSense mailing list
https://lists.pfsense.org/mailman/listinfo/list
Support the project with Gold! https://pfsense.org/gold


[pfSense] Best automated configuration backup options for 2.1.5?

2015-12-13 Thread Brian Gupta
It looks like most are for 1.x.

Thanks,
Brian
___
pfSense mailing list
https://lists.pfsense.org/mailman/listinfo/list
Support the project with Gold! https://pfsense.org/gold