Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login
    Introducing Netgate Nexus: Multi-Instance Management at Your Fingertips.

    RRD Backup doesnt work in 26.03

    Scheduled Pinned Locked Moved General pfSense Questions
    11 Posts 3 Posters 559 Views 4 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M Offline
      markgca
      last edited by

      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

      1 Reply Last reply Reply Quote 0
      • stephenw10S Offline
        stephenw10 Netgate Administrator
        last edited by

        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....

        M 2 Replies Last reply Reply Quote 0
        • stephenw10S Offline
          stephenw10 Netgate Administrator
          last edited by

          Yeah OK I see zero bytes there too. Is this a process you've used before? Is it a regression?

          1 Reply Last reply Reply Quote 0
          • M Offline
            markgca @stephenw10
            last edited by

            @stephenw10

            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.

            stephenw10S 1 Reply Last reply Reply Quote 0
            • stephenw10S Offline
              stephenw10 Netgate Administrator @markgca
              last edited by

              @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.....

              M 1 Reply Last reply Reply Quote 0
              • M Offline
                markgca @stephenw10
                last edited by

                @stephenw10

                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.

                1 Reply Last reply Reply Quote 1
                • M Offline
                  mvikman
                  last edited by mvikman

                  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... :)

                  pfSense Plus 26.03-RELEASE (amd64)
                  Dell Optiplex 7040 SFF
                  Core i5-6500, 24GB RAM, 2x 240GB SSD (ZFS Mirror)
                  HPE 561T (X540-AT2), 2-port 10Gb RJ45
                  HPE 562SFP+ (X710-DA2), 2-port 10Gb SFP+

                  1 Reply Last reply Reply Quote 0
                  • stephenw10S Offline
                    stephenw10 Netgate Administrator
                    last edited by

                    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.

                    1 Reply Last reply Reply Quote 0
                    • M Offline
                      markgca @stephenw10
                      last edited by

                      @stephenw10

                      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

                      1 Reply Last reply Reply Quote 0
                      • stephenw10S Offline
                        stephenw10 Netgate Administrator
                        last edited by

                        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.

                        M 1 Reply Last reply Reply Quote 0
                        • M Offline
                          markgca @stephenw10
                          last edited by

                          @stephenw10
                          thank you, will do that!

                          1 Reply Last reply Reply Quote 1
                          • First post
                            Last post
                          Copyright 2026 Rubicon Communications LLC (Netgate). All rights reserved.
                          Privacy Policy · Cookie Policy