Moving Files between servers

Q

qq

Hi All,

I want to move files from Windows 2000 server to a new Windows 2008 server
over LAN in our computer. I used Copy command to copy all files from old
server to new server, but I noticed that the date of the files and the user
access right has been changed after I copied to new server.

Is there any way which I can use to move the files to new server and keep
the file's orignal date and user access right?

Thanks in advance,

--qq
 
T

Tim Judd

qq wrote:
> Hi All,
>
> I want to move files from Windows 2000 server to a new Windows 2008 server
> over LAN in our computer. I used Copy command to copy all files from old
> server to new server, but I noticed that the date of the files and the user
> access right has been changed after I copied to new server.
>
> Is there any way which I can use to move the files to new server and keep
> the file's orignal date and user access right?
>
> Thanks in advance,
>
> --qq



First thing I'd try is ntbackup on 2000. Downloading the appropriate
tool from MS to enable restore of ntbackup files on the 2008. The
security "checkbox" when you restore is there on ntbackup up to 2003.
this tool for 2008 may not have it and you may just have to re-apply the
security. The date/time are likely not to be retroactive.



Good luck.


--
This posting is provided for you, from a fellow community member. Use
at your own risk.
 
P

Pegasus [MVP]

"qq" wrote in message
news:B3DFEB29-C4A2-4E11-9414-F6A0BFCE1B41@microsoft.com...
> Hi All,
>
> I want to move files from Windows 2000 server to a new Windows 2008
> server
> over LAN in our computer. I used Copy command to copy all files from old
> server to new server, but I noticed that the date of the files and the
> user
> access right has been changed after I copied to new server.
>
> Is there any way which I can use to move the files to new server and keep
> the file's orignal date and user access right?
>
> Thanks in advance,
>
> --qq


Robocopy.exe has a switch that preserves access rights. It also keeps file
dates (but not folder dates!).
 
Q

qq

Hi All,

Thank you so much for your help.

I have a lot of subfolder. I want to keep the dates and rights on these
subfolder too. Is there any way which I could do? Thanks a lot.

--qq

"qq" wrote:

> Hi All,
>
> I want to move files from Windows 2000 server to a new Windows 2008 server
> over LAN in our computer. I used Copy command to copy all files from old
> server to new server, but I noticed that the date of the files and the user
> access right has been changed after I copied to new server.
>
> Is there any way which I can use to move the files to new server and keep
> the file's orignal date and user access right?
>
> Thanks in advance,
>
> --qq
 
P

Pegasus [MVP]

"qq" wrote in message
news:1D214CD7-F0D5-4C20-AD05-717BBC53FC96@microsoft.com...
> Hi All,
>
> Thank you so much for your help.
>
> I have a lot of subfolder. I want to keep the dates and rights on these
> subfolder too. Is there any way which I could do? Thanks a lot.
>
> --qq
>
> "qq" wrote:


xcopy.exe preserves folder dates. Unfortunately it can be unreliable with
very large files.
 
Q

qq

Hi Pegasus,

Thank you so much for your help. I tried Robocopy. Robocopy can copy files
and keep orignal date and user access right. But date of Folders has been
changed to the date when I did copy.

Xcopy could not keep user access right of files. I can not use it.

Do you know any good way to copy folders and files with orignal date and
user access right from one servers to new 2008 server? Thanks a lot.

--Qing

"Pegasus [MVP]" wrote:

>
> "qq" wrote in message
> news:1D214CD7-F0D5-4C20-AD05-717BBC53FC96@microsoft.com...
> > Hi All,
> >
> > Thank you so much for your help.
> >
> > I have a lot of subfolder. I want to keep the dates and rights on these
> > subfolder too. Is there any way which I could do? Thanks a lot.
> >
> > --qq
> >
> > "qq" wrote:

>
> xcopy.exe preserves folder dates. Unfortunately it can be unreliable with
> very large files.
>
>
>
 
P

Pegasus [MVP]

Strange. The xcopy help facility reports this for the /O switch:
/O Copies file ownership and ACL information.

What makes you think that it does not work?


