Link to home
Start Free TrialLog in
Avatar of AdminAssociates
AdminAssociates

asked on

Using NT Backup to backup a W2K Server

Can anyone help me write an NT Backup script for a W2K server that will do the following:

Backup the C:\ drive and the System State to the E:\ drive (an external HDD).  I would like the filename to reflect the date of the backup, not only for reference but also to prevent overwritting the previous nights backup.

Any help would be appreciated.
ASKER CERTIFIED SOLUTION
Avatar of Lee W, MVP
Lee W, MVP
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
If you are planning to use several external drives, save yourself a lot of headaches and buy this, it  uses NTBACKUP, automates the scripts and media, adding email notification and better loging to boot.
http://www.backupassist.com/index.html 
Avatar of AdminAssociates
AdminAssociates

ASKER

Thank you both for your prompt replies.

CavisMcCarn... I want to use NTBackup because it is free and I am cheap.

Leew:  I am sure that your script could be made to do almost anything, but darn... no offense, but that's like using a tactical nuke to get rid of your mouse problem.  I am just looking for a simple script that can add the date to the filename automatically.
So you're saying the script won't work for you?
HI
check this>> u can find any feature u want ::I recommend to use it,,it's freeee,, than NTbackup

https://www.experts-exchange.com/questions/24024584/back-up-solution.html?cid=238&anchorAnswerId=23293561#a23293561

BR

AdminAssociates:
Here are the contents of a BAT file which creates a folder named yyyyy-mm-dd which could be incorporated into a script:

@REM This section creates a folder name based upon the DATE function in Windows.
@REM For each segment, the # after the ~ is the starting point in the DATE string.
set mo=%date:~4,2%
SET dd=%DATE:~7,2%
SET yyyy=%DATE:~10,4%
set fname=%yyyy%-%mo%-%dd%
set backupdrive=E
MD %backupdrive%:\%fname%
What will get tedious in NTBackup is managing the media pool and it loves to get cluttered up and/or broken.  Yes, BackupAssist is a one time purchase of $249; but it uses built in backup software (NTBackup is but one) and fully automates the scripting to invoke it.
If you plan to use one external drive (which is playing russian roullete with your data), scripting it yourself won't be too bad; but, if you plan to rotate several drives (hopefully pulling one out each quarter or year), BackupAssist will save you an awful lot of time.