Networking Forums

Networking Forums > Computer Networking > Windows Networking > Copying Files and retaining File Permission

Reply
Thread Tools Display Modes

Copying Files and retaining File Permission

 
 
ping
Guest
Posts: n/a

 
      01-13-2006, 02:54 PM
Hi,

I need to transfer files from ServerA to ServerB. ServerA is the domain
controller, and ServerB is the Additional domain controller in the same
domain. What is the easiest way to do this? There are folders with ACL
granted to domain users.

Server A - Windows 2000 Server
Server B - Windows 2003 Server
Domain - linx.local

If I use traditional way to transfer files, it will lose all the
permission, and stop halfway if the file is in use. Any software to
skip file in use during copy and report the files in log files?

I have heard of RoboCopy. Is it useful in this situation, and any
guides or word of caution?

Thanks

 
Reply With Quote
 
 
 
 
Lanwench [MVP - Exchange]
Guest
Posts: n/a

 
      01-13-2006, 02:58 PM


In news:(E-Mail Removed) oups.com,
ping <(E-Mail Removed)> typed:
> Hi,
>
> I need to transfer files from ServerA to ServerB. ServerA is the
> domain controller, and ServerB is the Additional domain controller in
> the same domain. What is the easiest way to do this? There are
> folders with ACL granted to domain users.
>
> Server A - Windows 2000 Server
> Server B - Windows 2003 Server
> Domain - linx.local
>
> If I use traditional way to transfer files, it will lose all the
> permission, and stop halfway if the file is in use. Any software to
> skip file in use during copy and report the files in log files?
>
> I have heard of RoboCopy. Is it useful in this situation, and any
> guides or word of caution?
>
> Thanks


Robocopy would indeed be very useful in this case. It's a free download from
MS, AFAIK....or you can get the resource kit.

One example:

robocopy <source>\ <destination>\ /e /sec /r:1 /w:1

.....means, copy source to destination, including subfolders, include
securiity (both must be NTFS) retry once, wait one second between retries

Run robocopy /??? for full parameter info.


 
Reply With Quote
 
Zeus
Guest
Posts: n/a

 
      01-13-2006, 03:09 PM
Hello,

yes it's possible with robocopy with options /sec or /secfix for copy with
acl.
Or the command scopy but robocopy is better for copy of scopy of ressource
kit.


"ping" wrote:

> Hi,
>
> I need to transfer files from ServerA to ServerB. ServerA is the domain
> controller, and ServerB is the Additional domain controller in the same
> domain. What is the easiest way to do this? There are folders with ACL
> granted to domain users.
>
> Server A - Windows 2000 Server
> Server B - Windows 2003 Server
> Domain - linx.local
>
> If I use traditional way to transfer files, it will lose all the
> permission, and stop halfway if the file is in use. Any software to
> skip file in use during copy and report the files in log files?
>
> I have heard of RoboCopy. Is it useful in this situation, and any
> guides or word of caution?
>
> Thanks
>
>

 
Reply With Quote
 
ping
Guest
Posts: n/a

 
      01-13-2006, 04:01 PM
Hi,

Should I map the drive or does it support UNC(\\Server) ?

 
Reply With Quote
 
Lanwench [MVP - Exchange]
Guest
Posts: n/a

 
      01-13-2006, 04:27 PM


In news:(E-Mail Removed) ups.com,
ping <(E-Mail Removed)> typed:
> Hi,
>
> Should I map the drive or does it support UNC(\\Server) ?


It supports UNC paths. Remember, if you have spaces in any of the paths, you
have to enclose them in double quotes - and put the "\" character *after*
the last double quote.

robocopy "\\servername\sharename\file folder\sub folder"\
"\\otherserver\othershare\file folder"\ /e /sec /whatnot


 
Reply With Quote
 
JH
Guest
Posts: n/a

 
      01-13-2006, 06:53 PM
Robocopy works very well. However I did find a flaw and that is if I am
copying contents from one directory to another of the same name (diff server)
it will not work if the name of the directory has a space in it. Example if I
try using robocopy to copy files from \\servera\share\file directory
\\serverb\share\file directory it won't work. I get a error that cuts off
part of the directory name showing \\serverb\share\file ... Weird. If the
directory name is all one word it works fine. Is there a way around this?
Anyone experience this before?

JH

"Lanwench [MVP - Exchange]" wrote:

