case 4460

This commit is contained in:
2023-03-07 00:20:48 +00:00
parent 9acda7f819
commit 4d3db625b5
2 changed files with 5 additions and 5 deletions

View File

@@ -588,11 +588,11 @@ namespace Sockeye.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.SOCKEYE_ATTACHMENT_FILES_PATH, AttachmentsBackupFile);