"qq" wrote in message
news:4472EC07-6B0F-40A1-B73F-220084055105@microsoft.com...
> Hi Pegasus,
>
> Thank you so much for your help. I tried Robocopy. Robocopy can copy files
> and keep orignal date and user access right. But date of Folders has been
> changed to the date when I did copy.
>
> Xcopy could not keep user access right of files. I can not use it.
>
> Do you know any good way to copy folders and files with orignal date and
> user access right from one servers to new 2008 server? Thanks a lot.
>
> --Qing
>
> "Pegasus [MVP]" wrote:
>
>>
>> "qq" wrote in message
>> news:1D214CD7-F0D5-4C20-AD05-717BBC53FC96@microsoft.com...
>> > Hi All,
>> >
>> > Thank you so much for your help.
>> >
>> > I have a lot of subfolder. I want to keep the dates and rights on these
>> > subfolder too. Is there any way which I could do? Thanks a lot.
>> >
>> > --qq
>> >
>> > "qq" wrote:

>>
>> xcopy.exe preserves folder dates. Unfortunately it can be unreliable with
>> very large files.
>>
>>
>>
 
Q

qq

thank you so much for your help. I didn't know about it before. I will try it.

I tried RoboCopy new version in Windows 2008 which it has a option for
coping directory time stamps for using the following commond:

robocopy \\oldserver\ (source) \\newserver\ (destination) /e /copyall
/dcopy:T /is /V /ts /fp /LOG+:movelog.txt

The files & directory's time stamps work fine. But the right of files &
directory is not same as the right on old server. Do you know to fix the
problem? thanks a lot.

--qq

"Pegasus [MVP]" wrote:

> Strange. The xcopy help facility reports this for the /O switch:
> /O Copies file ownership and ACL information.
>
> What makes you think that it does not work?
>
>
> "qq" wrote in message
> news:4472EC07-6B0F-40A1-B73F-220084055105@microsoft.com...
> > Hi Pegasus,
> >
> > Thank you so much for your help. I tried Robocopy. Robocopy can copy files
> > and keep orignal date and user access right. But date of Folders has been
> > changed to the date when I did copy.
> >
> > Xcopy could not keep user access right of files. I can not use it.
> >
> > Do you know any good way to copy folders and files with orignal date and
> > user access right from one servers to new 2008 server? Thanks a lot.
> >
> > --Qing
> >
> > "Pegasus [MVP]" wrote:
> >
> >>
> >> "qq" wrote in message
> >> news:1D214CD7-F0D5-4C20-AD05-717BBC53FC96@microsoft.com...
> >> > Hi All,
> >> >
> >> > Thank you so much for your help.
> >> >
> >> > I have a lot of subfolder. I want to keep the dates and rights on these
> >> > subfolder too. Is there any way which I could do? Thanks a lot.
> >> >
> >> > --qq
> >> >
> >> > "qq" wrote:
> >>
> >> xcopy.exe preserves folder dates. Unfortunately it can be unreliable with
> >> very large files.
> >>
> >>
> >>

>
>
>
 
P

Pegasus [MVP]

If you intend to use console commands then you need to acquire the habit of
using the inbuilt help functions for these commands. You previously thought
that xcopy.exe would not copy permissions. Typing xcopy /? at the Command
Prompt clearly shows that it has a switch for copying permissions. It is
exactly the same with robocopy.exe. Type robocopy /? | more, then take the
time to read and to digest the text you see on the screen.