>
>
> In news:(E-Mail Removed) oups.com,
> ping <(E-Mail Removed)> typed:
> > Hi,
> >
> > I need to transfer files from ServerA to ServerB. ServerA is the
> > domain controller, and ServerB is the Additional domain controller in
> > the same domain. What is the easiest way to do this? There are
> > folders with ACL granted to domain users.
> >
> > Server A - Windows 2000 Server
> > Server B - Windows 2003 Server
> > Domain - linx.local
> >
> > If I use traditional way to transfer files, it will lose all the
> > permission, and stop halfway if the file is in use. Any software to
> > skip file in use during copy and report the files in log files?
> >
> > I have heard of RoboCopy. Is it useful in this situation, and any
> > guides or word of caution?
> >
> > Thanks

>
> Robocopy would indeed be very useful in this case. It's a free download from
> MS, AFAIK....or you can get the resource kit.
>
> One example:
>
> robocopy <source>\ <destination>\ /e /sec /r:1 /w:1
>
> .....means, copy source to destination, including subfolders, include
> securiity (both must be NTFS) retry once, wait one second between retries
>
> Run robocopy /??? for full parameter info.
>
>
>

 
Reply With Quote
 
Lanwench [MVP - Exchange]
Guest
Posts: n/a

 
      01-13-2006, 07:04 PM


In news:E2F286C6-6834-4594-B692-(E-Mail Removed),
JH <(E-Mail Removed)> typed:
> Robocopy works very well. However I did find a flaw and that is if I
> am copying contents from one directory to another of the same name
> (diff server) it will not work if the name of the directory has a
> space in it. Example if I try using robocopy to copy files from
> \\servera\share\file directory \\serverb\share\file directory it
> won't work. I get a error that cuts off part of the directory name
> showing \\serverb\share\file ... Weird. If the directory name is all
> one word it works fine. Is there a way around this? Anyone experience
> this before?


Yes; see my reply regarding double quotes.
>
> JH
>
> "Lanwench [MVP - Exchange]" wrote:
>
>>
>>
>> In news:(E-Mail Removed) oups.com,
>> ping <(E-Mail Removed)> typed:
>>> Hi,
>>>
>>> I need to transfer files from ServerA to ServerB. ServerA is the
>>> domain controller, and ServerB is the Additional domain controller
>>> in the same domain. What is the easiest way to do this? There are
>>> folders with ACL granted to domain users.
>>>
>>> Server A - Windows 2000 Server
>>> Server B - Windows 2003 Server
>>> Domain - linx.local
>>>
>>> If I use traditional way to transfer files, it will lose all the
>>> permission, and stop halfway if the file is in use. Any software to
>>> skip file in use during copy and report the files in log files?
>>>
>>> I have heard of RoboCopy. Is it useful in this situation, and any
>>> guides or word of caution?
>>>
>>> Thanks

>>
>> Robocopy would indeed be very useful in this case. It's a free
>> download from MS, AFAIK....or you can get the resource kit.
>>
>> One example:
>>
>> robocopy <source>\ <destination>\ /e /sec /r:1 /w:1
>>
>> .....means, copy source to destination, including subfolders, include
>> securiity (both must be NTFS) retry once, wait one second between
>> retries
>>
>> Run robocopy /??? for full parameter info.



 
Reply With Quote
 
JH
Guest
Posts: n/a

 
      01-13-2006, 07:58 PM
That did it. Thanks for the response

"Lanwench [MVP - Exchange]" wrote:

>
>
> In news:E2F286C6-6834-4594-B692-(E-Mail Removed),
> JH <(E-Mail Removed)> typed:
> > Robocopy works very well. However I did find a flaw and that is if I
> > am copying contents from one directory to another of the same name
> > (diff server) it will not work if the name of the directory has a
> > space in it. Example if I try using robocopy to copy files from
> > \\servera\share\file directory \\serverb\share\file directory it
> > won't work. I get a error that cuts off part of the directory name
> > showing \\serverb\share\file ... Weird. If the directory name is all
> > one word it works fine. Is there a way around this? Anyone experience
> > this before?

>
> Yes; see my reply regarding double quotes.
> >
> > JH
> >
> > "Lanwench [MVP - Exchange]" wrote:
> >
> >>
> >>
> >> In news:(E-Mail Removed) oups.com,
> >> ping <(E-Mail Removed)> typed:
> >>> Hi,
> >>>
> >>> I need to transfer files from ServerA to ServerB. ServerA is the
> >>> domain controller, and ServerB is the Additional domain controller
> >>> in the same domain. What is the easiest way to do this? There are
> >>> folders with ACL granted to domain users.
> >>>
> >>> Server A - Windows 2000 Server
> >>> Server B - Windows 2003 Server
> >>> Domain - linx.local
> >>>
> >>> If I use traditional way to transfer files, it will lose all the
> >>> permission, and stop halfway if the file is in use. Any software to
> >>> skip file in use during copy and report the files in log files?
> >>>
> >>> I have heard of RoboCopy. Is it useful in this situation, and any
> >>> guides or word of caution?
> >>>
> >>> Thanks
> >>
> >> Robocopy would indeed be very useful in this case. It's a free
> >> download from MS, AFAIK....or you can get the resource kit.
> >>
> >> One example:
> >>
> >> robocopy <source>\ <destination>\ /e /sec /r:1 /w:1
> >>
> >> .....means, copy source to destination, including subfolders, include
> >> securiity (both must be NTFS) retry once, wait one second between
> >> retries
> >>
> >> Run robocopy /??? for full parameter info.

