BACKUP FROM SHELL
-
Hello guys, im new in pfSense and i know this question may exist in other post but i don't find something. I want the commands for backup latest confuguration from shell without rrd data, i want to create a script for auto backup to a client pc.
Thanks in advance. -
See: https://doc.pfsense.org/index.php/Remote_Config_Backup
If running the script on the pfSense box just copy off the /conf/config.xml file.Steve
-
Thanks Steve, because my network is an offline network i can't use auto backup package so if you can i need an example about backup from console..
thanks
-
Thanks Steve, because my network is an offline network i can't use auto backup package so if you can i need an example about backup from console..
thanks
Try this:
#/bin/cp /cf/conf/config.xml /mnt/backup/pfconfig/config-`hostname`-$myDate.xml
This should make a copy of your configuration to /mnt/backup/pfconfig just adjust this to the location where you want to have it. In my case, this is an SDCARD.