[Webinar] Streamline your web hosting managementRegister Today

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 184
  • Last Modified:

Copying Data

We are installing a new file server and are copying the data off the old server onto the new one.  I created a share on the new server and set the permissions to allow everyone to be able to read and write to the share.  I logged into the old server and stopped the file from being shared and made myself the owner of the folder.  We are coping about 40 Gigs of data and it keeps stopping on a file telling me i do not have access.   Problem is there are TONS of subfolders and to find these files would take for ever.  Any suggestions?

  • 2
1 Solution
Glen KnightCommented:
Have you tried simply backing the data up using your normal backup method and then restoring the data to the new server?
Take ownership of folders (root folder) and replace owner on subcontainers, then set permission to full access for everyone and go to advanced -> replace permissions on child objects. It will take a while, but will work.
You will not be able to copy if the user you are using does not have file access permissions, thats why I said to set permissions to everyone. If it is domain and the same users reside on both servers (not same names, but SIDs), you can try backing up and restoring data to preserve all permissions.

Why not use robocopy to do the copy to begin with and review the log file at the end for what it skipped and then go back and fix it up. If using server 2008 its built in, otherwise download the 2003 resource kit


Robocopy sourcepath destpath /COPYALL /SEC /E /R:1 /W:1 /LOG:DRIVELETTER:YOURPATH

This command basically copies from your source path to destination (UNC works well), copies attributes and security acls, includes all folders, retries once and waits one second on failures and writes a log file for you to review

Hope this helps

Featured Post

Take Control of Web Hosting For Your Clients

As a web developer or IT admin, successfully managing multiple client accounts can be challenging. In this webinar we will look at the tools provided by Media Temple and Plesk to make managing your clients’ hosting easier.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now