Learn how to a build a cloud-first strategyRegister Now


Copying data to new server, overcoming permissions/ownership issues?

Posted on 2007-08-09
Medium Priority
Last Modified: 2013-11-05
I've been using combinations of XCopy, Robocopy, Total Commander or good old drag and drop to move data to new servers over the last couple of years.

Every now and then none of these programs can copy over some files because the user has taken ownership and removed read permission for the Administrators group.  So you have to go through taking ownership then recreating permissions.  It's always been a problem but is a bigger one this time!

So I'm just wondering what are others using to get around this?  My understanding is backup programs can overcome this and backup these files regardless of the permissions, does that mean the only way of getting everything copied across while truly maintaining permissions is to back the folders up with NTBackup then restore to the new server?  Is there any program like Total Commander that could run as a member of the Backup Operators group and do this?

Question by:Zenith63
  • 2
LVL 85

Assisted Solution

oBdA earned 880 total points
ID: 19663362
You can use robocopy with the /zb switch; this will try in restartable mode first, if the access is denied, it will use backup mode (your account obviously has to be member of the backup operators group for this).
If you're copying permissons as well, make sure you're not copying the ownership, or you might have access problems for the target object as well.
LVL 12

Accepted Solution

zoofan earned 1120 total points
ID: 19666890
LVL 11

Author Comment

ID: 19668475
oBdA - Have you had a problem where copying the ownership stops you writing to the destination?  It makes sense that it could be an issue, just wondering how common it is?  That /ZB switch is definitely handy to know, but not copying ownership would be an issue if you're using Quotas.

zoofan - That's pretty cool now!  It copies over the files without permissions, then applies the permissions afterwards to overcome the issue oBdA mentioned with Robocopy and /ZB.  I'm trying it out now, looks good so far.  The only thing is you don't get much control over the destination folder naming, it would be nice to choose the exact source and desination folder.  As it is it creates a folder structure on the destination like OLDFILESERVER.DOMAIN.LOCAL\SHARENAME.  Maybe I can edit the XML project files to improve this!
LVL 11

Author Comment

ID: 19668834
My mistake, you actually can be specific with the destination of files in FSMT, excellent!

Thanks for the help.

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article is an update and follow-up of my previous article:   Storage 101: common concepts in the IT enterprise storage This time, I expand on more frequently used storage concepts.
ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
This tutorial will walk an individual through locating and launching the BEUtility application to properly change the service account username and\or password in situation where it may be necessary or where the password has been inadvertently change…
This tutorial will walk an individual through the process of configuring basic necessities in order to use the 2010 version of Data Protection Manager. These include storage, agents, and protection jobs. Launch Data Protection Manager from the deskt…
Suggested Courses

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question