Todo #12093
closed
Make AutoConfigBackup menu entry point to the settings tab so it loads faster when there is no WAN connectivity
Added by Marcos M over 3 years ago.
Updated over 2 years ago.
Category:
Backup / Restore
Plus Target Version:
22.05
Release Notes:
Force Exclusion
Description
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:
- 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.
- 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
.
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.
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.
- Subject changed from Auto Config Backup enhancements to AutoConfigBackup enhancements
- Status changed from New to Pull Request Review
- Assignee set to Viktor Gurov
- Target version set to 2.6.0
- Plus Target Version set to 22.01
- Status changed from Pull Request Review to Feedback
Tested in
2.6.0-DEVELOPMENT (amd64)
built on Sat Nov 20 06:21:37 UTC 2021
FreeBSD 12.3-PRERELEASE
The landing page now goes to services_acb_settings.php so it loads much faster when there is no WAN connectivity
- Tracker changed from Feature to Todo
- Subject changed from AutoConfigBackup enhancements to Make AutoConfigBackup menu entry point to the settings tab so it loads faster when there is no WAN connectivity
Updating subject for release notes.
- Status changed from Feedback to Resolved
Menu entry goes to settings now as expected.
- Status changed from Resolved to Pull Request Review
- Release Notes changed from Default to Force Exclusion
- Target version changed from 2.6.0 to 2.7.0
- Plus Target Version changed from 22.01 to 22.05
- Status changed from Pull Request Review to Feedback
Tested in
22.05-DEVELOPMENT (amd64)
built on Wed Apr 06 16:45:59 UTC 2022
FreeBSD 12.3-STABLE
The main link is updated and goes to services_acb_settings.php instead of services_acb.php. It is therefore, much quicker without WAN, as expected.
- Status changed from Feedback to Resolved
Also available in: Atom
PDF