Avatar of Chip Levinson
Chip LevinsonFlag for United States of America

asked on 

Part 1 - Need Specific Instructions on Using RoboCopy Command Line

Hello,

I want to use RoboCopy XP026 to move files from one server to another as well as to back up files.  Although I know how to use a command prompt, I am not very good at it.  The GUI version of Robocopy does not support a command that I really need (DCOPY T which will copy the date time stamp of directories).  This is part 1 of a two part question.  I am looking for the specific command line text I need to type to get Robocopy to do what I need.  Here is the situation:

1. I have 30GB of data on an old W2K file server that I want to move to a new 2003 SBS file server.  The old file server was set  up in a workgroup while the new one is part of a domain.  For this, lets say the name of the old file server is "OLDSERVER" and the domain where the new server sits is called "mydomain".
2. I want all date time attributes to be duplicated.
3. If it makes sense, I also want to duplicate the security too.  If we do this, will I be able to open the files on the domain server if they have the security settings from the workgroup?
4. The domain server is running Volume Shadowing Service.  I could turn this off if needed before the transfer.
5. I do NOT want to mirror the drives.  This is because I have been using the domain-based server for a few months and it has files on it that are either not on the old file server or are newer versions.  Any suggestions how to handle this would be great.

Should I run this from my desktop PC that is connected to both servers or should I run it from the new file server?

Hope this makes sense.  Let me know if you have any questions.
Chip
System UtilitiesServer Software

Avatar of undefined
Last Comment
Chip Levinson
ASKER CERTIFIED SOLUTION
Avatar of satyatech
satyatech
Flag of India image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
SOLUTION
Avatar of satyatech
satyatech
Flag of India image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
Avatar of Chip Levinson
Chip Levinson
Flag of United States of America image

ASKER

Hi satyatech,

Sorry for not replying sooner.  My time online has been limited due to a strained back.

What version of robocopy are you using?  I am note sure how to use the *.* option.  I am going to type in exactly what I tried step by step, for my edification as well as your input.  First I tried your syntax with the file folders changed:

robocopy.exe /COPY:DATSO G:\TWPanel Z:\0test

And nothing was copied due to trying to copy NTFS security.  I then tried dropping the SO out of the command.  This time only files from the root of TWPanel were copied.  All of the subfolders were skipped.  I then added the /E command for everything so that my syntax looked like this:

robocopy.exe /COPY:DAT G:\TWPanel Z:\0test /E

This copied all of the folders and subfolders, but the folders all showed today's date of 7/20/08.  I then tried using the DCOPY command, so I modified the syntax as follows:

robocopy.exe /DCOPY:T G:\TWPanel Z:\0test /E

This time everything copied as before, but the folders still had the wrong date!  I thought DCOPY:T copied the time stamps on directories?  I am going to try some more things and add it in another comment.  Sorry again for the slow reply.  I purchased a copy of CopyRite, a program similar to the one you suggested.  The developer is working on adding support for robocopy 26 (it currently supports 27 and 10).
Avatar of Chip Levinson
Chip Levinson
Flag of United States of America image

ASKER

Quick update - no matter what I do I cannot get DCOPY to work!  The directories still have today's date.  Man this is frustrating.  Can anyone give me the exact syntax to get this to work?
Avatar of Chip Levinson
Chip Levinson
Flag of United States of America image

ASKER

OK, I have an update.  I have two internal networks on my site.  The first is on 192.168.1 while the second is on 192.168.2.  The DCOPY works as long as I am copying the folders to a computer on the same subnet as the source.  So from one 168.2 device to another, its OK.  When I try to copy folders from a source on 168.2 to a destination on 168.1, all of the folder dates are reset to today's date.

Is there any way around this?
Avatar of Chip Levinson
Chip Levinson
Flag of United States of America image

ASKER

Thank you for the help.  I'm so sorry for the delay.  I thought I closed this question and just realized I did not.  I was able to resolve my RoboCopy issues.  Thanks again!
System Utilities
System Utilities

System Utilities are a type of system software used to support the computer infrastructure, distinguishing it from application software which is aimed at directly performing tasks that benefit ordinary users. Commonly used utilities include password managers, disk managers, system monitors, data synchronization tools, security and antivirus software and editors.

13K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo