Robocopy (or "Robust File Copy") is a command-line directory replication command.

learn more… | top users | synonyms

6
votes
6answers
4k views

Robocopy unilog output is gibberish

I tried to get robocopy in Windows 7 to generate a Unicode log, since I have files with Unicode characters. The command I used: robocopy C:\mysource D:\mydest /mir /unilog:backup.log /tee File the ...
2
votes
0answers
2k views

command line remove read only flag on all subfolder entries or overwrite read only files with robocopy

I need one of two things to work: I use robocopy to copy all sub-files and sub-folders from one folder to another, and the destination contains older files + files not in the source, and I need the ...
5
votes
2answers
19k views

How to robocopy with progress logged to console only?

I want to run RoboCopy that will update the console with % progress but not clutter the log file with % progress. The following RoboCopy command will perform the desired copy and append logging ...
48
votes
8answers
31k views

Getting ROBOCOPY to return a “proper” exit code?

Is it possible to ask ROBOCOPY to exit with an exit code that indicates success or failure? I am using ROBOCOPY as part of my TeamCity build configurations, and having to add a step to just silence ...
0
votes
2answers
383 views

Which tool to use when making a complete dump of the sysvol in Windows XP

I have tried both robocopy and hobocopy. Robocopy lacks the use av shadow volume copy so it always gets stuck on system files, you need to supply an ever growing list of filenames/directories to ...
0
votes
1answer
304 views

backup file to NAS device

I have a WD Sharespace storage device at home. link I currently backup my live servers files to a PC of mine at home. I do this once daily using RoboCopy and a scheduled task. I use this robocopy ...
3
votes
4answers
2k views

Using Robocopy for file rotation

I am looking for a way to use robocopy to rotate log files. Currently I have a batch file using robocopy to copy files and log the results to a specified folder location. What I would like to do is ...
2
votes
1answer
792 views

robocopy can’t find newly zipped file for copy

I am working with a batch file that is being used to copy files from several remote servers to one central repository using robocopy. I am trying to zip the contents of a folder and then copy it but ...
0
votes
2answers
2k views

robocopy /mir problem

i am using robocopy to take backup from one folder with following syntax robocopy "source" "destination" /mir but the issue i am facing is if file is in destination but not in source, its ...
0
votes
1answer
6k views

How do I use psexec and robocopy together in order to copy a directory over to a remote machine?

Hi I'm trying to form a psexec (or perhaps robocopy?) command which will allow me to use given account credentials to copy a directory over to a remote machine. I'd prefer to use robocopy, but the ...
3
votes
1answer
1k views

Robocopy Mirror Backup gone awry

I have created a simple batch file script for running Robocopy. It is set to make a backup of my user account folder to my external hard drive. Here's the parameters for Robocopy: ROBOCOPY ...
2
votes
3answers
6k views

Mirror/Backup from SSH/SFTP to Windows

What I am trying to do is mirror a directory (recursively) from a server I can SSH/SFTP to, to a Windows machine. I want to do this as part of a script, so it can be automated. I only want to copy ...
2
votes
4answers
1k views

Delete dupe files from source, move only missing across to target in Robocopy

We copied all our files to a new storage server recently. We didn't want to move at the time because we weren't sure if files would get lost. The problem now is that we have files on both places. ...
1
vote
2answers
1k views

Robocopy to a drive connected to a wlan router fails

I have a wireless router and an USB hard drive connected to it. Basic file access on the command line and Explorer works flawlessly after having set up some options on the router and mapping to some ...
1
vote
1answer
4k views

Why does Robocopy work once and then ignore all files the next time?

I used the following command: Robocopy c:\source c:\backup /MIR /XD .svn Then I deleted c:\backup and did it once again. This time it ignored all files and copied nothing. Why is that? How do I ...
-2
votes
3answers
420 views

Problems with Robocopy

How shall I put this... It's like: you can tell robocopy: "move the contents of this map to that map". But you can't say: "move that map to that map, no matter the contents"(to be content of that ...
2
votes
2answers
6k 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 ...
0
votes
1answer
34k views

Access denied error with robocopy as admin [duplicate]

Possible Duplicate: Robocopy permission denied When trying to run the following command robocopy d:\directory \\server\directory /S /XO /COPY:DT I get an access denied error. I am ...
1
vote
3answers
6k views

Simple robocopy script to backup a harddrive not working

I am trying to run robocopy to backup my whole harddrive This what I have so far robocopy f: G:\Backup\f\ /E /R:2 /ZB /DCOPY:T /SL The problem I have is that I seem to be geting into a loop where ...
3
votes
7answers
3k views

Incremental/Differential Backup on Windows

What's the easiet way to perform an incremental/differential backup to a network share in Windows? Does a Robocopy/Xcopy solution work reasonably well (I need to the parameters!) or is there a good ...
20
votes
2answers
25k views

Linux equivalent to robocopy?

It's kind of funny, there are a lot of ways in which Linux command line tools are vastly superior to Windows ones, but one thing I have not found an equivalent to is robocopy. Robocopy is way more ...
4
votes
5answers
20k views

Robocopy permission denied

Robocopy is preinstalled with Windows 7. I've used it many times in the past. I tried to copy a folder to a remote share with robocopy c:\source "\\server\share\path" /s /r:2 /w:2` As a result I ...