Hi all,
I have two servers, one called smart2 and another called smart6, i wont to
robocopy the whole d:\ and all subs from smart2 to smart6, what would the
robocopy command be for that.?????
Thanks
Adam
Hi all,
I have two servers, one called smart2 and another called smart6, i wont to
robocopy the whole d:\ and all subs from smart2 to smart6, what would the
robocopy command be for that.?????
Thanks
Adam
See here for all options:
http://www.mydigitallife.info/2007/0...-and-examples/
http://technet2.microsoft.com/window....mspx?mfr=true
Please let me know if there is anything that I can do for you. I look
forward to hearing from you soon.
Perhaps post the command you are attempting to use and the version of
robocopy might help
Dear Customer,
Thank you for posting in newsgroup. And thanks to Meinolf for the
contribution.
According to the description, you want to robocopy the whole d:\ and all
the subfolders from smart2 to smart6. If I have any misunderstanding,
please feel free to let me know.
Based on the research, here are some examples just for your reference.
Example:
=============
Ex1. "robocopy \\smart2\d$ \\smart6\target"
Please ensure the local credential that you logon has the permission to
read source directory and the create files on the target.
Ex2. "robocopy \\smart2\d$ \\smart6\target /e /sec"
/e: Copies subdirectories. Note that this option includes empty directories.
/sec: Copies files with security
For more reference, please refer to:
Robocopy
http://technet2.microsoft.com/window...6e8e9-fcb3-4a4
a-9d04-2d8c367b63541033.mspx?mfr=true
Hope this information will be helpful.
Hello Adam,
Thanks for the reply.
If you have any update or question, please feel free to let me know.
David Shen
Microsoft Online Partner Support
Dear Customer,
I am just writing to see how everything is going. If you have any updates
or need any further assistance on this issue, please feel free to let me
know. I am glad to be of assistance.
David Shen
Microsoft Online Partner Support
Hello Adam,
Thanks for your reply.
Robocopy is a component of Windows Server 2003 resource kit, you may simply
download and install it on the server. If you want to robocopy the whole
d:\ and all the subfolders from smart2 to smart6, the local administrator
permission on the server is required.
Meanwhile, please check if you can open the file share on destination
server "smart6" in Windows Explorer to isolate any network issues.
Hope it helps.
Hello Ben,
Yes. You can copy a specific folder with all subdirectories from server1 to
server 2 by using robocopy even if there are other folders on server1 at
the same level.
Ex. "robocopy \\server1\folder1 \\server2\folder2 /e /sec" (without
quotation mark)
Hope it helps.
David Shen
Microsoft Online Partner Support
the problem i ran into doing that is that it copies the contents of folder1
but not folder1 itself - the only solution i had so far is to use
robocopy \\server1\t$\AppData\ E:\test1 /copy:dats /E /XD advantage
snapvendor softpro wintitle (excluding all folders except the one i wanted
Hi, is there a way to copy only a 100 files from a total of a 1000 ?
all the file extentions will be the same and in the same location.
Thanks
i would like to point out 1 thing - if the names of the excluded directories
are found in a subfolder of the directories that you are copying they will be
excluded as well - so its not the best workaround
I would like to use non-administrator account with read permission to access the sensitive data on the source server.
I have made non-administrator account a member of local admin group on destination server , but when comes to creating or deleting files on that server, the routine fails. “A required privilege is not held by the client.”
Please advise.
My Robocopy question is on usage of the /XN or /XO command switches.
I have a drive (D:) that I want to copy to (G:). The Robocopy runs fine, on the second go around, I only want to copy the files on D: that are newer than the ones currently on G:.
This second Robocopy is my LAST one, then I will change G: to D: (trust me it's a long story, but this is not an ongoing backup situation).
So, my question is, if I use /XN am I telling Robocopy to not copy a file if a newer one (or the same one) exists on the target drive? Or, does the /XN relate to the file on the Source and I'm saying don't copy newer files over the top of the existing files on the target?
Does this make sense?
Bookmarks