OPNsense Forum

Archive => 19.1 Legacy Series => Topic started by: opnsenuser on July 13, 2019, 08:39:54 PM

Title: export aliases from cli
Post by: opnsenuser on July 13, 2019, 08:39:54 PM
Hi,
since I can't access the webUIs any longer on my OPNSenses > https://forum.opnsense.org/index.php?topic=13402.0 (https://forum.opnsense.org/index.php?topic=13402.0),
I'm on the lookout for a way to export my aliases.
Since these are not included in the xml backup and the webUI is not accessible the only way is to get them is thru the cli.
Where are the aliases stored?
Any ideas ??

greetings
opnsenuser
Title: Re: export aliases from cli
Post by: fabian on July 13, 2019, 09:10:51 PM
the aliases are stored in /conf/config.xml like all the other configuration.
Title: Re: export aliases from cli
Post by: franco on July 15, 2019, 09:43:12 AM
Fabian is correct. Also I think there is an API call now for JSON import / export.


Cheers,
Franco
Title: Re: export aliases from cli
Post by: opnsenuser on July 27, 2019, 05:14:42 PM
hi,
thanks for your replies.

case closed :)

greetings
opnsenuser