Discussion Locked

Understanding and using winat.exe

0 helpful
4 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I need to find info on using winat.exe to schedule my network backups.

I want to insure the network is getting backed up and I can restore.

Don't you use the ntbackup commands in a bat file and enter this file in winat? What tool do you use to restore with?
Your help is appreciated!

4 replies

by katherine edelkoort

WinAT.exe is a graphical tool that comes with the Windows NT Resource kit. It is just a graphical version of the AT utility that comes with NT. If you install the resource kit and run the program, you will have no problem figuring out how to run it.It is very intuitive. If you don't have it, you can use the AT utility. It is a command line scheduler and is more difficult to use. Just type AT /? at a command prompt for help. Either way, make sure you have started the Schedule Service before youuse them.

You are correct about using ntbackup commands in a batch file and then scheduling the batch file using AT or WinAT. If you want to make sure the backup happens and works thoroughly, make sure that you do /v in the batch file for "verifyafter backup" and make sure you specify that a full log file is created that records everything.

To restore, there is no need to write a batch file, since this is something you only do when you NEED to restore a backup. Just open the Windows NT Backup program from your Administrative Tools and select restore. You should see a graphical representation of the contents of your backup tape and your can select what you want to restore.

A much simpler idea is to purchase a third party backup utility. Windows NT Backup is a bit lacking. Most other backup utilities are much less limiting, have built-in scheduling, work with a wider variety of backup devices and will backup open files (which Windows NT Backup does not do).

Katherine Edelkoort
Brainbench "MVP" for WinNT Admin
http://www.brainbench.com

by lawrin

I am using WinAT along with NTBackup on an NT server system to run automatic backups using Batch files. It is working great on one of my NT Server System, but I can't seem to get it to work on one of my other NT Servers.

On the NT Sever where WinAT and NTBackup are working, I have my batch file written to target specific directories for the files I want to back up and it works fine. But on the NT Server system I am having problems with, they want the entire contents of the C:\, E:\ and F:\drives backed up. In my batch file I wrote the command as follows:

ntbackup backup c:\ e:\ f:\ /v /hc:on /l 'g:\lawrin\backup.log'

I then used WinAT to schedule this batch file to run. I was trying to test the WinAT program, so I added the entry and I selected the Today option from the when to back up section, then selected a time to start it. When I clicked OK, the item line in the scheduler did not show Today as the time to backup, it showed Next 13 (since yesterday was Dec 13 when Iwas trying this.) So I could not get the AT command scheduler to work.

So I tried running the batch file from the run command. The NTBackup program did start so I left it to run over night. When I came back in the next day, the backup appeared to complete, but the NTBackup process was still running in the background, and I could not stop it. I had to reboot the system to stop the process so I could eject my tape.

So if you have any suggestions on what I am doing wrong, or could suggesta good third party program that I can use to schedule regular backups on my NT System, I would be most greatful.

Sincerely,

Ms. Lawrin Walker
Computer Operator
USAMSAA, IMS

by johnfair

I'm seeing exactly this problem at one of my client sites; the .CMD file always executes when scheduled directly but NTBACKUP will never seem to execute when executed via tha AT command. I'd certainly be interested in any information that readers may have; since my inability to resolve this problem for my client makes me look extremely indept.

by labtech

When we use NTBackup, I couple it with the Kixtart utility found in the NT resource kit. This provides much greater versatility to include logging and event viewer entries for the tape backup.
This is my own little trick, but at jobs run from the system32 directory when using the following sequence:
cmd /c kix32 /interactive

I drop the kix32 script in the winnt\system32 directory to make things easier. I always use interactive in case the machine was left logged on.The filename.kix file would look something like:
shell "NTBackup /eject"

I have a complete script as an example if interested. Please email for a copy.

This discussion is closed to new replies.