Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Maintenance Script

Status
Not open for further replies.

bob1999

Technical User
Jun 24, 2003
15
GB
I am looking for a maintenance script that automaticaly runs 'rdisk.exe' and then copies the files to a central share on a specific server??. Does anyone now of anything??

Cheer's
 
If you haven't already found a solution, here is the batch file that I've used for several years to backup 8 remote office BDCs to our central office.

%systemroot%\system32\rdisk.exe /s-
net use q: /delete
net use q: \\server_name\Backup$ /persistent:no
if not exist q:\rdisk\%computername% md q:\rdisk\%computername%
copy %systemroot%\repair\* q:\rdisk\%computername%
net use q: /delete


Just replace "server_name" with then name or IP address of the destionation server and schedule it with at. This can be run from any WinNT machine and it will create a directory for the machine you are backing up on the destination server.

-Jeff
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top