Project

General

Profile

Bug #3128

Active voucher status not restored from backup

Added by Klaus F about 7 years ago. Updated 2 months ago.

Status:
Feedback
Priority:
Normal
Category:
Backup / Restore
Target version:
Start date:
08/03/2013
Due date:
% Done:

100%

Estimated time:
Affected Version:
2.4.5-p1
Affected Architecture:

Description

I want to restore a 2.0.2 backup config.xml where also the status of the active vouchers ist stored.

After a fresh installation of the pfSense-2.0.3-RELEASE-2g-i386-nanobsd_vga-20130412-1022.img.gz and a restore of the 2.0.2 backup all is restored fine but not the active vouchers.
This is very bad because a few 1000 vouchers are unused again.

Please give a fix how to restore the active vouchers.

Thanks,
Klaus

Associated revisions

Revision f21d4f79 (diff)
Added by Viktor Gurov 3 months ago

Active voucher restore from backup. Implements #3128

History

#1 Updated by Ermal Lu├ži about 7 years ago

Vouchers status are not backed up with the configuration as is not the user login status.

#2 Updated by Klaus F about 7 years ago

This is not true.
The voucher status is backed up with the configuration. At least in Version 2.0.2.
But the status is not restored from the backup.

I think this is a bug.

#3 Updated by Doktor Notor over 6 years ago

To sum this up, I posted about the mess at the forum: https://forum.pfsense.org/index.php/topic,72418.0.html

Additionally, this causes an "invalid payload" error every time you reboot a box in a setup when you have slaves syncing vouchers from the master.

#4 Updated by Viktor Gurov 5 months ago

  • Status changed from New to Resolved

no such issue on 2.4.5 and 2.5

active vouchers status successfully restored

#5 Updated by Viktor Gurov 3 months ago

  • Status changed from Resolved to New
  • Affected Version set to 2.4.5-p1

still an issue,
as a workaround '/var/db/voucher_*.db' files can be backed up,
See https://forum.netgate.com/topic/150532/active-voucher-restore-problem/4

#7 Updated by Jim Pingle 2 months ago

  • Status changed from New to Pull Request Review
  • Target version set to 2.5.0

#8 Updated by Renato Botelho 2 months ago

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

PR has been merged. Thanks!

Also available in: Atom PDF