https://redmine.pfsense.org/https://redmine.pfsense.org/favicon.ico?16780521162021-12-07T04:33:53ZpfSense bugtrackerpfSense - Feature #12518: Restore RRD and extra data from configuration backups when restoring during installationhttps://redmine.pfsense.org/issues/12518?journal_id=577072021-12-07T04:33:53ZViktor Gurov
<ul></ul><p><a class="external" href="https://gitlab.netgate.com/pfSense/FreeBSD-src/-/merge_requests/33">https://gitlab.netgate.com/pfSense/FreeBSD-src/-/merge_requests/33</a></p>
<p><a class="external" href="https://gitlab.netgate.com/pfSense/pfSense/-/merge_requests/489">https://gitlab.netgate.com/pfSense/pfSense/-/merge_requests/489</a></p> pfSense - Feature #12518: Restore RRD and extra data from configuration backups when restoring during installationhttps://redmine.pfsense.org/issues/12518?journal_id=577172021-12-07T07:35:12ZJim Pingle
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Pull Request Review</i></li><li><strong>Assignee</strong> set to <i>Viktor Gurov</i></li><li><strong>Target version</strong> set to <i>2.6.0</i></li><li><strong>Plus Target Version</strong> set to <i>22.01</i></li></ul> pfSense - Feature #12518: Restore RRD and extra data from configuration backups when restoring during installationhttps://redmine.pfsense.org/issues/12518?journal_id=577212021-12-07T07:50:09ZViktor Gurov
<ul><li><strong>Status</strong> changed from <i>Pull Request Review</i> to <i>Feedback</i></li><li><strong>% Done</strong> changed from <i>0</i> to <i>100</i></li></ul><p>Applied in changeset <a class="changeset" title="Restore RRD and extra data on bsdinstall config.xml restore. Implements #12518" href="https://redmine.pfsense.org/projects/pfsense/repository/2/revisions/7b6a63312ff25e513463f9a429295974b95b4af9">7b6a63312ff25e513463f9a429295974b95b4af9</a>.</p> pfSense - Feature #12518: Restore RRD and extra data from configuration backups when restoring during installationhttps://redmine.pfsense.org/issues/12518?journal_id=577492021-12-10T10:19:33ZJim Pingle
<ul><li><strong>Subject</strong> changed from <i>Restore RRD and extra data on bsdinstall config.xml restore</i> to <i>Restore RRD and extra data from configuration backups when restoring during installation</i></li></ul><p>Updating subject for release notes.</p> pfSense - Feature #12518: Restore RRD and extra data from configuration backups when restoring during installationhttps://redmine.pfsense.org/issues/12518?journal_id=580032021-12-24T07:03:20ZViktor Gurov
<ul></ul><p>bsdinstaller does not create the '/cf/conf/trigger_restore_config_after_bsdinstall' file for some reason (<a class="external" href="https://github.com/pfsense/FreeBSD-src/blob/devel-12/usr.sbin/bsdinstall/scripts/copy_configxml_from_usb#L66">https://github.com/pfsense/FreeBSD-src/blob/devel-12/usr.sbin/bsdinstall/scripts/copy_configxml_from_usb#L66</a>)</p>
<p>if this file is created manually ("touch /cf/conf/trigger_restore_config_after_bsdinstall"), it will successfully restore extra data</p> pfSense - Feature #12518: Restore RRD and extra data from configuration backups when restoring during installationhttps://redmine.pfsense.org/issues/12518?journal_id=580042021-12-24T08:49:11ZViktor Gurov
<ul></ul><p>fix:</p>
<p><a class="external" href="https://gitlab.netgate.com/pfSense/FreeBSD-src/-/merge_requests/43">https://gitlab.netgate.com/pfSense/FreeBSD-src/-/merge_requests/43</a></p>
<p><a class="external" href="https://gitlab.netgate.com/pfSense/pfSense/-/merge_requests/531">https://gitlab.netgate.com/pfSense/pfSense/-/merge_requests/531</a></p> pfSense - Feature #12518: Restore RRD and extra data from configuration backups when restoring during installationhttps://redmine.pfsense.org/issues/12518?journal_id=580422021-12-27T08:18:17ZJim Pingle
<ul><li><strong>Status</strong> changed from <i>Feedback</i> to <i>Pull Request Review</i></li></ul> pfSense - Feature #12518: Restore RRD and extra data from configuration backups when restoring during installationhttps://redmine.pfsense.org/issues/12518?journal_id=581602022-01-03T11:41:42ZJim Pingle
<ul><li><strong>Status</strong> changed from <i>Pull Request Review</i> to <i>Feedback</i></li></ul><p>Already merged.</p> pfSense - Feature #12518: Restore RRD and extra data from configuration backups when restoring during installationhttps://redmine.pfsense.org/issues/12518?journal_id=582042022-01-05T08:53:54ZJim Pingle
<ul><li><strong>Status</strong> changed from <i>Feedback</i> to <i>New</i></li></ul><p>This can be activated unintentionally on upgrade the way it is now. It looks like the installer made <code>/conf/installer_copied_config</code> when it restored a config in the past, but that file was never removed when the system finished booting after installation. Because it wasn't removed, some systems may still have that file present even though they haven't been (re)installed in months or more. As a consequence, on upgrade this new code triggers and they get a notification about the restore. It should end up being a NOOP but the notification may still confuse users.</p>
<pre>
pfSense is restoring the configuration /tmp/config_to_restore.xml @ 2022-01-05 09:31:06
</pre>
<p>This should probably also look for some other indication that it's the first boot post install, such as the presence of <code>{$g['conf_path']}/trigger_initial_wizard</code></p> pfSense - Feature #12518: Restore RRD and extra data from configuration backups when restoring during installationhttps://redmine.pfsense.org/issues/12518?journal_id=582692022-01-10T08:34:48ZViktor Gurov
<ul></ul><p>Improved:</p>
<p><a class="external" href="https://gitlab.netgate.com/pfSense/pfSense/-/merge_requests/549">https://gitlab.netgate.com/pfSense/pfSense/-/merge_requests/549</a></p>
<p><a class="external" href="https://gitlab.netgate.com/pfSense/FreeBSD-src/-/merge_requests/45">https://gitlab.netgate.com/pfSense/FreeBSD-src/-/merge_requests/45</a></p> pfSense - Feature #12518: Restore RRD and extra data from configuration backups when restoring during installationhttps://redmine.pfsense.org/issues/12518?journal_id=582702022-01-10T08:51:17ZJim Pingle
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Pull Request Review</i></li></ul> pfSense - Feature #12518: Restore RRD and extra data from configuration backups when restoring during installationhttps://redmine.pfsense.org/issues/12518?journal_id=583252022-01-13T12:31:45ZViktor Gurov
<ul><li><strong>Status</strong> changed from <i>Pull Request Review</i> to <i>Feedback</i></li></ul><p>Merged</p> pfSense - Feature #12518: Restore RRD and extra data from configuration backups when restoring during installationhttps://redmine.pfsense.org/issues/12518?journal_id=588922022-02-14T07:09:44ZJim Pingle
<ul><li><strong>Status</strong> changed from <i>Feedback</i> to <i>Closed</i></li></ul>