This commit is contained in:
@@ -30,6 +30,12 @@ namespace AyaNova.Biz
|
||||
if (!OnDemand)
|
||||
{
|
||||
log.LogTrace("Checking if backup should run");
|
||||
if (!ServerGlobalOpsSettingsCache.Backup.Active)
|
||||
{
|
||||
log.LogTrace("Automatic backup is set to INACTIVE - not backing up");
|
||||
return;
|
||||
}
|
||||
|
||||
if (DateTime.UtcNow < ServerGlobalOpsSettingsCache.NextBackup)
|
||||
{
|
||||
log.LogTrace("Not past backup time yet");
|
||||
|
||||
Reference in New Issue
Block a user