Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
22.1 Legacy Series
»
Restore/ Backup HAProxy config?
« previous
next »
Print
Pages: [
1
]
Author
Topic: Restore/ Backup HAProxy config? (Read 2709 times)
Bytechanger
Full Member
Posts: 239
Karma: 0
Restore/ Backup HAProxy config?
«
on:
March 02, 2022, 08:16:49 am »
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
Logged
cookiemonster
Hero Member
Posts: 1821
Karma: 95
Re: Restore/ Backup HAProxy config?
«
Reply #1 on:
March 02, 2022, 02:56:20 pm »
The service UI has an export config facility below Maintenance and Log File. Are you looking for something different?
Logged
Bytechanger
Full Member
Posts: 239
Karma: 0
Re: Restore/ Backup HAProxy config?
«
Reply #2 on:
March 02, 2022, 03:43:24 pm »
Thanks, but where can I import it to another opnsense haproxy?
Greets
Byte
Logged
cookiemonster
Hero Member
Posts: 1821
Karma: 95
Re: Restore/ Backup HAProxy config?
«
Reply #3 on:
March 02, 2022, 03:55:56 pm »
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.
Logged
Bytechanger
Full Member
Posts: 239
Karma: 0
Re: Restore/ Backup HAProxy config?
«
Reply #4 on:
March 02, 2022, 03:58:49 pm »
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
Logged
fabian
Hero Member
Posts: 2769
Karma: 200
OPNsense Contributor (Language, VPN, Proxy, etc.)
Re: Restore/ Backup HAProxy config?
«
Reply #5 on:
March 02, 2022, 06:47:28 pm »
Check /conf/config.xml
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
22.1 Legacy Series
»
Restore/ Backup HAProxy config?