Skip to content

Commit

Permalink
Update CustomListBackup.cls
Browse files Browse the repository at this point in the history
fixed error
  • Loading branch information
SergeyMi37 authored Apr 29, 2020
1 parent 54d0fe7 commit 4157527
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cls/Task/CustomListBackup.cls
Original file line number Diff line number Diff line change
Expand Up @@ -148,8 +148,8 @@ Method OnTask() As %Status
/// Get file names
Method GetFileName(aBackupFile, ByRef aLogFile) As %Status
{
set tmpName=..PrefixBackUpFile_"_"_..TypeBackup_"_"_$s(..AllDatabases:"All",1:"List")_"_"_$zd($h,8)_$tr($j($i(cnt),3)," ",0)
do {
set tmpName=..PrefixBackUpFile_"_"_..TypeBackup_"_"_$s(..AllDatabases:"All",1:"List")_"_"_$zd($h,8)_$tr($j($i(cnt),3)," ",0)
s aBackupFile=##class(%File).NormalizeFilename(..DirBackup_"/"_tmpName_".cbk")
} while ##class(%File).Exists(aBackupFile)
set aLogFile=##class(%File).NormalizeFilename(..DirBackupLog_"/"_tmpName_".log")
Expand Down

0 comments on commit 4157527

Please sign in to comment.