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
1
vote
2 answers

Copying files from one machine to several others, all on the same small network

I'm looking to automate a copying job that I usually do manually. I've never worked with scripting, and I have little networking knowledge, so it's entirely possible that the answer is simpler than I realize, but I've had no luck so far. The…
user419262
  • 11
  • 2
1
vote
1 answer

Need to copy files where source files are in directories but want target files to land in single directory

I have been asked to see if I can copy many files from a source that has directories and sub directories and for the taget to be a single directory. All files to one directory. If there happens to be a duplicate file they would just copy with…
mebermudez
  • 11
  • 1
1
vote
1 answer

Robocopy Delta Copy over network

We manage a client site that has a file & print server on-site and our intention is to move their files / data to a centralised server at our data center. As the client has a very slow internet connection (adsl @ 5mbps), my boss has visited site to…
Jake
  • 111
  • 2
  • 6
  • 11
1
vote
1 answer

Robocopy with volume id paths?

Is it possible to use robocopy with volume id paths? C:\>robocopy /MIR /COPYALL /R:0 \\?\Volume{8a20c0df-ba3-44e9-8529-e6cd231a6759}\…
jamesallman
  • 685
  • 4
  • 11
1
vote
1 answer

Moving a lot of files with robocopy and 7zip

With the help of StackOverflow and a number of other places I've created the following script, the purpose is to look at a folder and it's subdirectories, if the files are older than 32 days -> move them to another folder and zip that folder. If the…
hylian
  • 131
  • 3
1
vote
1 answer

robocopy log all but only display header/summary

Is there any way to tell robocopy to log all the info but to show the header/summary (any high level info really)? I did some screwing around and when I used the NFL option for example, it actually didnt copy the files, it just created the…
jrich523
  • 111
  • 1
  • 2
1
vote
0 answers

Is Using Robocopy /B pointless as an Administrator?

From what I can tell, the /B switch only seems useful to grant a limited user the ability to make backups. Am I correct on this?
user970638
  • 273
  • 1
  • 2
  • 10
1
vote
0 answers

Local Hard disk IO of robpcopy on copying file across remote PC

Robocopy is running in local machine in india and files are copied between remote machines in USA . command is indiamachine> robocopy \usamachine1\src \usamachine2\dest .in this scenario does files get copied from usamachine1 --> India machine ---->…
raj
  • 111
  • 3
1
vote
2 answers

Software for moving files and leaving shortcuts

i want to move files from my server to another server. This is working fine with robocopy but now i want to leave a shortcut in the old source directory with the same name like the moved file pointing to the new destination. I dont want my users to…
Andreas
  • 11
  • 1
1
vote
1 answer

robocopy with environment variable will cause 0x10

I tried this on command line and it will work correctly robocopy /mir /copy:DAT /mot:30 "D:\Source File\file" "E:\Target Directory\backup %DATE:/=-% %time::=-%" /xd "D:\Source File\file\excluded" But after I create a schedule task to run it, I got…
zer09
  • 113
  • 4
1
vote
0 answers

Robocopy and IIS log date modified behavior

I am trying to create a mechanism (in my case Robocopy wrapped in PowerShell) that will back up IIS logs from all of our web servers into a central CIFS share. As you'd expect, I've had issues with copying the currently open log file, since NTFS…
Tony Mitera
  • 55
  • 1
  • 1
  • 5
1
vote
3 answers

RichCopy - Suppress Splash Screen and Run Quiet?

RichCopy looks to be a great tool with some features that RoboCopy lacks. I'm trying to use it to back up media on a Home Media Server project I'm working on so I need to be able to run it from command line and without any visual impact. I'm fairly…
1
vote
3 answers

How to abort robocopy on first error

When using robocopy windows utility, what flags do I set so that robocopy aborts on the very first error it sees, similar to xcopy /dry command? I need to mirror two dirs, and on occasion some files would be locked. I do not want robocopy to…
Yuri Astrakhan
  • 151
  • 1
  • 7
1
vote
2 answers

robocopy fails copy with multiple options

Using robocopy trying to copy files from network drive to local workstation folder with some options, but getting the error 123, 1314. The filename, directory name, or volume label syntax is incorrect and a required privilege is not held by the…
Techgeek
  • 11
  • 2
1
vote
6 answers

Make incremental and differential backups with Robocopy?

I wanted to know if it is possible to make incremental and differential backups using just Robocopy and arguments. Putting it in a simple bat and making that bat run in Task Scheduler seems like a simple backup plan that I would need. I think I…
riahc3
  • 506
  • 4
  • 11
  • 28