Enhancement Bolder notification of good or bad backup


Author
Message
mourinor
mourinor
New Member
New Member (2 reputation)New Member (2 reputation)New Member (2 reputation)New Member (2 reputation)New Member (2 reputation)New Member (2 reputation)New Member (2 reputation)New Member (2 reputation)New Member (2 reputation)
Group: Forum Members
Posts: 1, Visits: 2
I find your icon is very small and sometimes I do not notice it.   A bolder   message option to notice the user that a backup had failed would be useful
I build my own that runs at startup and looks at the logs to determine if a backup failed or not.
You can do a better job than me but here is my script that checks for bad entries in the log

@echo off
mode con cols=75 lines=20

findstr /m /v /c:"Image Completed Successfully" /c:"Restore completed" c:\programdata\macrium\reflect\*.html > check_backup.txt

rem the html file is one long string
rem  the command is looking for the listed variables
rem  if it does not find them the return code is 0 else its 1
rem  using a negative search option /v

if errorlevel 1 goto waitexit

rem no error  zero return get out else
rem add red background white letters

color 4F

Echo.
echo.
echo.
Echo              *******************************************
Echo              *******************************************
Echo              *******************************************
Echo              *******************************************
Echo              *******************************************
Echo                         Backup error found
echo                      Check Macrium Backup Logs at
echo                   c:\programdata\macrium\reflect\*.html
echo              *******************************************
Echo              *******************************************
Echo              *******************************************
Echo              *******************************************
Echo              *******************************************
echo.
echo.

 pause
 goto exit
 
 :waitexit
 
 color  2F
 rem green background white letters
 
  echo.
 echo.
 echo          Macrium Logs Checked All OK
 echo.
 echo.
 
 timeout /T 4
 :exit
exit


Richard V.
Richard V.
Most Valuable Professional
Most Valuable Professional (4.1K reputation)Most Valuable Professional (4.1K reputation)Most Valuable Professional (4.1K reputation)Most Valuable Professional (4.1K reputation)Most Valuable Professional (4.1K reputation)Most Valuable Professional (4.1K reputation)Most Valuable Professional (4.1K reputation)Most Valuable Professional (4.1K reputation)Most Valuable Professional (4.1K reputation)
Group: Forum Members
Posts: 2K, Visits: 8K
Alternatively, an error handler function could be added to one of Reflect's own scripts for running the backup task definition so that it pops up an appropriate message based on the return code.

Regards, Richard V. ("Arvy")
https://forum.macrium.com/uploads/images/afc5d4fe-5d25-4e25-be94-185e.png

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search