"qq" wrote in message
news:6F57ABA2-A03E-4279-8317-4E63208C8ED8@microsoft.com...
> thank you so much for your help. I didn't know about it before. I will try
> it.
>
> I tried RoboCopy new version in Windows 2008 which it has a option for
> coping directory time stamps for using the following commond:
>
> robocopy \oldserver (source) \newserver (destination) /e /copyall
> /dcopy:T /is /V /ts /fp /LOG+:movelog.txt
>
> The files & directory's time stamps work fine. But the right of files &
> directory is not same as the right on old server. Do you know to fix the
> problem? thanks a lot.
>
> --qq
>
> "Pegasus [MVP]" wrote:
>
>> Strange. The xcopy help facility reports this for the /O switch:
>> /O Copies file ownership and ACL information.
>>
>> What makes you think that it does not work?
>>
>>
>> "qq" wrote in message
>> news:4472EC07-6B0F-40A1-B73F-220084055105@microsoft.com...
>> > Hi Pegasus,
>> >
>> > Thank you so much for your help. I tried Robocopy. Robocopy can copy
>> > files
>> > and keep orignal date and user access right. But date of Folders has
>> > been
>> > changed to the date when I did copy.
>> >
>> > Xcopy could not keep user access right of files. I can not use it.
>> >
>> > Do you know any good way to copy folders and files with orignal date
>> > and
>> > user access right from one servers to new 2008 server? Thanks a lot.
>> >
>> > --Qing
>> >
>> > "Pegasus [MVP]" wrote:
>> >
>> >>
>> >> "qq" wrote in message
>> >> news:1D214CD7-F0D5-4C20-AD05-717BBC53FC96@microsoft.com...
>> >> > Hi All,
>> >> >
>> >> > Thank you so much for your help.
>> >> >
>> >> > I have a lot of subfolder. I want to keep the dates and rights on
>> >> > these
>> >> > subfolder too. Is there any way which I could do? Thanks a lot.
>> >> >
>> >> > --qq
>> >> >
>> >> > "qq" wrote:
>> >>
>> >> xcopy.exe preserves folder dates. Unfortunately it can be unreliable
>> >> with
>> >> very large files.
>> >>
>> >>
>> >>

>>
>>
>>
 
Q

qq

Thank you so much for your help. I have read the help of robocopy, the option
/copyall shows me that copy all files informaiton include NTFS access control
list (ACL). I used the option, but I could get same permission of the files
on new server.

On old server, I just give Administrator & User right Full control, not any
other right for any other groups and users.

But after I copied to new server, on the new server, Administrator & User
full control right is there, but also add the right for the following groups.
1. CREATOR OWNER
2. SYSTEM
3. Users

I think that is becasue it inherit the right from parent permission.(I am
not sure if I am right.) I can change the permission by manually for each
user's home directory after I copy the files to new server. But I want to
find an automatically method to do it, becasue I have almost 200 users' home
direcotry. If I do manually, it will be a lot of work and it is hard for me.

Any ideas? thanks a lot.

--qq

"Pegasus [MVP]" wrote:

> If you intend to use console commands then you need to acquire the habit of
> using the inbuilt help functions for these commands. You previously thought
> that xcopy.exe would not copy permissions. Typing xcopy /? at the Command
> Prompt clearly shows that it has a switch for copying permissions. It is
> exactly the same with robocopy.exe. Type robocopy /? | more, then take the
> time to read and to digest the text you see on the screen.
>
>
> "qq" wrote in message
> news:6F57ABA2-A03E-4279-8317-4E63208C8ED8@microsoft.com...
> > thank you so much for your help. I didn't know about it before. I will try
> > it.
> >
> > I tried RoboCopy new version in Windows 2008 which it has a option for
> > coping directory time stamps for using the following commond:
> >
> > robocopy oldserver (source) newserver (destination) /e /copyall
> > /dcopy:T /is /V /ts /fp /LOG+:movelog.txt
> >
> > The files & directory's time stamps work fine. But the right of files &
> > directory is not same as the right on old server. Do you know to fix the
> > problem? thanks a lot.
> >
> > --qq
> >
> > "Pegasus [MVP]" wrote:
> >
> >> Strange. The xcopy help facility reports this for the /O switch:
> >> /O Copies file ownership and ACL information.
> >>
> >> What makes you think that it does not work?
> >>
> >>
> >> "qq" wrote in message
> >> news:4472EC07-6B0F-40A1-B73F-220084055105@microsoft.com...
> >> > Hi Pegasus,
> >> >
> >> > Thank you so much for your help. I tried Robocopy. Robocopy can copy
> >> > files
> >> > and keep orignal date and user access right. But date of Folders has
> >> > been
> >> > changed to the date when I did copy.
> >> >
> >> > Xcopy could not keep user access right of files. I can not use it.
> >> >
> >> > Do you know any good way to copy folders and files with orignal date
> >> > and
> >> > user access right from one servers to new 2008 server? Thanks a lot.
> >> >
> >> > --Qing
> >> >
> >> > "Pegasus [MVP]" wrote:
> >> >
> >> >>
> >> >> "qq" wrote in message
> >> >> news:1D214CD7-F0D5-4C20-AD05-717BBC53FC96@microsoft.com...
> >> >> > Hi All,
> >> >> >
> >> >> > Thank you so much for your help.
> >> >> >
> >> >> > I have a lot of subfolder. I want to keep the dates and rights on
> >> >> > these
> >> >> > subfolder too. Is there any way which I could do? Thanks a lot.
> >> >> >
> >> >> > --qq
> >> >> >
> >> >> > "qq" wrote:
> >> >>
> >> >> xcopy.exe preserves folder dates. Unfortunately it can be unreliable
> >> >> with
> >> >> very large files.
> >> >>
> >> >>
> >> >>
> >>
> >>
> >>

>
>
>
 
P

Pegasus [MVP]

The "/copyall" switch works fine when copying files on one and the same
machine. When you copy files to a different machine then /copyall still
seems to work but it does not have the desired effect, probably because the
ACLs still refer to the source machine. It will probably work if the the
ACLs refer to domain accounts rather than local accounts.


"qq" wrote in message
news:09F5F0CB-ADB5-43B0-8997-02683B8EAED0@microsoft.com...
> Thank you so much for your help. I have read the help of robocopy, the
> option
> /copyall shows me that copy all files informaiton include NTFS access
> control
> list (ACL). I used the option, but I could get same permission of the
> files
> on new server.
>
> On old server, I just give Administrator & User right Full control, not
> any
> other right for any other groups and users.
>
> But after I copied to new server, on the new server, Administrator & User
> full control right is there, but also add the right for the following
> groups.
> 1. CREATOR OWNER
> 2. SYSTEM
> 3. Users
>
> I think that is becasue it inherit the right from parent permission.(I am
> not sure if I am right.) I can change the permission by manually for each
> user's home directory after I copy the files to new server. But I want to
> find an automatically method to do it, becasue I have almost 200 users'
> home
> direcotry. If I do manually, it will be a lot of work and it is hard for
> me.
>
> Any ideas? thanks a lot.
>
> --qq
>
> "Pegasus [MVP]" wrote:
>
>> If you intend to use console commands then you need to acquire the habit
>> of
>> using the inbuilt help functions for these commands. You previously
>> thought
>> that xcopy.exe would not copy permissions. Typing xcopy /? at the Command
>> Prompt clearly shows that it has a switch for copying permissions. It is
>> exactly the same with robocopy.exe. Type robocopy /? | more, then take
>> the
>> time to read and to digest the text you see on the screen.
>>
>>
>> "qq" wrote in message
>> news:6F57ABA2-A03E-4279-8317-4E63208C8ED8@microsoft.com...
>> > thank you so much for your help. I didn't know about it before. I will
>> > try
>> > it.
>> >
>> > I tried RoboCopy new version in Windows 2008 which it has a option for
>> > coping directory time stamps for using the following commond:
>> >
>> > robocopy oldserver (source) newserver (destination) /e /copyall
>> > /dcopy:T /is /V /ts /fp /LOG+:movelog.txt
>> >
>> > The files & directory's time stamps work fine. But the right of files &
>> > directory is not same as the right on old server. Do you know to fix
>> > the
>> > problem? thanks a lot.
>> >
>> > --qq
>> >
>> > "Pegasus [MVP]" wrote:
>> >
>> >> Strange. The xcopy help facility reports this for the /O switch:
>> >> /O Copies file ownership and ACL information.
>> >>
>> >> What makes you think that it does not work?
>> >>
>> >>
>> >> "qq" wrote in message
>> >> news:4472EC07-6B0F-40A1-B73F-220084055105@microsoft.com...
>> >> > Hi Pegasus,
>> >> >
>> >> > Thank you so much for your help. I tried Robocopy. Robocopy can copy
>> >> > files
>> >> > and keep orignal date and user access right. But date of Folders has
>> >> > been
>> >> > changed to the date when I did copy.
>> >> >
>> >> > Xcopy could not keep user access right of files. I can not use it.
>> >> >
>> >> > Do you know any good way to copy folders and files with orignal date
>> >> > and
>> >> > user access right from one servers to new 2008 server? Thanks a lot.
>> >> >
>> >> > --Qing
>> >> >
>> >> > "Pegasus [MVP]" wrote:
>> >> >
>> >> >>
>> >> >> "qq" wrote in message
>> >> >> news:1D214CD7-F0D5-4C20-AD05-717BBC53FC96@microsoft.com...
>> >> >> > Hi All,
>> >> >> >
>> >> >> > Thank you so much for your help.
>> >> >> >
>> >> >> > I have a lot of subfolder. I want to keep the dates and rights on
>> >> >> > these
>> >> >> > subfolder too. Is there any way which I could do? Thanks a lot.
>> >> >> >
>> >> >> > --qq
>> >> >> >
>> >> >> > "qq" wrote:
>> >> >>
>> >> >> xcopy.exe preserves folder dates. Unfortunately it can be
>> >> >> unreliable
>> >> >> with
>> >> >> very large files.
>> >> >>
>> >> >>
>> >> >>
>> >>
>> >>
>> >>

>>
>>
>>
 
Q

qq

Thank you so much for your reply.

I don't have local user. All of my users are domain user.

I may not say clear to you in my last message. On old server, in files or
folders Properties > Security tag > under Group or user name, shows:
Administrators (oldserver\Administrators)
Usersname (username@domain.com)
Under perminssions field, has the permission which I checked.

On new server, in files or folders Properties > Security tag > under Group
or user name, shows:
Administrators (newserver\Administrators)
Usersname (username@domain.com)
CREATOR OWNER
SYSTEM
Users(newserver\Users)

I would like everything is same on new server when I copy the files and
folders from old server to new server. On new server, it will be shown the
following:

In files or folders Properties > Security tag > under Group or user name,
shows:
Administrators (newserver\Administrators)
Usersname (username@domain.com)
Under perminssions field, has the permission which I checked.


Any idea? thanks a lot.

--qq



"Pegasus [MVP]" wrote:

> The "/copyall" switch works fine when copying files on one and the same
> machine. When you copy files to a different machine then /copyall still
> seems to work but it does not have the desired effect, probably because the
> ACLs still refer to the source machine. It will probably work if the the
> ACLs refer to domain accounts rather than local accounts.
>
>
> "qq" wrote in message
> news:09F5F0CB-ADB5-43B0-8997-02683B8EAED0@microsoft.com...
> > Thank you so much for your help. I have read the help of robocopy, the
> > option
> > /copyall shows me that copy all files informaiton include NTFS access
> > control
> > list (ACL). I used the option, but I could get same permission of the
> > files
> > on new server.
> >
> > On old server, I just give Administrator & User right Full control, not
> > any
> > other right for any other groups and users.
> >
> > But after I copied to new server, on the new server, Administrator & User
> > full control right is there, but also add the right for the following
> > groups.
> > 1. CREATOR OWNER
> > 2. SYSTEM
> > 3. Users
> >
> > I think that is becasue it inherit the right from parent permission.(I am
> > not sure if I am right.) I can change the permission by manually for each
> > user's home directory after I copy the files to new server. But I want to
> > find an automatically method to do it, becasue I have almost 200 users'
> > home
> > direcotry. If I do manually, it will be a lot of work and it is hard for
> > me.
> >
> > Any ideas? thanks a lot.
> >
> > --qq
> >
> > "Pegasus [MVP]" wrote:
> >
> >> If you intend to use console commands then you need to acquire the habit
> >> of
> >> using the inbuilt help functions for these commands. You previously
> >> thought
> >> that xcopy.exe would not copy permissions. Typing xcopy /? at the Command
> >> Prompt clearly shows that it has a switch for copying permissions. It is
> >> exactly the same with robocopy.exe. Type robocopy /? | more, then take
> >> the
> >> time to read and to digest the text you see on the screen.
> >>
> >>
> >> "qq" wrote in message
> >> news:6F57ABA2-A03E-4279-8317-4E63208C8ED8@microsoft.com...
> >> > thank you so much for your help. I didn't know about it before. I will
> >> > try
> >> > it.
> >> >
> >> > I tried RoboCopy new version in Windows 2008 which it has a option for
> >> > coping directory time stamps for using the following commond:
> >> >
> >> > robocopy oldserver (source) newserver (destination) /e /copyall
> >> > /dcopy:T /is /V /ts /fp /LOG+:movelog.txt
> >> >
> >> > The files & directory's time stamps work fine. But the right of files &
> >> > directory is not same as the right on old server. Do you know to fix
> >> > the
> >> > problem? thanks a lot.
> >> >
> >> > --qq
> >> >
> >> > "Pegasus [MVP]" wrote:
> >> >
> >> >> Strange. The xcopy help facility reports this for the /O switch:
> >> >> /O Copies file ownership and ACL information.
> >> >>
> >> >> What makes you think that it does not work?
> >> >>
> >> >>
> >> >> "qq" wrote in message
> >> >> news:4472EC07-6B0F-40A1-B73F-220084055105@microsoft.com...
> >> >> > Hi Pegasus,
> >> >> >
> >> >> > Thank you so much for your help. I tried Robocopy. Robocopy can copy
> >> >> > files
> >> >> > and keep orignal date and user access right. But date of Folders has
> >> >> > been
> >> >> > changed to the date when I did copy.
> >> >> >
> >> >> > Xcopy could not keep user access right of files. I can not use it.
> >> >> >
> >> >> > Do you know any good way to copy folders and files with orignal date
> >> >> > and
> >> >> > user access right from one servers to new 2008 server? Thanks a lot.
> >> >> >
> >> >> > --Qing
> >> >> >
> >> >> > "Pegasus [MVP]" wrote:
> >> >> >
> >> >> >>
> >> >> >> "qq" wrote in message
> >> >> >> news:1D214CD7-F0D5-4C20-AD05-717BBC53FC96@microsoft.com...
> >> >> >> > Hi All,
> >> >> >> >
> >> >> >> > Thank you so much for your help.
> >> >> >> >
> >> >> >> > I have a lot of subfolder. I want to keep the dates and rights on
> >> >> >> > these
> >> >> >> > subfolder too. Is there any way which I could do? Thanks a lot.
> >> >> >> >
> >> >> >> > --qq
> >> >> >> >
> >> >> >> > "qq" wrote:
> >> >> >>
> >> >> >> xcopy.exe preserves folder dates. Unfortunately it can be
> >> >> >> unreliable
> >> >> >> with
> >> >> >> very large files.
> >> >> >>
> >> >> >>
> >> >> >>
> >> >>
> >> >>
> >> >>
> >>
> >>
> >>

