Link to home
Start Free TrialLog in
Avatar of jbyrd1981
jbyrd1981Flag for United States of America

asked on

Read only to migrate data

I am moving data from an old server to a new server. What would be the easiest way to make that data read only on the old server while the data is being migrated? Thanks!
SOLUTION
Avatar of David
David
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
changing permissions won't do anything about opened files and databases, nor will it prevent updating of the last-flle accessed settings.  If a service is running then you have huge risk of corrupting any files that the service uses in read/write mode.   Permission settings just won't cut it.

Only way to do this is to boot the system to another O/S that supports a read-only mount.
My suspicion is that we are talking about a file server, and that the OP wants to prevent users from modifying files during the migration so changes are not lost, while still maintaining file availability. Booting to Linux isn't the easiest way to go for a Windows admin.
I am not assuming anything other than exactly what they quoted.  They are moving data from an OLD system to a NEW one.  The only technique that lets you do that without modifying the data is the one I suggested.
Avatar of jbyrd1981

ASKER

Kevin, is there an easy way to do this across all shares? Will I have to change on each one?
I can't think offhand of an easy way to do it for all shares. How many do you have? I am sure it can be scripted, but I don't have access to a system to test.
Ended up moving the data over the weekend and told everyone hands off. :) Thanks for the suggestions though.