Questions tagged [robocopy]

Robocopy is a command line file copy utility for Windows-based operating systems.

Robocopy is a Microsoft command line file copy utility that is built into Windows Server versions 2008 R2 and newer. Examples of basic functionality include directory mirroring, copying files over a network, restartable copy and multiple exclusion/inclusion flags.

272 questions
4
votes
2 answers

Mirroring harddisk with compressed files with Robocopy

I tried to mirroring an existing disks on a new disks with less space. It is very important that the file structure, attributes and ACL's are exact as on the source disk. For this I tried robocopy.exe: robocopy $sourceDisk $destinationDisk /mir /XD…
larkee
  • 191
  • 1
  • 8
4
votes
3 answers

Robocopy /xd with wildcards and sub-paths

I don't think this exact question has been asked before (I looked). My backup server runs a script using Robocopy, and I want to exclude files that don't really need to be backed up, specifically: *\AppData\Local\Google…
nerdfever.com
  • 231
  • 2
  • 4
4
votes
3 answers

Move, and split up, 5TB of data

Here is the scenario: I have 5 TB (yes, that's a T) of files on a Windows server that I need to migrate to a new server in as short and efficient time as possible. (Think: Robocopy, Rsync, etc as I plan to use differentials to do this over time). …
4
votes
2 answers

Scheduled robocopy fails with error 3 (Creating Destination Directory)

Related: Scheduled Robocopy task fails with 0x10 error I'm using robocopy as part of a server backup script. It fetches the files to this workstation (Windows 7, upgraded from Vista - that caused some quirks before), and then copies them to a server…
Sašo
  • 1,464
  • 2
  • 9
  • 13
4
votes
1 answer

Robocopy uses relative path for Source and Destination paths

I'm trying to use RoboCopy in my TFS Build Template to copy some files, but for some reason it inserts "C:\Windows\system32" in front of my Source and Destination paths, even though I am passing in absolute paths. I know that the robocopy.exe is…
deadlydog
  • 303
  • 1
  • 5
  • 9
4
votes
1 answer

Robocopy falsely marks files as newer

I have two NTFS formatted drives on different machines and I do a robocopy mirror between them like this: robocopy "D:\My Documents" "X:\Backup\My Documents" /MIR /V /NP /XD .* /XO /XA:SHTO /FAT /Z /ETA /DST /R:3 /W:30 But it will falsely mark…
Cinaird
  • 141
  • 1
  • 1
  • 4
4
votes
6 answers

Looking for a faster way to transfer file to a windows network share

Update: This is just for one way transfer. No need to sync. I am currently using Robocopy to transfer a huge file which is zipped and send to a remote network share. Is there a faster tool? Lately, file sizes have been increasing and the transfer…
Gulzar
  • 381
  • 2
  • 7
  • 13
4
votes
3 answers

Using ROBOCOPY to MOVE data around, not copy it

I have the following powershell script, which executes a few robocopy commands: ROBOCOPY.exe $q3 $q4 /R:5 /W:15 /S /NP /MT:32 /XA:SH /XJD ROBOCOPY.exe $q2 $q3 /R:5 /W:15 /S /NP /MT:32 /XA:SH /XJD ROBOCOPY.exe $q1 $q2 /R:5 /W:15 /S /NP /MT:32 /XA:SH…
Nate
  • 2,151
  • 5
  • 25
  • 41
4
votes
4 answers

Robocopy really slow across LAN

DISCLAIMER: I'm a programmer, not an admin! I am setting up web apps in a new server cluster and copying files using xcopy or robocopy and UNC paths between servers on the same subnet is really slow. SOmetimes it seems to sporadically speed up,…
Brian Donahue
  • 141
  • 1
  • 1
  • 3
3
votes
3 answers

RoboCopy errors on Windows Server 2008

I am getting bizarre error with RoboCopy in Server 2008. It will randomly hang with "The specified network name is no longer available." error. Once that happens, it will continue to fail on the retries. But of course the remote server IS still…
user29985
3
votes
0 answers

Copy large amount of file - better to "pull" or to "push"?

I need to copy a large amount from "old" server to "new" server. Both servers are Windows Servers Is there a difference if I go onto old server, access new server by unc path and "push" files onto new server vs. going onto "new" server and then…
Volker
  • 131
  • 2
3
votes
3 answers

Copying large amount of data between volumes on Windows 2008, fast method?

I need to copy data from/to very large volumes (2TB) on a Windows 2008 Server. Are there any tools I should consider using that maximizes throughput (hopefully with a resume-function)? I've always used copy/paste, wich have worked fine when I don't…
pauska
  • 19,532
  • 4
  • 55
  • 75
3
votes
1 answer

Copy single file using robocopy

I'm writing on a batch file to copy a certain file to a samba-share. I've already read robocopy transfer file and not folder and thought I would be good using robocopy "E:\Some\Path\with spaces" "\\sambaServer\some\path\with spaces" "myFile.rar" /z…
derHugo
  • 133
  • 1
  • 1
  • 7
3
votes
1 answer

Get robocopy to copy completely silently

Is it possible to run robocopy in some sort of "completely silent" mode?
RCIX
  • 134
  • 1
  • 8
3
votes
1 answer

robocopy wierd behavior for /copyall

When I use robocopy with /copyall flag, the 1st attempt for the files will be display as "New Files" and the output will display the number of new files copied and other transfer/bytes information. The 2nd attempt for using the same path + command…