>
>
>
 
A

Ace Fekay [MCT]

"qq" wrote in message
news:DDFED78C-756E-4C5E-9081-0E090864892A@microsoft.com...
> Thank you so much for your reply.
>
> I don't have local user. All of my users are domain user.
>
> I may not say clear to you in my last message. On old server, in files or
> folders Properties > Security tag > under Group or user name, shows:
> Administrators (oldserverAdministrators)
> Usersname (username@domain.com)
> Under perminssions field, has the permission which I checked.
>
> On new server, in files or folders Properties > Security tag > under Group
> or user name, shows:
> Administrators (newserverAdministrators)
> Usersname (username@domain.com)
> CREATOR OWNER
> SYSTEM
> Users(newserverUsers)
>
> I would like everything is same on new server when I copy the files and
> folders from old server to new server. On new server, it will be shown the
> following:
>
> In files or folders Properties > Security tag > under Group or user name,
> shows:
> Administrators (newserverAdministrators)
> Usersname (username@domain.com)
> Under perminssions field, has the permission which I checked.
>
>
> Any idea? thanks a lot.
>
> --qq



Looking at your syntax and switches, you didn't use the /secfix command. The
help files describe the switches. Take a look at what this switch does in
the following article.Basically it is saying you must run robocopy to copy
the data first, then re-run robocopy with the /secfix switch:

How to Use Robocopy to copy security information without copying any file
data
http://support.microsoft.com/default.aspx/kb/323275

More on the switches:

Robocopy Syntax, Command Line Switches and Examples
http://www.mydigitallife.info/2007/05/07/r...s-and-examples/


--
Ace

This posting is provided "AS-IS" with no warranties or guarantees and
confers no rights.

Please reply back to the newsgroup or forum for collaboration benefit among
responding engineers, and to help others benefit from your resolution.

Ace Fekay, MCT, MCTS Exchange, MCSE, MCSA 2003 & 2000, MCSA Messaging
Microsoft Certified Trainer

For urgent issues, please contact Microsoft PSS directly. Please check
http://support.microsoft.com for regional support phone numbers.
 
Back
Top Bottom