[Webinar] Streamline your web hosting managementRegister Today

x
?
Solved

XCOPY Win2K3 folders to preserve structure first then xcopy 'active' files with NTFS ACL permits

Posted on 2010-03-29
3
Medium Priority
?
831 Views
Last Modified: 2012-08-13
I want to "freeze" an oversized data drive to change it to a read-only resource, after having first replicated the entire folder structure to another server and then copying only files that have changed since 1/1/2008.  

ASSUMPTION:  XCOPY in Windows 2003 Server environment can do this.  If not, is there a good utility out there that will?

1= If I use the XCOPY switches /t and /e for first xcopy command, then I'd have the structure including empty folders?  Do I use the /o switch for permissions here?

2 = If I then use the /d:01-01-2008 switch for second xcopy command, I'd get just the documents access/modified on or after 1/1/2008?  Do I use the /o switch for permissions here?  I don't need to reiterate the /t and /e here, do I?

I didn't want to combine the two commands if the /d: date switch would limit which FOLDERS got copied.  I want the same structure no matter the date-of-contents involved.

3 = Should I add the /h switch to pick up hidden/system files... even if it's supposed to be a data drive there could, for instance, be profile info stored there that might include system files.

4 = I do the "network sharing" after the xcopying is done?

5 = After xcopying done, I can set the original first-level folder/share as READ ONLY so that the permits will inherit down the folder structure?

Any help appreciated, high points for speedy response, because after long period of telling management this is needed, they reversed their wait-and-see decision to Yes, DO IT NOW.

Thanks!
0
Comment
Question by:ColdKathleen
3 Comments
 

Expert Comment

by:jasontram
ID: 29022822
Take a look at Robocopy - part of "Windows Server 2003 Resource Kit Tools" downloadable free from Microsoft.com ... There is much more functionality built in and if this is useful, the "/MIR" (mirror) parameter allows for cloning of entire folders and/or updates folders previously cloned.

http://www.microsoft.com/downloads/details.aspx?familyid=9d467a69-57ff-4ae7-96ee-b18c4790cffd&displaylang=en
0
 

Author Comment

by:ColdKathleen
ID: 29026665
I read a bit about that, plus the idea it might need a separate GUI downloaded... my challenge is I don't want to "mirror" the full contents.  I want the folder structure, then only files accessed since 1/1/2008.  Do you have experience that tells me this distinction will work with Robocopy?  
0
 
LVL 4

Accepted Solution

by:
pschakravarthi earned 1600 total points
ID: 29035058
XCOPY will help you here.

1= If I use the XCOPY switches /t and /e for first xcopy command, then I'd have the structure including empty folders?  Do I use the /o switch for permissions here?

Ans : Yes.   Use /x instead of /O which will get the audit settings also.

2 = If I then use the /d:01-01-2008 switch for second xcopy command, I'd get just the documents access/modified on or after 1/1/2008?  Do I use the /o switch for permissions here?  I don't need to reiterate the /t and /e here, do I?

I didn't want to combine the two commands if the /d: date switch would limit which FOLDERS got copied.  I want the same structure no matter the date-of-contents involved.

Ans : Yes.   Use /x instead of /O which will get the audit settings also.  /S is must as you have to copy from subfolders also.



3 = Should I add the /h switch to pick up hidden/system files... even if it's supposed to be a data drive there could, for instance, be profile info stored there that might include system files.

Ans :  Yes.

4 = I do the "network sharing" after the xcopying is done?

Ans : You can

5 = After xcopying done, I can set the original first-level folder/share as READ ONLY so that the permits will inherit down the folder structure?

Ans : Yes.  
0

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

Question has a verified solution.

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

On July 14th 2015, Windows Server 2003 will become End of Support, leaving hundreds of thousands of servers around the world that still run this 12 year old operating system vulnerable and potentially out of compliance in many organisations around t…
Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
As many of you are aware about Scanpst.exe utility which is owned by Microsoft itself to repair inaccessible or damaged PST files, but the question is do you really think Scanpst.exe is capable to repair all sorts of PST related corruption issues?
Stellar Phoenix SQL Database Repair software easily fixes the suspect mode issue of SQL Server database. It is a simple process to bring the database from suspect mode to normal mode. Check out the video and fix the SQL database suspect mode problem.
Suggested Courses

611 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