Help with Robocopy

Discussion in 'Server Migration' started by gdoran, Dec 23, 2004.

  1. gdoran

    gdoran Guest

    Trying to copy over shared folders from NT4.0 system to NT2003 server. Want
    to maintain folder rights and permissions and file permissions. Ideally I
    would like it to create the top level share folder as well. I am wondering
    if the problem has something to do with Nt2003 inherited folder permissions.
    My top level permissions are more lax than the lower level folders. Here is
    what I am doing.

    robocopy "\\mainserver\GARY fOLDER" "d:\Gary Folder\" *.* /S /COPYALL /SEC

    Where mainserver is old nt4.0 server
    d:\ is drive on new system.
    GARY fOLDER is shared folder to be copied over to new system.
     
    gdoran, Dec 23, 2004
    #1
    1. Advertisements

  2. Hello,

    Thanks for your posting here.

    I think your command should work. Did you get any problem? What is the
    detailed error message?

    Thank you,

    Regards,
    Bob Qin
    Microsoft Online Partner Support

    Get Secure! - www.microsoft.com/security

    ====================================================
    When responding to posts, please "Reply to Group" via your newsreader so
    that others may learn and benefit from your issue.
    ====================================================
    This posting is provided "AS IS" with no warranties, and confers no rights.

    --------------------
     
    Bob Qin [MSFT], Dec 24, 2004
    #2
    1. Advertisements

  3. gdoran

    Peter B Guest

    also try this syntax
    create the share on your target server first, and use fqn's.

    robocopy \\mainserver\old_folder \\newserver\\old_folder /S /SEC
     
    Peter B, Dec 24, 2004
    #3
  4. gdoran

    gdoran Guest

    Not getting a error message. Top level security permissions get copied but
    don't get the 2nd level of the tree permissions to come accross, just get
    inherieted from the top level.
     
    gdoran, Dec 27, 2004
    #4
  5. Please try to use the administrative share for the robocopy. In the above
    example, your robocopy command would look something like this:

    robocopy \\mainserver\c$\Gary Folder d:\Gary Folder\ *.* /E /copyall /sec

    Wish it helps.

    Regards,
    Bob Qin
    Microsoft Online Partner Support

    Get Secure! - www.microsoft.com/security

    ====================================================
    When responding to posts, please "Reply to Group" via your newsreader so
    that others may learn and benefit from your issue.
    ====================================================
    This posting is provided "AS IS" with no warranties, and confers no rights.

    --------------------
     
    Bob Qin [MSFT], Dec 28, 2004
    #5
  6. gdoran

    gdoran Guest

    Output folder, old_folder, is being copied across to 2003 server as r/o flag
    set. Symtom of problem?
     
    gdoran, Jan 3, 2005
    #6
  7. gdoran

    gdoran Guest

    Tried using C$, didn't seem to make any difference. Been doing some
    experiments. Made a four level folder. The only permissions that it is
    getting is the very lowest folder.
     
    gdoran, Jan 3, 2005
    #7
  8. gdoran

    gdoran Guest

    Tried using the C$, no difference. Did a little more experimental work, made
    a four levels of folders. Only the very lowest level folder permissions are
    working.
     
    gdoran, Jan 3, 2005
    #8
  9. gdoran

    gdoran Guest

    Created old_folder on new system, setup same share permissions and folder
    security permissions same as old. Did not make any difference. On a 4 level
    of folders, only the very lowest folder got the correct permissions.
     
    gdoran, Jan 3, 2005
    #9
  10. gdoran

    gdoran Guest

    Could we be running into some problems with nt4.0 pdc local groups instead of
    all individual usrers?
     
    gdoran, Jan 3, 2005
    #10
  11. gdoran

    gdoran Guest

    Could going from a 4.0 PDC to a 2003 member server make the difference?
     
    gdoran, Jan 3, 2005
    #11
  12. What is your meaning of lowest folder? Would you please show me the
    structure?

    for exmple:

    c:\folder\folder2\folder3\folder4

    Which one has problem in permissoins? all the permissions are lost or just
    some certain users or groups?

    Regards,
    Bob Qin
    Microsoft Online Partner Support

    Get Secure! - www.microsoft.com/security

    ====================================================
    When responding to posts, please "Reply to Group" via your newsreader so
    that others may learn and benefit from your issue.
    ====================================================
    This posting is provided "AS IS" with no warranties, and confers no rights.

    --------------------
    From: =?Utf-8?B?Z2RvcmFu?= <>
    Subject: RE: Help with Robocopy
    Date: Mon, 3 Jan 2005 13:59:04 -0800
    Newsgroups: microsoft.public.windows.server.migration

    Tried using C$, didn't seem to make any difference. Been doing some
    experiments. Made a four level folder. The only permissions that it
    is
    getting is the very lowest folder.
     
    Bob Qin [MSFT], Jan 4, 2005
    #12
  13. gdoran

    gdoran Guest

    Input directories
    c:\folder = Administrator=full, gdoran=full
    folder2 = Administrators Group=full, gdoran=full,dc=read/execture
    folder3 = Administrator=full, Administrators Group=full but greyed,
    dc=read/execute, gdoran=full
    folder4 = Administrators Group = full, gdoran=full
    folder5= Administrator = full, gdoran=full(greyed), dc=read/execute

    Output Directories
    folder 1-4 = Administrator=full (grey), gdoran=full(grey)
    folder5=Administrator=full(grey), gdoran=full(grey), dc=read/execute

     
    gdoran, Jan 4, 2005
    #13
  14. You can try to use the /SECFIX switch to refresh security information for
    existing subdirectories without copying file data. /SECFIX copies
    permissions for newly copied files and refreshes security information for
    existing destination files and directories.

    Please refer to the following article:

    323275 How to Use Robocopy to Copy Security Information Without Copying Any
    http://support.microsoft.com/?id=323275

    Regards,
    Bob Qin
    Microsoft Online Partner Support

    Get Secure! - www.microsoft.com/security

    ====================================================
    When responding to posts, please "Reply to Group" via your newsreader so
    that others may learn and benefit from your issue.
    ====================================================
    This posting is provided "AS IS" with no warranties, and confers no rights.

    --------------------
    From: =?Utf-8?B?Z2RvcmFu?= <>
    Subject: RE: Help with Robocopy
    Date: Tue, 4 Jan 2005 09:57:04 -0800
    Newsgroups: microsoft.public.windows.server.migration

    Input directories
    c:\folder = Administrator=full, gdoran=full
    folder2 = Administrators Group=full, gdoran=full,dc=read/execture
    folder3 = Administrator=full, Administrators Group=full but greyed,
    dc=read/execute, gdoran=full
    folder4 = Administrators Group = full, gdoran=full
    folder5= Administrator = full, gdoran=full(greyed), dc=read/execute

    Output Directories
    folder 1-4 = Administrator=full (grey), gdoran=full(grey)
    folder5=Administrator=full(grey), gdoran=full(grey), dc=read/execute

     
    Bob Qin [MSFT], Jan 6, 2005
    #14
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.