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

learn more… | top users | synonyms

19
votes
7answers
50k views

How to get robocopy running in powershell?

I'm trying to use robocopy inside powershell to mirror some directories on my home machines. Here's my script: param ($configFile) $config = Import-Csv $configFile $what = "/COPYALL /B /SEC/ /MIR" ...
1
vote
1answer
533 views

Overriding destination directory from ROBOCOPY Job file?

I am using Robocopy for backing up my project directories to an external disk, and it works like a charm. Except for one little issue: sometimes, I wish I could override the destination directory ...
2
votes
4answers
6k views

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. ...
0
votes
1answer
1k views

How do I know if robocopy skipped the file I am copying?

I am using a batch file to copy a database backup file using robocopy (on Windows 7/2008) and need to restore (with replace) the database only after the backup file is really changed (not skipped by ...
3
votes
3answers
4k views

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 ...
3
votes
3answers
1k views

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 ...
3
votes
1answer
5k views

Get robocopy to copy completely silently

Is it possible to run robocopy in some sort of "completely silent" mode?
3
votes
5answers
18k views

Server 2008 robocopy access denied to user folders + /B error I don't understand

This is a two-parter. A) Trying to do this in server 2008, with command being run by domain admin: Robocopy \server\c$\users D:\backupfolder /MIR I get "Access Denied" on all files in the user ...
1
vote
3answers
2k views

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 ...
0
votes
3answers
1k views

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 ...
10
votes
3answers
15k views

Exclude only some files with the same name when copying using robocopy

I have a directory structure like this: folder1\ help.txt folder2\ help.txt folder3\ help.txt ... I want to copy the contents of folder1 using robocopy. For example: ...
0
votes
3answers
426 views

1GBit copy throughput, protocol independent

I've a question which bothers me since quite some time now. I have several environments and servers. All of them are connected to 1 Gbit ethernet swiches (e.g. Cisco 3560). My understanding is, that ...
0
votes
3answers
1k views

Copying files with permissions

We have a new Windows 2008 server and want to transfer over our old files. Tried using Robocopy with /E /SEC /COPYALL, but did not do anything, RichCopy copies the files between the computers but does ...
12
votes
6answers
22k views

The Job and Monitoring Options of RoboCopy

What does the Job Options of RoboCopy do? And what exactly does the /MON and /MOT switches do? How can I use them? I don't understand them, and can't find any examples on how to use them. ...
5
votes
4answers
19k views

Why does RoboCopy create a hidden system folder?

I thought I would try out RoboCopy for mirroring the contents of a folder to another harddrive. And seems like it worked. But, for some reason, to see the destination folder I have to both enable Show ...
2
votes
3answers
7k views

Schedule robocopy run

I have Windows Server 2008 Enterprise. I need to copy files from network folder, I connected as a Z: drive. I need to schedule the copy. In scheduler I run it every 5 minutes. robocopy.exe Z:\ ...
47
votes
3answers
100k views

robocopy transfer file and not folder

I'm trying to use robocopy to tranfer a single file from one location to another but robocopy seems to think I'm always specifying a folder. Here is an example: robocopy "c:\transfer_this.txt" ...
1
vote
7answers
29k views

Where can I find ready to use windows scripts that used robocopy?

We are installing the Windows Resource Kit, and that installs RoboCopy. We want to have access to a few windows scripts that uses RoboCopy so we can start from those to build something else. Any ...
0
votes
8answers
770 views

Robust file-copying utility

I'm looking for a file copy utility that allows me to control what files and directories are to be copied specifying rules like: IF source-file-date IS GREATER THAN target-file-date THEN overwrite IF ...
2
votes
2answers
591 views

How to avoid locking mysql tables with Robocopy

Some clients of ours complained about robocopy failing badly and locking tables, has anyone had any experience with running robocopy on a potentially active database? Could anyone explain the /b ...