When restoring from USB during install, if the config file contains RRD data, the final config.xml on the system will also contain all the RRD infomation
When restoring from USB during install (according to https://doc.pfsense.org/index.php/Automatically_Restore_During_Install), if the config file contains RRD data, the final config.xml on the system will also contain all the RRD infomation.
It's going to store all the RRD information which was present at the backup time, between the <rrddata></rrddata> tags at the end of the file, and this file will be the main config file of the system as it is.
RRD information is not restored though.
Configuration saves take longer because of this.
Backing up the configuration from the web interface using the default "Do not backup RRD data (NOTE: RRD Data can consume 4+ megabytes of config.xml space!)" ticked, will still result in an XML file containing the RRD information.
Purging manually all the data between <rrddata></rrddata> and the tags themselves, then restoring the config from the web interface will reboot the firewall, RRD data will still be lost, but at least the config file size will be back to normal.
#2 Updated by Jim Pingle 9 months ago
- Category set to Backup/restore
- Target version changed from 2.3.4_1 to 2.3.5
- Affected Architecture set to All
Looks like there isn't any code to handle restoring RRD in that PFI path, only when diag_backup.php is used.
The feature during the installation process isn't present on 2.4 currently, so this bug would only be relevant to the next release with the feature in an installer, 2.3.5.
#4 Updated by Jim Pingle 9 months ago
robi robi wrote:
Is this feature left out intentionally from the future versions?
The installer was changed completely, so features like that will need to be reimplemented if they are to be kept. We're still looking into options there but I doubt it will be in 2.4, maybe 2.4.1.
It's very handy. It allowed me to restore a firewall with a broken SSD without having to hook up a VGA screen and a keyboard and assign interfaces.
You'd still need a console to go through the installer (especially on 2.4).