Archive Attribute

PIMSupport
PIMSupport used Ask the Experts™
on
I believe I know the answer to this question but I want to make sure that the archive attribute of a file is purely used for backup management. I am robocopying a large amount of data in preparation for a move to a new server. Since there is so much data I am having to do this during business hours the day before so that during the actual setup of the new environment there will be limited waiting on data to be copied. My plan is to do a full copy today and a differential copy tomorrow to keep the data transfer delays to a minimum during the move. In doing this I will be using the /M switch to clear the archive attribute on the source data so that new data will be the only data with the archive attribute active.

This will have no effect on the users experience with the data, just purely be a back end tool for backups correct? Like I said, I am sure the answer is yes but want to make sure before I have some angry end users asking why they are having issues with certain files. Thanks
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Most Valuable Expert 2018
Distinguished Expert 2018
Commented:
Yes, the Archive flag is usually of no importance for users. It's set by the OS when a file gets changed, and can be reset by backup software.
But you don't even need that with robocopy; just run the robocopy command again whenever you need to. robocopy will by default only copy files that aren't already (same size, same date) in the target folder (that's what you'll see in the "Skipped" column in the summary), so you don't need to worry that all files will be copied again.
You might want to use /mir to delete files in the target that were deleted in the source, and be sure to set /r and /w to something useful (in a reliable LAN, you can usually use /r:0).

Author

Commented:
Was exactly what I was thinking. Also let me know about the differential copy being the default for Robocopy which was even better.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial