RRD Backup doesnt work in 26.03
-
Im running v 26.03 on a Netgate 7100 1U. The update worked, but rebooting gave me an issue saying i dont have an EFI file (which i dont, its quite an old install). So i need to back up the system for a reinstall.
i can back up the configuration INCLUDING the RRD data just fine. but i wanted to restore just the configuration without the rrd data, then restore the rrd data separately after i get everything else working.
But when i back up JUST the RRD data, the file size is 0.searching the web/forums, there is a common thread about not getting the RRD data as part of the configuration download, but nothing about just the RRD data giving a file size of 0.
any ideas? i would like to keep the RRD data if possible.
thanks
mark
-
Hmm, the 7100 runs coreboot, it's not uefi. What message are you seeing there exactly?
Any reason not to just restore the full config with the RRD data?
I'm not sure I've ever tried to backup just the RRD data. Let me try to replicate....
-
Yeah OK I see zero bytes there too. Is this a process you've used before? Is it a regression?
-
message is "no ESP partition found"
then it updates after throwing a ton of errors, but when you try to reboot, it marks the boot environment as corrupt and rolls you back to the prior version. You can then repeat.
i just spent the afternoon installing/updating various versions on a vm, and was able to duplicate what i have with an older firmware version that didnt install the esp partition.
sensing victory, i then downloaded the config files and found the rrd file issue :) No clue if that is a regression or not on this version, but i found a rrddata-config files that worked in 2020 (a long time ago...).
i wanted to just install/restore it quickly so it isnt down long and who knows if there is an issue with the rrd data
without the rrd date the file is 746k, with it it grows to 18,304kb, pretty big.
so i figured i would get it running, then do the rrd later while its up. -
@markgca said in RRD Backup doesnt work in 26.03:
i found a rrddata-config files that worked in 2020
Like just RRD data? Not the config including RRD?
Seems to be an old regression. I'll do some digging.....
-
yes, a file with just the rrd data, labeled rrddata-config-pfSense.mylocal-20xxx.xml
unfortunately i dont routinely back up just the rrd data, so not sure when it happened.a more thorough search shows it worked in 2019, 2020, but not 12/2023.
so probably been a while....
i only captured the file when i needed to do a complete reinstall; before zfs a power failure (even with ups) would corrupt the firmware, then a change to zfs necessitated a reinstall, and now the introduction at some point to an esp partition.
-
Isn't the 'backup RRD data' option basically adding the contents of /var/db/rrd to the config file?
Another option would probably be to use the 'Backup' package?Name Category Version Description Backup sysutils 0.6.6 Tool to Backup and Restore files and directories.Though that won't solve the possible bug in the built in backup/restore... :)
-
If you select only the 'RRD data' section from the dropdown to backup you should get only the <rrddata></rrddata> xml section. Something changed between 2.6 and 2.7 which now causes that to output a 0 byte file.
But, yes, you can just back it up with the full config file. -
question; for the 7100 1u when reinstalling, better to use GPT or MBR? it is currently ZFS using GPT (on a M.2 sata from the factory) so i figure that would be best?
i know it isnt UEFI firmware, but ....
also, i do experimentation/troubleshooting in a vm:
GPT works whether i have UEFI or Legacy BIOS selected in the vm.
but the MBR option wouldn't install or run properly no matter what.
not sure what thats about, but makes me reluctant to use that on the 7100 -
The 7100 should boot either but the default settings ( ZFS with GPT) are what is most tested so I would recommend using those unless you have some good reason not to.
-
@stephenw10
thank you, will do that!
Privacy Policy · Cookie Policy