Feature #2436
closedEnhance the restore section of the Backup/Restore section
90%
Description
If restoring a partial config, we currently assume that only that section is uploaded. This is somewhat counterintuitive.
We want to make it possible to upload a entire config.xml and only act on the selected section, e.g. Firewall rules.
The standard config.xml has a root tag of pfSense, we should be able to go one level deeper to get to the data we need. This makes it easier to restore a single section.
Updated by Darren Embry over 12 years ago
- Status changed from New to Feedback
- Assignee changed from Darren Embry to Seth Mos
- % Done changed from 0 to 90
Updated by Seth Mos over 12 years ago
- Status changed from Feedback to Assigned
When trying to restore just the RRD section on a current 31-5-2012 snapshots I get the following error.
Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 90281672 bytes) in /usr/local/www/diag_backup.php on line 368
Perhaps you can tweak the code to use less memory
Updated by Seth Mos over 12 years ago
I can confirm that restoring an entire RRD file from a i386 onto a amd64 works as expected. Great work!
I must have been doing something wrong in the other ticket. Restoring a RRD section works fine, restored a amd64 RRD data onto a i386 box.
Works. Migration path works.
Updated by Darren Embry over 12 years ago
Should I still look into the memory issue? My understanding is some of that XML parsing code we've been using has bitten us in the ass in the past.
Updated by Darren Embry over 12 years ago
If you want to make a new ticket for the memory issue I guess you can do that. :-)