Link to home
Start Free TrialLog in
Avatar of Jaime Campos
Jaime CamposFlag for United States of America

asked on

How to move file/folder permissions with RichCopy?

Hello

I'm trying to copy data from one server to another. I downloaded RichCopy on my desktop and I'm running a test before I do my live data. I set my source destination to a mapped drive i have and my destination folder to another mapped drive I have on my new server. When I started the copy I left the default settings on RichCopy and noticed it just copied all data within a folder and not the whole folder. How do copy the whole dir with file/folder permissions to my new server.

Server 2003 DC (Going to be backup DC) - 192.168.1.2
Data - (D:) Directory
Renal Common - Folder
Accounting - Folder
IT Management Console - Folder
Clinics - Folder

Server 2008 New DC (Primary) - 192.168.1.173
Data - (D:) Directory
Need to move data here

Thanks,

nimdatx
Avatar of Paul MacDonald
Paul MacDonald
Flag of United States of America image

It sounds like you need to map the drive to the level above the one you want to copy.  Either that, or go ahead and create the folder on the destination and copy into it.

That said, why not use robocopy?

robocopy source destination /e /sec
Avatar of Jaime Campos

ASKER

I downloaded RoboCopy GUI and selected the source, which is the IT Management folder. When I map I can not map to the root of IT Management Console folder, which is DATA directory, so it just gives me the option to move data within IT management console. I created the Folder IT Management Console on my new server and set the target to this new folder. When I try to select Start Copy F5, it's greyed out. I'm not sure if I'm doing something wrong.

 User generated image
This is the equivalent command line for what you're doing in the GUI.  Give it a shot:

robocopy t:\ "s:\it management console" /e /copyall /r:10 w:30
ERROR : You do not have the Manage Auditing user right.
*****  You need this to copy auditing information (/COPY:U or /COPYALL).

       Simple Usage :: ROBOCOPY source destination /MIR

             source :: Source Directory (drive:\path or \\server\share\path).
        destination :: Destination Dir  (drive:\path or \\server\share\path).
               /MIR :: Mirror a complete directory tree.

    For more usage information run ROBOCOPY /?


****  /MIR can DELETE files as well as copy them !
Okay, try:

robocopy t:\ "s:\it management console" /e /copy:ADOST /r:10 w:30
What if I want to do the whole D: Directory on old Fileserver to new server? If I don't then I'll need to do each folder individually.
ASKER CERTIFIED SOLUTION
Avatar of Paul MacDonald
Paul MacDonald
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
Ok makes sense. With the GUI (cause I do not know the cmds) how do I ensure the copy button isn't greyed out and file/folders permissions move over?

Thanks so much.

nimdatx
I've never used the GUI, so I can't say for sure.  You got an error saying you didn't have permissions to coyp auditing information, so you could try clearing that /COPY option.  Also, in the example image you posted, I guess I would start by wrapping the Target Directory in quotes.  
paulmacd,

in order to copy I had to choose the option tab and browse to Robocopy.exe.



Thanks so much for all your help.

nimdatx User generated image
Ah, well I learned something today!