>
>
>

 
Reply With Quote
 
Lanwench [MVP - Exchange]
Guest
Posts: n/a

 
      01-13-2006, 08:56 PM


In news:4910967B-2FA4-4020-9D22-(E-Mail Removed),
JH <(E-Mail Removed)> typed:
> That did it. Thanks for the response


Most welcome.

>
> "Lanwench [MVP - Exchange]" wrote:
>
>>
>>
>> In news:E2F286C6-6834-4594-B692-(E-Mail Removed),
>> JH <(E-Mail Removed)> typed:
>>> Robocopy works very well. However I did find a flaw and that is if I
>>> am copying contents from one directory to another of the same name
>>> (diff server) it will not work if the name of the directory has a
>>> space in it. Example if I try using robocopy to copy files from
>>> \\servera\share\file directory \\serverb\share\file directory it
>>> won't work. I get a error that cuts off part of the directory name
>>> showing \\serverb\share\file ... Weird. If the directory name is all
>>> one word it works fine. Is there a way around this? Anyone
>>> experience this before?

>>
>> Yes; see my reply regarding double quotes.
>>>
>>> JH
>>>
>>> "Lanwench [MVP - Exchange]" wrote:
>>>
>>>>
>>>>
>>>> In news:(E-Mail Removed) oups.com,
>>>> ping <(E-Mail Removed)> typed:
>>>>> Hi,
>>>>>
>>>>> I need to transfer files from ServerA to ServerB. ServerA is the
>>>>> domain controller, and ServerB is the Additional domain controller
>>>>> in the same domain. What is the easiest way to do this? There are
>>>>> folders with ACL granted to domain users.
>>>>>
>>>>> Server A - Windows 2000 Server
>>>>> Server B - Windows 2003 Server
>>>>> Domain - linx.local
>>>>>
>>>>> If I use traditional way to transfer files, it will lose all the
>>>>> permission, and stop halfway if the file is in use. Any software
>>>>> to skip file in use during copy and report the files in log files?
>>>>>
>>>>> I have heard of RoboCopy. Is it useful in this situation, and any
>>>>> guides or word of caution?
>>>>>
>>>>> Thanks
>>>>
>>>> Robocopy would indeed be very useful in this case. It's a free
>>>> download from MS, AFAIK....or you can get the resource kit.
>>>>
>>>> One example:
>>>>
>>>> robocopy <source>\ <destination>\ /e /sec /r:1 /w:1
>>>>
>>>> .....means, copy source to destination, including subfolders,
>>>> include securiity (both must be NTFS) retry once, wait one second
>>>> between retries
>>>>
>>>> Run robocopy /??? for full parameter info.



 
Reply With Quote
 
ping
Guest
Posts: n/a

 
      01-14-2006, 12:17 AM
Hi, does it support archieve function - something like xcopy that turns
off Archieve tag of those files that is being modified? or copy those
files with a newer time stamp?

If I am copying while user are working with their files, there are few
concerns:

1. Some files maybe modified and is in use
2. Some files is modified but Robocopy copied the older version(file
changed after copied done) - I need to run robocopy to scan for those
filed just recently changed after I finish my first time bulk copy (
about 15GB)
3. I need to log those files failed to copy.

This is to ensure that all the files transferred to new server is up to
date.

Thanks.

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Copying Shared folders and retaining share and file permissions Bry M Windows Networking 8 03-24-2010 01:12 PM
Copying directory and file structure, while retaining permissions Rob Gordon Windows Networking 1 07-20-2008 12:15 PM
Copying Files to SAN is SLOOOW Kenny Windows Networking 0 03-08-2007 08:34 PM
Lag time when copying files from the server via VPN boe Windows Networking 1 01-29-2005 08:00 PM
Error when Copying Files Hot Gal Windows Networking 0 05-05-2004 03:48 PM



1 2 3 4 5 6 7 8 9 10 11