Discussion Locked

Schedule Backup in Win NT 4.0

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

How do I schedule NT4 backup of a network drive of another server in the same or different domain ?

I have tried the following command but it does not work and also didn't give any error message :

at 22:00 /every M,T,W,Th,F ntbackup backup P:\foldername /v

12 replies

by rvkempen

To backup a network drive, you must be logged in, and have the drive mapped, you might want to try unc names instead.
at 22:00 /every M,T,W,Th,F ntbackup backup //servername/sharename /v

by rvkempen

Barry is absolutely right, i guess i have been working with unix to much lately ;)

by barry hensley

The above answer may work but, you need to use BACKSLASHES (\\) in the UNC as an arguement for the backup command. Forward slashes will cause a command error.

by mckaytech

This is the syntax I use for the ntbackup to backup network drives:

ntbackup backup m:\ /v /a /hc:on /dScheduledBackupm /ld:\logs\backup\backup.log /e /tape:0

(all one line, of course, and where the drive letter m is mapped to the target folder).

By using the logging switch, you get a lot better information on what happened and that might help you track the problem down.

I've occasionally had some problems with the AT command and since Task Scheduler now installs as part of IE, I use that and it seems more stable.

So you might try running the backup manually and making sure it works and then try to tweak the AT part. If it's just the AT part that won't run, check the service account on the Scheduling service.

regards!
paul

by pdk

1 Make sure your entry is correct by typing ATat a command prompt
2 Let the AT entry start a .cmd or .bat program where you map to \\servername\ipc$ first then run the backup; the syntax could be:
net use \\servername\ipc$ /user:backupuser password
ntbackup backup etc etc

Best luck

by anthony.biondo

I was just recently working with the AT command, and found out that there could be 2 reasons that your backup might not execute correctly. The permissions may disallow the bat script to execute or the network resources you are requesting are not available at the time of execution.

hope this helps,
Anthony Biondo

This discussion is closed to new replies.