|
Post by mueh on Aug 20, 2023 1:52:52 GMT -5
Hi George ! BACKUP ? returns msg "No existing Backups" if File has no extension . Function DoBackup has code when in fact backup file name looks like SV23.230530-144626.230818 L:\MB\$BACKUP\ SV23.230530-144626.230818.STATE L:\MB\$BACKUP\ with no Dot at end .
'- Count existing backups | '-----------------------------------------------------------------------------------------------+ TSTFileName = oPath + "$BACKUP\" + oFile + ".*" ' Build generic (no stamp) search version BKPCount = 0 u = PCRERegexCompile("\.[0-9]{6}\-[0-9]{6}\.[0-9]{6}\.") ' Look for our timestamp pattern
|
|
|
Post by George on Aug 20, 2023 8:48:22 GMT -5
MUEH: Corrected. I just altered the RegEx mask to remove the last period. 999999-999999.999999 format is more than enough to flag a Backup file.
Included in the latest Beta.
George
P.S. You have been busy lately finding these obscure bugs. ;-))
|
|