namespace HanaToolbox.Config;
public sealed class AuroraConfig
{
public bool Enabled { get; set; } = false;
public int ScheduleHour { get; set; } = 5;
public int ScheduleMinute { get; set; } = 0;
/// hdbuserstore key with admin rights (DROP SCHEMA, EXPORT, IMPORT, GRANT).
public string AdminUserKey { get; set; } = "CRONKEY";
/// Source schema to export and re-import as <SourceSchema>_AURORA.
public string SourceSchema { get; set; } = string.Empty;
/// DB user that receives ALL PRIVILEGES on the Aurora schema.
public string AuroraUser { get; set; } = string.Empty;
/// Directory used for temporary export files during the Aurora refresh.
public string BackupBasePath { get; set; } = "/hana/backup/aurora";
/// Thread count for export/import. 0 = auto (nproc/2).
public int Threads { get; set; } = 0;
}