Articles > Windows XP
Printer Friendly Version
Views: 1664

Simple File Backup for XP

Last Updated: 9/13/08

I recently ran into a backup problem for two computers. I decided that I would backup both computers onto a single external hard drive. The easiest way I could find to accomplish this was to copy files from PC 2 to PC 1 via windows file sharing and then backup all of PC 1 onto the external hard drive.

The trick to getting NTBackup to work well through a network is to map network drives via a batch file and then to call NTBackup from the same batch file. That way no matter what user executes the scheduled task the mapped drives are always there.

The batch file looks something like this:

net use z: \\sever\share
net use y: \\server2\share
net use x: \\pc3\share

c:\windows\system32\ntbackup.exe c:\backup\backup_job1.bks .........

The actual commands will vary. To get the correct ntbackup command, schedule the job and copy the command from windows task scheduler.




Keywords: backup ntbackup mapped network drive shares windows xp nt vista external hard drive