Restore/ Backup HAProxy config?

Started by Bytechanger, March 02, 2022, 08:16:49 AM

Previous topic - Next topic
Hi,

is there a way (GUI or SSH) do backup and restore (other firewall) my haproxy config?

(I moved back from proxmox to standalone, because opnsense renew every hours my WAN connection, horror).

Greets

Byte

The service UI has an export config facility below Maintenance and Log File. Are you looking for something different?

Thanks, but where can I import it to another opnsense haproxy?

Greets

Byte

I see what you mean. There is export but no import facility. Apologies, I missed that.
At this point I'd be looking at the code to see where the config is.
It seems to be /usr/local/etc/haproxy.conf *but* I am not saying that's a safe place to import it into.
Wait for confirmation from someone who knows.

I copied that file from one opnsense to another, but this doesn´t change anything. I think, this config is generated automaticly ??

Or I did something wrong.

Greets

Byte