Link to home
Start Free TrialLog in
Avatar of FalconTwo
FalconTwo

asked on

Disk compare utility

Hello All
I have a windows 2003 domain and recently started introducing windows 2008 to the environment. My file server is 2003 but I have a new 2008 64bit R2 files server. I tried file replication but the services would continually become disabled on the 2003 box so I gave up and decided to do a NT backup of the 2003 and will do a restore to the 2008. What I would like to do is find a utility to compare the two servers after the restore because users are continually working on the 2003 server. Its a production box. Is there a tool or utility for me to do a compare at ensure the file restored over to the 2008 box equalize with the 2003 server?
Avatar of connectex
connectex
Flag of United States of America image

Why not use Microsoft's robocopy utility? It can copy or mirror the data to the second server It can also copy file permissions, assuming they are in the same domain or workgroup. It also has nice logging options and you could create a batch file and run via the task scheduler.
Avatar of FalconTwo
FalconTwo

ASKER

OK here is what I have
mydomain.com

Source Server (2003) w3k\*.* on the D drive
Destination Server (2008) w8k

From the 2008 Server I mapped a drive to the administrative share of the w3k server and typed
robocopy z: d: /MIR (Z is the source server mapped drive and D is the destination server D partition) This did not work

I then tried robocopy z:*.* d: /MIR did not work got access denied error even though both machines are register in the same domain and I am a Enterprise administrator

Any ideas
robocopy z: d: /MIR

Will only mirror the root of the Z: drive. Are you wanting to so subfolders too? If so try adding the /e switch. This will do all sub folders including those that are empty.

robocopy z: d: /mir /e

Also you don't have to map a drive. You can use UNC paths too. And if you automating this to run on a regular basis. I recommend setting up a job in the task scheduler and add /LOG:<logfile_name> to the command line.
Ok. Just double checked /mir includes the /e option too. So the question really is are the two locations identical? Robocopy will only copy the differences not every file each time. Check each locations properties via Windows Explorer. Do they have the same number of files and folders? Does the total sizes match too?
The windows 2003 server is the old server. The new server is the 2008 with nothing on it so I am copying the file from the windows 2003 to the window 2008. Do you understand?

From the 2008 server I am running the robocopy command so can I do the following
from the w8k server
robocopy \\w3kserver\d$\*.*  \\w8kserver\d$ /mir

Or
robocopy z: which is the mapped drive to the w3k server
robocopy z: d: /mir
ASKER CERTIFIED SOLUTION
Avatar of connectex
connectex
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Yes this will be a one time copy
Did not work
this is what happen
w3k server
\root
 |_ sub folders
  |_ numerous sub-folder

w8k Server
\root
 L sub-folders
  |_ more Sub folder

What was happening is the first folder on the w3k folder copied over to the w8k server but contents from the w3k server subfolders were being copied to the root of the w8k folder and it eventually timed out not sure why so I decided to do a backup/restore and that's happening as I type.

Eventually once the restore is complete, I will do diskcomp to compare the folders and update or mirror them
Eventually once the restore is complete, I will do diskcomp to compare the folders and update or mirror them
I will use some file/folder sync utility to compare and mirror
Did not work but grateful for the assistance