Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
Tutorials and FAQs
»
need help - lost config after restore backup
« previous
next »
Print
Pages: [
1
]
Author
Topic: need help - lost config after restore backup (Read 2700 times)
kc6785
Newbie
Posts: 5
Karma: 1
need help - lost config after restore backup
«
on:
March 29, 2020, 05:34:07 am »
Hi, I am just starting to learn opnsense, this is my first try.
So I set up a opnsense vm on ESXi, with two interfaces. I made em0 the WAN link, and em1 as LAN link. This is different from the factory default. Anyways, I was able to get a WAN ip from uplink dhcp server, and also I can access the web gui from a windows vm connected to the LAN.
Then I save the configuration to a file, then restored it right away. Selected "all". After opnsense restarted, it lost its configuration, and shows em0 as LAN, and em1 as WAN.
This is such a simple case, I really did not have any other config changes, except the two interfaces. However, opnsense failed to restore such a simple config back up. I also tried this on a laptop install, same thing also happened, lost access after the restart.
Any help will be appreciated. I am really a newbie, and don't know where to start to troubleshoot.
Logged
kc6785
Newbie
Posts: 5
Karma: 1
Re: need help - lost config after restore backup
«
Reply #1 on:
March 31, 2020, 03:58:46 am »
I tried a couple more times. I am only doing even simpler changes from the default. I am keeping the em0 as LAN and em1 as WAN, same as default. I only changed the LAN ip to 192.168.5.1 as well as dhcp pool range. Now I make a backup, and restore the backup. Again, the config was lost and opnsense went back to the factory default. What is going on?
I wonder if anyone here had ever used the configuration backup and restore feature in release 20.1. If yes and many, then I must have done something wrong. Please let me know.
I checked the configuration history, and it seems it has been wiped clean after the restore, starting from factory default. Nothing before the restore is kept. The very first entry is "(root) Factory Configuration". It seems the restoring (saved backup) actually did restoring to factory default instead.
Logged
franco
Administrator
Hero Member
Posts: 17660
Karma: 1611
Re: need help - lost config after restore backup
«
Reply #2 on:
March 31, 2020, 08:24:27 am »
The description doesn't actually say why it was happening, but I can assure you that when you create interfaces with the "prevent interface removal" option enabled this will not happen again.
Cheers,
Franco
Logged
kc6785
Newbie
Posts: 5
Karma: 1
Re: need help - lost config after restore backup
«
Reply #3 on:
April 02, 2020, 03:52:34 am »
Thanks. It works now after I selected the "prevent removal" option.
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
Tutorials and FAQs
»
need help - lost config after restore backup