Errors during backup restore on clean install

Started by firewalled101, July 02, 2023, 09:57:39 PM

Previous topic - Next topic
I had to force shutdown my firewall to reboot after I lost connection during a storm. I'm running the firewall baremetal. Anyhow,  the system failed to boot and showed damaged tar files,  attempting repair, lasted forever. So I decided to clean install opnsense and restore from backup. I was able to restore the majority of opnsense config but not the add-ons for they required update to the newest opnsense version. 

TL;DR: The system now show updates are available but it requires 13.9MB more disk space. I have 899MB available. Where is the problem?

1. I restored UFS install up ZFS fresh install
2. I restored before I upgrade the system.
3. Is this a HDD problem. It is an nvme so I don't expect so.

July 03, 2023, 10:23:31 AM #1 Last Edit: July 03, 2023, 10:28:43 AM by tokar86a
Maybe this can help to check the disk? https://www.cyberciti.biz/faq/how-to-check-hard-drive-health-on-freebsd/

It sounds like a problem whit the disk.

And maybe do like this member suggest: https://forum.opnsense.org/index.php?topic=34674.msg168022#msg168022

Quick update:

I tested the hard drive in Bios and seemed working. I reinstalled OPNsense on UFS file system. The disk space problem is gone. I updated then restored my backup. Well, I had my VLANs mixed up. Somehow, the firewall rules and DHCP reservations for VLAN X would show up under VLAN Y. The interface assignment have not changed. I have to re-do it all manually. I am not sure there is a better way to do it but this is my primary home firewall/router. Terrible experience!!

What do you mean, tested in BIOS?  Also, pendant point, nvme is SSD, not hard drive.

It sounds like either your backup was corrupted or your hardware changed.  Where was the backup stored?  On the drive or saved elsewhere?

@CJRoss They wrote they could restore the config but not the plugins. This is expected behaviour. You can go to System > Firmware > Status (IIRC) and there will be an option to auto install all missing plugins. This does not help if your OPNsense version is so old, the plugins are not available any more.

Lesson: always run a supported version.
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)

Quote from: pmhausen on July 11, 2023, 09:21:38 PM
@CJRoss They wrote they could restore the config but not the plugins. This is expected behaviour. You can go to System > Firmware > Status (IIRC) and there will be an option to auto install all missing plugins. This does not help if your OPNsense version is so old, the plugins are not available any more.

Lesson: always run a supported version.

Ah, I missed that.  I was focusing on their complaint that the VLANs and rules were incorrect.