Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Backup config files can be corrupt (check)!! You might have a problem, with recovery :(

    Scheduled Pinned Locked Moved 2.5 Development Snapshots (Retired)
    5 Posts 5 Posters 539 Views
    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.
    • L
      louis2
      last edited by

      Hello,

      In the past months I needed to recover my system a couple of times (due to testing), which did not work!! The reason: "a corrupt backup-config-file".

      The problem is, that at least my configuration dumps (created via diagnostics backup and restore), there are "semi double entrys" which are not accepted by the xml-config-loader (line 89), during the recovery procedure.

      In my case the xml-lines related to the xmldata for IPV4 and IPV6 did occur twice, in the config! And .... so that entry is not unique any more ...

      In my case the "semi double" entrys where related to:
      <dhcpddata>
      <dhcpdv6data>
      No idea if the problem is unique for "dhcp" !!

      The temporally way out is for this problem, is to delete the second entry for those two occurrences (<dhcpddata>, dhcpdv6data>)

      Please check your backup-ed config files for this problem, so that you do not have a problem, at the moment you need them !!!

      The error did occur again (and again), when creating a new backup-file, after a clean install with a manually corrected config file!

      The used recovery procedure is described at https://docs.netgate.com/pfsense/en/latest/backup/restore-during-install.html)

      Louis

      GertjanG 1 Reply Last reply Reply Quote 1
      • _
        _rp
        last edited by

        Ditto, I also had this.

        1 Reply Last reply Reply Quote 0
        • jimpJ
          jimp Rebel Alliance Developer Netgate
          last edited by

          https://redmine.pfsense.org/issues/11050

          Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

          Need help fast? Netgate Global Support!

          Do not Chat/PM for help!

          1 Reply Last reply Reply Quote 0
          • GertjanG
            Gertjan @louis2
            last edited by

            @louis2 said in Backup config files can be corrupt (check)!! You might have a problem, with recovery :(:

            <dhcpddata>
            <dhcpdv6data>
            No idea if the problem is unique for "dhcp" !!

            See https://forum.netgate.com/topic/157298/warning-do-not-update-with-todays-1-10-snapshot?_=1605248768615

            It's probably a recent version of 2.5.0 that exposed this issue.

            No "help me" PM's please. Use the forum, the community will thank you.
            Edit : and where are the logs ??

            1 Reply Last reply Reply Quote 0
            • viktor_gV
              viktor_g Netgate
              last edited by

              Fixed in the latest snapshot

              1 Reply Last reply Reply Quote 0
              • First post
                Last post
              Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.