Project

General

Profile

Feature #10856

Backup/Restore Captive Portal usedmacs DB

Added by Viktor Gurov 2 months ago. Updated about 1 month ago.

Status:
Resolved
Priority:
Normal
Category:
Backup / Restore
Target version:
Start date:
08/31/2020
Due date:
% Done:

100%

Estimated time:

Description

/var/db/captiveportal_usedmacs_<cpzone>.db files used by "Pass-through credits per MAC address" feature are not in the backup file

see also #3128

Associated revisions

Revision 9185bfff (diff)
Added by Viktor Gurov about 2 months ago

Backup/restore Captive Portal UsedMACs. Implements #10856

History

#2 Updated by Jim Pingle 2 months ago

  • Status changed from New to Pull Request Review

#3 Updated by Renato Botelho about 2 months ago

  • Status changed from Pull Request Review to Feedback
  • Assignee set to Renato Botelho
  • Target version set to 2.5.0
  • % Done changed from 0 to 100

PR has been merged. Thanks!

#4 Updated by Danilo Zrenjanin about 1 month ago

Tested on:

2.5.0-DEVELOPMENT (amd64)
built on Tue Sep 22 18:55:26 EDT 2020
FreeBSD 12.2-PRERELEASE

captiveportal_usedmacs_test.db file is included in the xml backup file.

<captiveportaldata>
   <xmldatafile>
    <filename>captiveportaltest.db</filename
<data>7dfBbtNAEIBhu01SCSlVOSAfWU4mIuLCC7QUCxVVQS0p9GZt7E27Uuw19rrJFSRegRsvw4vwKtghdWoI4oQQ0f9JcXZ2RrNj3/bN2am2SkxNnkgrnjkHjus6h0I4jtOtfj1nrY47d2LX+bOu8/T4a79e9ANn//P+k/63/pdqCQAAAAD/p7fdnvfQd0udxmpRWJlbqxMVyczqG5WZ3MpZ7/g8OBoH4mT0IrgUTY14PRKtOvFYzmZmHtbJwWGn59333XfLvjprFXZbDXW2oZPOBq92e94D371adigLlbdKOq0edXpDl3o7ldU0emfPe+S7H7wf48SLUEZ1Yat+d9XyYnRydtFM19Ru6F+ootAm1fFQNEd9vHL3PN93P/WtnMzaJ7SCndVx46Pnp8Hvv2Q1xzh4GZwPRaYzlZp1XH24cXA5HopERqvV7RSrsJlvFU8yWRRzk8ft/PIcU9o7reOZ+nW3KVd5olNp1U8D6rTK6CRc/t9Ur9FkbC6nUx2F70tj5Xp7Mg/LrBXGZp6uN2RprxNlr83twJGpWi/sMhrUd/Pq0g8AAAAAALbYvfpx8I+HAAAAAAAAfxX3fwAAAAAAth/3fwAAAAAAth/3fwAAAAAAtt93</data>
    </xmldatafile>
</captiveportaldata>

Ticket resolved.

#5 Updated by Danilo Zrenjanin about 1 month ago

  • Status changed from Feedback to Resolved

Also available in: Atom PDF