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

    Config Restore resets used/expired Vouchers

    Scheduled Pinned Locked Moved Captive Portal
    3 Posts 2 Posters 403 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.
    • RicoR
      Rico LAYER 8 Rebel Alliance
      last edited by

      Just wondering if this is the expected behaviour to have all Vouchers reset to unused after Config Restore?
      Of course the Backup I have recovered was taken after the Voucher expired. :-)
      So this information is not stored in the config.xml ...where in the filesystem I need to check?

      -Rico

      1 Reply Last reply Reply Quote 0
      • F
        free4 Rebel Alliance
        last edited by free4

        This post is deleted!
        1 Reply Last reply Reply Quote 0
        • F
          free4 Rebel Alliance
          last edited by free4

          (Sorry for my previous post, it was a mistake)

          The information about vouchers that are in expired is stored in /var/db/voucher_{$cpzone}_used_{$roll}.db. This file is a binary file, and it is not exported when performing a backup.

          Is it expected? Well, i'm not netgate....but in my opinion, yes. Connected users, and inuse/expired vouchers are not configuration elements and should not be saved when performing a backup.

          Active DHCP leases (for instance) are also not saved when performing a backup. Because they are not configuration elements.

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