Copying Files and retaining File Permission

P

ping

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
 
L

Lanwench [MVP - Exchange]

In
ping said:
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.
 
L

Lanwench [MVP - Exchange]

In
ping said:
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top