Project

General

Profile

Actions

Bug #16214

closed

Maximum Backup Limit Setting Not Enforced

Added by Danilo Zrenjanin 4 months ago. Updated 4 months ago.

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

0%

Estimated time:
Release Notes:
Default
Affected Plus Version:
Affected Architecture:

Description

Issue Description:

The value set under Diagnostics > Configuration History > Configuration Backup Settings > Maximum Backups is not being enforced after changing it from the default. Despite specifying a new maximum value, the number of configuration backup files continues to grow beyond the defined limit.

Steps to Reproduce:

1. Navigate to Diagnostics > Configuration History.
2. Under Configuration Backup Settings, change Maximum Backups to a new value (e.g., 32).
3. Apply the changes.
4. Begin creating new aliases.
5. After several aliases have been added, run the following command to count the backup files:

find /conf/backup -type f | wc -l

You'll notice that the number of backup files will exceed the defined limit.


Related issues

Is duplicate of Bug #15994: Backup configuration cache is not cleaned automaticallyResolvedMarcos M

Actions
Actions #1

Updated by Robert Jacobson 4 months ago

It appears that the cleanup only occurs when the web UI for the configuration history is loaded. On my system, the backups directory grew very large because I had assumed they would be cleaned up automatically -- but they were only cleaned up when I attempted to open the web UI for the configuration history. In fact, the cleanup UI page hung for a very long time, until I eventually got a 502 error. When I reloaded the browser, the extra files had been cleaned up.

Actions #2

Updated by Marcos M 4 months ago

  • Status changed from New to Duplicate
Actions #3

Updated by Marcos M 4 months ago

  • Project changed from pfSense to pfSense Plus
  • Category changed from Backup / Restore to Backup / Restore
Actions #4

Updated by Marcos M 4 months ago

  • Is duplicate of Bug #15994: Backup configuration cache is not cleaned automatically added
Actions

Also available in: Atom PDF