16 lines
554 B
C#
16 lines
554 B
C#
namespace HanaToolbox.Config;
|
|
|
|
public sealed class CleanerConfig
|
|
{
|
|
public bool Enabled { get; set; } = false;
|
|
public int ScheduleHour { get; set; } = 3;
|
|
public int ScheduleMinute { get; set; } = 0;
|
|
|
|
public string TenantBackupPath { get; set; } = "/hana/backup/tenant";
|
|
public int TenantRetentionDays { get; set; } = 7;
|
|
|
|
/// <summary>One or more log backup directories. Each is cleaned with LogRetentionDays.</summary>
|
|
public List<string> LogBackupPaths { get; set; } = [];
|
|
public int LogRetentionDays { get; set; } = 1;
|
|
}
|