Member_2_6492660_1
asked on
Robocopy not coping/comparing correctly need help
Windows 2003 R2 Server
Robocopy "n:\music\mp3 music albums" e:\music backup /E /Z /FFT /MIR >c:\util\robo.log
Trying to compare both folders and then only copy the difference
N:\music\mp3 music albums is the primary folder
e:\music is the backup folder
I was using teracopy for this but it copies all files everytime
trying to reduce network traffic
Before I ran the robocopy both folders where in sync
Now after running robocopy
N drive 4283 files
1655 directories
E drive 1749 files
1655 directories
what am I missing here?
Thanks
Robocopy "n:\music\mp3 music albums" e:\music backup /E /Z /FFT /MIR >c:\util\robo.log
Trying to compare both folders and then only copy the difference
N:\music\mp3 music albums is the primary folder
e:\music is the backup folder
I was using teracopy for this but it copies all files everytime
trying to reduce network traffic
Before I ran the robocopy both folders where in sync
Now after running robocopy
N drive 4283 files
1655 directories
E drive 1749 files
1655 directories
what am I missing here?
Thanks
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Dipopo
Thanks for the responce
Robocopy "n:\music\mp3 music albums" /MIR e:\music backup /S /E /ZB /SEC >c:\util\robo.log
Still only copying the directories and sub directories no files being copied.
I even renamed the destrination folder and let robocopy create the e:\music folder but same results the report showed that all the directories where NEW
Strange how the program name ROBOCOPY and it will not copy files lol
Thanks for the responce
Robocopy "n:\music\mp3 music albums" /MIR e:\music backup /S /E /ZB /SEC >c:\util\robo.log
Still only copying the directories and sub directories no files being copied.
I even renamed the destrination folder and let robocopy create the e:\music folder but same results the report showed that all the directories where NEW
Strange how the program name ROBOCOPY and it will not copy files lol
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
My mistake guys
the destination folder was e:\music not e:\music backup
I thought backup was a robocopy parameter
When zabagaR put "e:\music backup" on the command line thats when I noticed it.
Robocopy is now copying the files
will further test later today
Thanks again for all your help
the destination folder was e:\music not e:\music backup
I thought backup was a robocopy parameter
When zabagaR put "e:\music backup" on the command line thats when I noticed it.
Robocopy is now copying the files
will further test later today
Thanks again for all your help
ASKER
Kent
I ran your example
Robocopy "n:\music\mp3 music albums" e:\music backup /Z /MIR >c:\util\robo.log
same results the directories and sub dirctories are there but no files
to answer your question about the log file I have another command in my script that appends output to the same txt file.
giveandtake638
I ran your example
Robocopy "n:\music\mp3 music albums" /MIR e:\music backup /E /ZB /COPY:DT /V >c:\util\robo.log
Same results directories but no files.
The same number of files and directories remain as I posted in the beginning.
Does the destination folder need to be empty for the first time?
As I mentioned the destination folder was a mirrored image of the original folder using teracopy it just copied every file.
I got robocopy from the resource kit any updates that I might be missing?