Discussion Locked

Using AT command!.

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

We installed a firewall and stopped few services like w/s,svr,netbios helper,and few others for security reasons.Now I need to run Seagate backup and I couldn't because it's asking for those services that I disabled to be installed again.So I decided to use MS backup and run the AT command.
Could anyone tell me what is the right command to use if I want to backup C:\& D:from Monday thru Friday at 11:00pm?Thx for any help.

9 replies

by aaron_wurthmann

This all sounds too familar..
A couple months back I to expericated the same deliema. I'm not sure exactly what command you are looking for, but I thought that I would offer you a couple pieces of advice having gone through this already,
1) AT is a good tool but sometimes MSTask is better, you can find it on the NT resource kit. It is useful for when you need to schedule tasks as different users i.e. aaron apposed to administrator.
2) With AT and MSTask be sure that your commands and batch scripts are in 8.3 format, i.e. c":\progra~1" instead of "c:\program files".
3) For sanity purposes I usually put my batch files in %systemroot% or C:\Winnt, this saves sometime and frustration when trouble shooting.
4) One word.. "pause" put a pause at then end of all of your scripts/ AT jobs. So that you can see the errors while testing them. Remove them afterwards.

by mckaytech

The way we work it is we set AT to call a batch file named backup.bat.

Within backup.bat are the following lines:

ntbackup backup c:\ /d "BackUP_C" /b /hc:on/t normal tape: 1
ntbackup backup d:\ /d "BackUP_D" /hc:on/t normal tape: 1

To call this program, we use WinAT (a graphical version of AT found in the Resource Kit). However, the syntax for AT would be something like:

at 23.00 /every:mon,tue,wed,thu,fri backup.bat

paul

by avidetto

I suggest you use WinAt (this is the Gui based version of the at command). This will allow you to use radio & Check boxes to complete this task, rather than guessing at the syntax. Then test batch files as stated above on "test boxes" while you knowthat you have your data secure, this will remove any chance for issues with your task. Good Luck -Al

by dvn

I would suggest to run at command in interactive mode, otherwise if backup fails for any reason it will sit on background until you "end task" it
at 23.00 /interactive /every:mon,tue,wed,thu,fri backup.bat

This discussion is closed to new replies.