Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 200
  • Last Modified:

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
0
daly29
Asked:
daly29
  • 2
2 Solutions
 
LazarusCommented:
In the Backup utility it has a Backup Report. It saves logs in text format of your Backups in this directory.

C:\Documents and Settings\%USER%\Local Settings\Application Data\Microsoft\Windows NT\NTBackup\data

%USER% being the username that you are running the backup from.

Hope this helps

Lazarus
0
 
jburgaardCommented:
Agree with Lazarus, but please take into consideration :
The logs are reused (written over) in a cycle.
Only 10 logs exist at a given time, unles YOU do something to save them.
0
 
LazarusCommented:
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
0
 
daly29Author Commented:
Thanks very much guys that really helped a lot

Regards
0

Featured Post

Restore individual SQL databases with ease

Veeam Explorer for Microsoft SQL Server delivers an easy-to-use, wizard-driven interface for restoring your databases from a backup. No expert SQL background required. Web interface provides a complete view of all available SQL databases to simplify the recovery of lost database

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now