script for backing up data

  • Thread starter Thread starter Donna Mak
  • Start date Start date
D

Donna Mak

Hi,

We have some data on a workstation in the domain that we wish to backup.
Since we don't want other users to have access to these data, we wish to run
some kind of batch file on the Win2k server to log on to the workstation and
extract the data that we need. Can anyone give me an example of script that
allows you to log on to the workstation remotely and copy the data back to
the server?

Thanks.

Donna
 
Donna Mak said:
Hi,

We have some data on a workstation in the domain that we wish to backup.
Since we don't want other users to have access to these data, we wish to run
some kind of batch file on the Win2k server to log on to the workstation and
extract the data that we need. Can anyone give me an example of script that
allows you to log on to the workstation remotely and copy the data back to
the server?

Thanks.

Donna

You don't need to log on remotely - just make a connection to
that machine like so:

net use x: \\RemotePC\c$ /user:RemotePC\administrator password
xcopy x:\Somefolder\SomeFiles . . .
 
Back
Top