View Single Post
  #2 (permalink)  
Old 07-03-2008, 06:58 PM
Michael W. Ryder
 
Posts: n/a
Re: Scripted Backup Batch Files
Orion wrote:
> So I have multiple networks and I need to find an easy way to backup every
> computer on each network.
>
> Each network is setup so that I can create a maped network drive Q:
>
> What I want to do is have my management program run a script that will first
> run my net use commant ensuring that Q: is up and running and then use
> windows backup (ntbackup.exe) to backup all the users on that PC to the Q:
> drive
>
> I am completely at a loss right now as to how to do this and any help would
> be greatly appreciated
>
> thank you
>
> matt egenes
>


You can do the backup without having to map each drive to Q or any other
letter. What I use is 'XCOPY \\computername\drive\directory\*.*
backupdirectory /D /S /R /Y'. This will copy all the files in the
selected directories that are new or changed without requiring user
intervention.
Reply With Quote