Feature #12093


Auto Config Backup enhancements

Added by Marcos Mendoza 3 months ago. Updated 3 months ago.

Backup / Restore
Target version:
Start date:
Due date:
% Done:


Estimated time:
Plus Target Version:
Release Notes:


When Backup Frequency is set to backup on change, changing/saving settings is delayed. This can range from only a slight but annoying delay to a longer inconvenient one resulting in a bad user experience. The backup logic should be improved with the following goals in mind:

  1. Page load times for saving changes (e.g. firewall aliases) should not be affected.
    This could be accomplished, for example, by queuing backups to a service.
  2. Navigating to Services / Auto Configuration Backup should not be affected by internet connectivity.
    Possible solution here is setting the landing page to services_acb_backup.php instead of services_acb.php.
Actions #1

Updated by Christian McDonald 3 months ago

This is something that I've actually been looking into as well over the past few days in response to work on the WireGuard package. There is certainly improvements to be made here. Going back through the acb code, I found the -NoReMoTeBaCkUp override string that can disable acb on certain calls to write_config, which I'm now using and this does help...but backup on change is still a locking process in regards to the UI. I've honestly never recommended it, and have always recommended the more conservative schedule-based approach.

In addition to a service that can handle backing up in the background, do you think it would also make sense to bust acb out of pfSense proper and rebuild it as a package? Considering the work investment in building the service you're proposing, it might also be worth it to spend a little more time to convert acb to a package, that can then be maintained and updated separately...I've obviously been thinking about packages a lot over the last 2-3 months, so I'm quite partial to this more modular paradigm.

Actions #2

Updated by Jim Pingle 3 months ago

It used to be a package, we decided to integrate it into base when it was made free to all. I don't see it moving back to a package.


Also available in: Atom PDF