Project

General

Profile

Actions

Feature #15862

open

Suppress multiple backups during config default

Added by Steve Wheeler 5 months ago. Updated 17 days ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Backup / Restore
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Release Notes:
Default

Description

During the config default process, triggered from the console menu, webgui or hardware reset button, non-default packages are uninstalled from the system.

Since the system creates a backup point for each pkg operation this results in a lot of backups. For systems with a lot of packages it overwrites all 30 backup points in the system.

It would be nice to suppress most of those during the default process. Really we need only a before and after backup.

Please select an option to continue: 1
01. 11/25/24 12:52:20   v23.6   (system)
    User Manager password changed for user 'admin' from console.
02. 11/25/24 12:48:04   v23.6   (system)
    Installed WireGuard package.
03. 11/25/24 12:47:58   v23.6   (system)
    Generated new self-signed SSL/TLS certificate for HTTPS (674471fe0fbc4)
04. 11/25/24 12:47:39   v23.6   (system)
    Synced configured gateways
05. 11/25/24 12:47:38   v23.6   (system)
    Synced configured gateways
06. 11/25/24 12:45:51   v23.2   (system)
    Synced configured gateways
07. 11/25/24 12:45:44   v23.6   (system)
    [tinc] Package uninstalled.
08. 11/25/24 12:45:42   v23.6   (system)
    Intermediate config write during package removal for tinc.
09. 11/25/24 12:45:36   v23.6   (system)
    Removed System_Patches package.
10. 11/25/24 12:45:34   v23.6   (system)
    System Patches package removed 1 existing early shellcmd(s): apply patches
11. 11/25/24 12:45:32   v23.6   (system)
    Intermediate config write during package removal for System_Patches.
12. 11/25/24 12:45:27   v23.6   (system)
    Removed squid package.
13. 11/25/24 12:45:25   v23.6   (system)
    Removed cron job for /usr/local/pkg/swapstate_check.php
14. 11/25/24 12:45:23   v23.6   (system)
    Removed cron job for /usr/local/sbin/squid -k rotate -f /usr/local/etc/squid/squid.conf
15. 11/25/24 12:45:20   v23.6   (system)
    Intermediate config write during package removal for squid.
16. 11/25/24 12:45:11   v23.6   (system)
    Removed Shellcmd package.
17. 11/25/24 12:45:08   v23.6   (system)
    Intermediate config write during package removal for Shellcmd.
18. 11/25/24 12:45:03   v23.6   (system)
    Removed Service_Watchdog package.
19. 11/25/24 12:45:00   v23.6   (system)
    Removed cron job for /usr/local/pkg/servicewatchdog_cron.php
20. 11/25/24 12:44:58   v23.6   (system)
    Intermediate config write during package removal for Service_Watchdog.
21. 11/25/24 12:44:54   v23.6   (system)
    Removed openvpn-client-import package.
22. 11/25/24 12:44:51   v23.6   (system)
    Intermediate config write during package removal for openvpn-client-import.
23. 11/25/24 12:44:46   v23.6   (system)
    Removed openvpn-client-export package.
24. 11/25/24 12:44:44   v23.6   (system)
    Intermediate config write during package removal for openvpn-client-export.
25. 11/25/24 12:44:35   v23.6   (system)
    Removed ntopng package.
26. 11/25/24 12:44:33   v23.6   (system)
    Intermediate config write during package removal for ntopng.
27. 11/25/24 12:44:25   v23.6   (system)
    Removed node_exporter package.
28. 11/25/24 12:44:23   v23.6   (system)
    Removed cron job for /usr/bin/nice -n20 /usr/local/share/pfSense-pkg-node_exporter/interface-collector.py
29. 11/25/24 12:44:20   v23.6   (system)
    Intermediate config write during package removal for node_exporter.
30. 11/25/24 12:44:15   v23.6   (system)
    Removed nmap package.

Files

Actions #1

Updated by Steve Wheeler 5 months ago

  • Subject changed from Suppress multiple backups durng config default to Suppress multiple backups during config default
Actions #2

Updated by Jordan G 17 days ago

using 25.03.b.20250414.1838 defaulting the system results in fewer config history creation points, specifically the intermediate config write during package removal which seems to be unnecessary given the package removal also creates an entry

Actions

Also available in: Atom PDF