case 4460

This commit is contained in:
2023-03-06 23:59:32 +00:00
parent 9c8fd499a0
commit d4c7e719e2
4 changed files with 9 additions and 8 deletions

View File

@@ -588,11 +588,11 @@ namespace AyaNova.Util
}
internal static void BackupAttachments(string demandFileNamePrepend, ILogger log = null)
internal static void BackupAttachments(ILogger log = null)
{
try
{
var AttachmentsBackupFile = $"{demandFileNamePrepend}at-{FileUtil.GetSafeDateFileName()}.zip";//presentation issue so don't use UTC for this one
var AttachmentsBackupFile = $"at-{FileUtil.GetSafeDateFileName()}.zip";//presentation issue so don't use UTC for this one
AttachmentsBackupFile = GetFullPathForBackupFile(AttachmentsBackupFile);
System.IO.Compression.ZipFile.CreateFromDirectory(ServerBootConfig.AYANOVA_ATTACHMENT_FILES_PATH, AttachmentsBackupFile);