k.jonathan Posted August 12, 2021 Share Posted August 12, 2021 (edited) I need to copy data and move network shares from windows Server 2012 to Windows Server 2016. I need to copy all the types of permissions to the new server and to preserve the timestamps as it . Is there is a way to copy files while it in-use ? Note: I am using Robocopy Link to comment https://www.neowin.net/forum/topic/1410430-copy-to-ws-2016-with-preserving-permissions-and-timestamps/ Share on other sites More sharing options...
Steven P. Administrators Posted August 12, 2021 Administrators Share Posted August 12, 2021 On 12/08/2021 at 11:17, k.jonathan said: I need to copy data and move network shares from windows Server 2012 to Windows Server 2016. I need to copy all the types of permissions to the new server and to preserve the timestamps as it . Is there is a way to copy files while it in-use ? Note: I am using Robocopy This appears to have good advice with examples https://community.spiceworks.com/topic/278298-move-shared-folders-and-retain-file-and-share-permissions-with-robocopy From the link: @echo off SET SORC="\\server\share" SET DEST="Z:\WHERE YOU WANT FILES TO GO" SET LOG="Z:\THE LOG FILE.log" ROBOCOPY %SORC% %DEST% /MIR /SEC /R:1 /W:1 /NP /LOG:%LOG% @if errorlevel 16 echo ***ERROR *** & goto END @if errorlevel 8 echo **FAILED COPY ** & goto END @if errorlevel 4 echo *MISMATCHES * & goto END @if errorlevel 2 echo EXTRA FILES & goto END @if errorlevel 1 echo --Copy Successful-- & goto END @if errorlevel 0 echo --Copy Successful-- & goto END goto END :END pause the /SEC switch retains NTFS perms. SORC & DEST can be either DRIVE:\PATH or \\SERVER\SHARE\PATH I would recommend that you do not MOVE the data but copy it, just in case the sky falls in and you need to go back. k.jonathan, Fraud OS 11 and goretsky 3 Share Link to comment https://www.neowin.net/forum/topic/1410430-copy-to-ws-2016-with-preserving-permissions-and-timestamps/#findComment-598667584 Share on other sites More sharing options...
Fraud OS 11 Posted August 12, 2021 Share Posted August 12, 2021 (edited) If you want a GUI tool for managing permissions, try the freeware NTFS Permissions Tools: https://m.majorgeeks.com/files/details/ntfs_permissions_tools.html That way you can use some copy tool which copies in-use files using shadow copy or some other technology and then copy-paste the permissions using NPT. It can also backup and restore permissions to a file from a button on the status bar. Edited August 12, 2021 by MS Bob 10 k.jonathan 1 Share Link to comment https://www.neowin.net/forum/topic/1410430-copy-to-ws-2016-with-preserving-permissions-and-timestamps/#findComment-598667588 Share on other sites More sharing options...
Steven P. Administrators Posted August 12, 2021 Administrators Share Posted August 12, 2021 I wish I had thought about this too, as I have moved content between clean installs and old > new harddisks and computer > server (or NAS) and lost the timestamps. Some of the media that I have moved between PCs from the late 90s to the present have timestamps of the most recent PC build.. annoying. The video should also be dated 2008. k.jonathan and Fraud OS 11 2 Share Link to comment https://www.neowin.net/forum/topic/1410430-copy-to-ws-2016-with-preserving-permissions-and-timestamps/#findComment-598667592 Share on other sites More sharing options...
k.jonathan Posted August 16, 2021 Author Share Posted August 16, 2021 On 12/08/2021 at 12:27, Steven P. said: I wish I had thought about this too, as I have moved content between clean installs and old > new harddisks and computer > server (or NAS) and lost the timestamps. Some of the media that I have moved between PCs from the late 90s to the present have timestamps of the most recent PC build.. annoying. @Steven P. ,you are right , this annoying and the good thing is that I found some helpful tips on the link you mentioned from Spiceworks , I think I will follow and try some steps On 12/08/2021 at 12:19, MS Bob 10 said: If you want a GUI tool for managing permissions, try the freeware NTFS Permissions Tools: https://m.majorgeeks.com/files/details/ntfs_permissions_tools.html That way you can use some copy tool which copies in-use files using shadow copy or some other technology and then copy-paste the permissions using NPT. It can also backup and restore permissions to a file from a button on the status bar. @MS Bob 10 ,This is another helpful direction to use a GUI tool , some tools that can excute all my mentioned request are in my consideration like Teracopy and Gs Richcopy360 but both are commercial and our main aim it to do it free , so I think I will search and try the tools you mention , I think it is free , isn't it ? Link to comment https://www.neowin.net/forum/topic/1410430-copy-to-ws-2016-with-preserving-permissions-and-timestamps/#findComment-598668434 Share on other sites More sharing options...
Fraud OS 11 Posted August 16, 2021 Share Posted August 16, 2021 Yes NTFS Permissions Tools is freeware. k.jonathan 1 Share Link to comment https://www.neowin.net/forum/topic/1410430-copy-to-ws-2016-with-preserving-permissions-and-timestamps/#findComment-598668441 Share on other sites More sharing options...
k.jonathan Posted August 19, 2021 Author Share Posted August 19, 2021 @MS Bob 10 Although NTFS Permissions Tools works fine, the other requests still needed, so we did a full search for Teracopy, Gs Richcopy360, and some other similar tools and we finally found all that we need in Gs Richcopy360 with low cost , it copied all the permissions, timestamps, open files and we have now capability to schedule jobs Thanks @MS Bob 10 & @Steven P. , My problem solved S.Vaiola, Fraud OS 11 and Steven P. 3 Share Link to comment https://www.neowin.net/forum/topic/1410430-copy-to-ws-2016-with-preserving-permissions-and-timestamps/#findComment-598669263 Share on other sites More sharing options...
S.Vaiola Posted November 24, 2021 Share Posted November 24, 2021 On 19/08/2021 at 14:46, k.jonathan said: we finally found all that we need in Gs Richcopy360 with low cost , it copied all the permissions, timestamps, open files and we have now capability to schedule jobs we have a project starts next week , to transfer our shares to Isilon and I am in my way to try with Teracopy , my question is can GS syncs our shares to Isilon with keeping the permissions ? to keep in my consideration too k.jonathan 1 Share Link to comment https://www.neowin.net/forum/topic/1410430-copy-to-ws-2016-with-preserving-permissions-and-timestamps/#findComment-598693223 Share on other sites More sharing options...
k.jonathan Posted November 6, 2022 Author Share Posted November 6, 2022 I am so sorry for replying late, my main issue was to move network shares from windows Server 2012 to Windows Server 2016 with preserving permissions and timestamps and Gs Richcopy360 is excellent in this case. For Isilon, I have no experience with it, but I have just done a search to you, and I found in the dell forums that Gs Richcopy360 is an accepted tool there to copy all the permission types to Isilon. Maybe you would contact them to be sure Link to comment https://www.neowin.net/forum/topic/1410430-copy-to-ws-2016-with-preserving-permissions-and-timestamps/#findComment-598774623 Share on other sites More sharing options...
SnoopZ Posted November 6, 2022 Share Posted November 6, 2022 Only 1 year late reply! Lol k.jonathan 1 Share Link to comment https://www.neowin.net/forum/topic/1410430-copy-to-ws-2016-with-preserving-permissions-and-timestamps/#findComment-598774634 Share on other sites More sharing options...
stumper66 Posted November 6, 2022 Share Posted November 6, 2022 (edited) When migrating data I simply do the following robocopy /d:copyt /mir \\sourcedir d:\destdir that will preserve timestamps on files, directories and pretty sure NTFS permissions as well. Robocopy has been built into Windows for a long time, no need for 3rd party utilities. edit: it is /dcopy:t k.jonathan 1 Share Link to comment https://www.neowin.net/forum/topic/1410430-copy-to-ws-2016-with-preserving-permissions-and-timestamps/#findComment-598774643 Share on other sites More sharing options...
k.jonathan Posted November 6, 2022 Author Share Posted November 6, 2022 On 06/11/2022 at 16:12, stumper66 said: When migrating data I simply do the following robocopy /d:copyt /mir \\sourcedir d:\destdir that will preserve timestamps on files, directories and pretty sure NTFS permissions as well. Robocopy has been built into Windows for a long time, no need for 3rd party utilities. edit: it is /dcopy:t This is what MS documents said but when you come to the really applying by using these switches to keep permission and timestamps while moving from windows server to another, I think you will face a headache of fail.please search on superusers and spiceworks forums, you will get why I was searching for an effective solution here Link to comment https://www.neowin.net/forum/topic/1410430-copy-to-ws-2016-with-preserving-permissions-and-timestamps/#findComment-598774652 Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now