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.

276 questions
3
votes
1 answer

What is auditing info?

I trying to move files from Server A to server B using robocopy with their NTFS and share permissions. Robocopy has an /copyall option which should be able to do so, but the account I am using does not seem to have to right to use this option, but…
nano
  • 53
  • 2
  • 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…
3
votes
3 answers

How to exclude files in a folder with pattern with robocopy?

I'd like to exclude all files matching C:\dir1\*.ext so I say: robocopy C:\dir1 C:\dir2 /E /B /MIR /xf C:\dir1\*.ext According to the documentation this should work: /xf [ ...] Excludes files that match the specified names or paths.…
boot4life
  • 279
  • 2
  • 5
  • 12
3
votes
2 answers

rsync / robocopy /MIR to azure

We are looking to do two things with azure for off site backup: 1) We need to mirror local dir struct up to azure, like robocopy /MIR command 2) We need to purge files older than ____ days from azure storage. What is the direct path to this place?
Jonesome Reinstate Monica
  • 5,445
  • 10
  • 56
  • 82
3
votes
2 answers

Robocopy throws 'filename, directory name or syntax is incorrect' on local disk

I'm attempting to use robocopy to move files older than 5 years to another server, to reduce the size of a 3TB volume under 2TB so that the machine can be P2V'ed using Microsoft VM Converter. There are actually 3 identical servers (3 offices for the…
sm_biz
  • 33
  • 1
  • 1
  • 3
3
votes
1 answer

Get file system write cache queue size

I am copying a large amount of files from one server to another via robocopy to a UNC share. I notice that after robocopy completes that there is a large amount of disk activity that lasts for a while afterwards, the server is very sluggish at this…
3
votes
0 answers

server side copy for Linux does not work

I have a NAS embedded Linux device which has Samba4 installed and running. I have configured a samba share, and I am trying to do server-side copy within that samba share from a client. This is what I am trying to…
Shuo Dong
  • 61
  • 3
3
votes
1 answer

Robocopy Invalid Parameter /BYTES

I would like to use robocopy with the /BYTES parameter. When I use it I receive an invalid parameter error: ERROR : Invalid Parameter #6 : "/BYTES" I am using Windows 7. When I do a robocopy /? I get…
hsimah
  • 135
  • 6
3
votes
0 answers

Robocopy from one to many

I am trying to use robocopy to update some internal AV clients that are not working. They will update once I the files are copied manually in. I've tried the following robocopy script, but can't get it to execute. for /f "usebackq tokens=*" %%T in…
JJJJNR
  • 870
  • 6
  • 20
  • 32
3
votes
1 answer

Windows Server to Server copy, executed remotely, process overview

Ok so I've got 3 servers in this example Server_A, Server_B, Server_C I want to move data over the network from Server_A to Server_B by executing a batch script on Server_C, it would be something like this. robocopy "\\Server_A\Share\"…
3
votes
2 answers

Robocopy - how to discard timestamps

I'm trying to copy some files to a folder where there are already older versions of those files with the robocopy tool. And in order to differentiate versions, I'd like to set the timestamp to "now" in the output folder when the file is copied…
foch
  • 133
  • 1
  • 5
3
votes
2 answers

ERROR 1307 (0x0000051B) - While copying with Robocopy - None of the known sollutions work

I'm trying to copy a folder from one harddrive to another using the folowing robocopy options: robocopy "H:\Source" "T:\target" /E /COPY:DATSO /R:1 /W:1 /DCOPY:T /Z /LOG:T:\Belfirst_copy.log /NP For files where the owner is not the Administrator,…
Wouter
  • 315
  • 1
  • 3
  • 11
3
votes
2 answers

NAS Migration: Preserve "Previous Versions" shadow copies

We're planning a forklift upgrade of our NAS and were going to use a utility like Robocopy to move the files over. However we'd like to preserve Windows' "Previous Versions" shadow copies. Any way to do this? Will it happen automatically? I can't…
Hank
  • 563
  • 1
  • 7
  • 18
3
votes
5 answers

How can I take a one time full backup of a Windows Server without the need for a restore program?

I have a Windows SBS server with about 500GB of data that I'm decommissioning but I'd like to take a final backup of the server and place it on an external USB drive. I already have multiple backups of the server on disk from the past but they are…
TheCleaner
  • 32,627
  • 26
  • 132
  • 191