Link to home
Create AccountLog in
Avatar of daly29
daly29Flag for United Kingdom of Great Britain and Northern Ireland

asked on

Create a Notepad log file for 2003 Server backup

Hello

I am running windows backup on my server which works fine for us. I would just like to create a log file of the backups when errors occur, cant seem to find an option in the Software to create a log.

Could anyone help with this please?

regards
ASKER CERTIFIED SOLUTION
Avatar of Lazarus
Lazarus
Flag of United States of America image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
SOLUTION
Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
jburgaard,
good point, I forgot to mention that little bit. He can easily make a little batch file to save and rename them. Something like below:

SET CURRENTDATE=
SET GETSYSDATE=
FOR /F " tokens=1,2,3* delims=/,  " %%i IN ('date /T') DO SET CURRENTDATE=%%i%%j%%k%%l
FOR /F " tokens=1,2,3* " %%i IN ('echo %CURRENTDATE%') DO SET GETSYSDATE=%%j%%k%%l

ren backup*.log backup-%GETSYSDATE%.log
copy /v backup-%GETSYSDATE%.zip \\SERVER\DRIVE\BACKUPLOGS\backup-%GETSYSDATE%.log
Avatar of daly29

ASKER

Thanks very much guys that really helped a lot

Regards