first commit
This commit is contained in:
23
Config/AuroraConfig.cs
Normal file
23
Config/AuroraConfig.cs
Normal file
@@ -0,0 +1,23 @@
|
||||
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;
|
||||
|
||||
/// <summary>hdbuserstore key with admin rights (DROP SCHEMA, EXPORT, IMPORT, GRANT).</summary>
|
||||
public string AdminUserKey { get; set; } = "CRONKEY";
|
||||
|
||||
/// <summary>Source schema to export and re-import as <SourceSchema>_AURORA.</summary>
|
||||
public string SourceSchema { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>DB user that receives ALL PRIVILEGES on the Aurora schema.</summary>
|
||||
public string AuroraUser { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>Directory used for temporary export files during the Aurora refresh.</summary>
|
||||
public string BackupBasePath { get; set; } = "/hana/backup/aurora";
|
||||
|
||||
/// <summary>Thread count for export/import. 0 = auto (nproc/2).</summary>
|
||||
public int Threads { get; set; } = 0;
|
||||
}
|
||||
Reference in New Issue
Block a user