Solved

Recursive copying of whole folder and subdirectories, without permissions

Posted on 2012-04-13
5
267 Views
Last Modified: 2012-05-12
Hi there

We are migrating from one infrastructure to another, e.g. OLD DOMAIN 1 -> NEW DOMAIN 2

Our entire set of users are being re-created.

We need to copy our entire file system from our current primary server to our new server, but as the user objects are all new, wish to do so without any permission settings.

In addition, as there are many recursive paths, standard batch files I believe aren't able to deal with very long pathnames.

Is there a tool/method I can use to copy all of these files to an external drive in their entirety, regardless of filename length, and without any permissions on the target drive?

Thanks in advance!
0
Comment
Question by:butterhook
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 1

Author Comment

by:butterhook
ID: 37843098
n.b. the folders will be assigned suitable permissions when they are on the new server!!
0
 
LVL 17

Expert Comment

by:Anuroopsundd
ID: 37843108
you can use robocopy to copy to copy on external drive
0
 
LVL 1

Author Comment

by:butterhook
ID: 37843149
Thanks for the reply! Do you have example of using Robocopy to do this without copying permissions and ensuring copy of the entire set of files?
0
 
LVL 17

Accepted Solution

by:
Anuroopsundd earned 500 total points
ID: 37843217
in below link you can find all commands.
http://ss64.com/nt/robocopy.html
main one for you seems like as below...
ROBOCOPY Source_folder Destination_folder [files_to_copy] [options]

Don't specify the S/O,U,A flags to copy the security identifiers
/COPY:copyflag[s] : What to COPY (default is /COPY:DAT)
                      (copyflags : D=Data, A=Attributes, T=Timestamps
                       S=Security=NTFS ACLs, O=Owner info, U=aUditing info).

 /E : Copy Subfolders, including Empty Subfolders.
0
 
LVL 1

Author Closing Comment

by:butterhook
ID: 37960850
thank you
0

Featured Post

Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

Question has a verified solution.

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

INTRODUCTION The purpose of this document is to demonstrate the Installation and configuration of the Data Protection Manager product. Note that this demonstration was prepared on the basis of Windows OS is 2008 R2 and DPM 2010. DATA PROTECTI…
Citrix XenApp, Internet Explorer 11 set to Enterprise Mode and using central hosted sites.xml file.
This video Micro Tutorial explains how to clone a hard drive using a commercial software product for Windows systems called Casper from Future Systems Solutions (FSS). Cloning makes an exact, complete copy of one hard disk drive (HDD) onto another d…
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

738 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