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

learn more… | top users | synonyms

1
vote
1answer
125 views

Error 5 (Access Denied) copying files - Script that once worked stopped mysteriously

I am baffled. I've been running a robocopy script on my Windows XP box for several years without trouble. Recently, it has been failing occasionally with error 5 - access denied. My script is a ...
1
vote
1answer
967 views

Hidden folder in Robocopy

I'm trying to backup a hard drive with two partitions on it to another drive with only one partition using Robocopy. I am running my commands in PowerShell. The source drive is a USB2.0 drive and the ...
1
vote
1answer
317 views

Robocopy command to winnow “empty” folders but keep subfolders with files

Have multiple-level folder trees with folders that have files and subfolders, other folders without files but with subfolders. I'd like to copy to a destination but not copy the folders lacking files, ...
1
vote
1answer
333 views

No logfile when combining Robocopy with Task Scheduler

I am trying to create a .bat file with Robocopy and schedule it using Task Scheduler in Windows 7. The issue that I am having is with the creation of the log file. When I click on the .bat file, a log ...
0
votes
1answer
44 views

Robocopy not copying proper last accessed time stamps

I am using Robocopy 5.1.10 and it does not copy the last accessed time attribute on files. I am using below handlers with robocopy which copies all the data very well except the last accessed time ...
0
votes
1answer
111 views

Batch File:List all files of a type, rename files, flatten the directory

I am looking for help with a batch file(s) that will allow me to move all files of a particular type (*.PDF's for example) to a new folder. HOWEVER I would like to have features not readily apparent ...
0
votes
1answer
2k views

robocopy ERROR 1314 (0x00000522) on Windows 7 Home Premium

I'm using a robocopy script with the switches /COPYALL and /B on my Windows 7 Home Premium PC to backup files to a NAS and I'm getting the error message: ERROR 1314 (0x00000522) Copying NTFS ...
0
votes
1answer
383 views

Robocopy: copy files preserving folder structure but adding a subfolder

I need to copy a folder which contains subfolders with files to a shared folder on another machine. During that, the script should create a custom subfolder in each destination folder and place files ...
0
votes
1answer
274 views

Robocopy From Folder A - Only differences between Folder A and Folder B, to Folder C?

I have a system setup where 2 folders on separate drives / locations are normally mirrored via DFRS. This works perfectly and I have no issues with this. However, the system that owns these files (a ...
0
votes
1answer
171 views

RoboCopy and length of file paths

I'm using RoboCopy to back up between two hard drives. I have noticed that the log is highlighting files that its copied to the destination folder even though they haven't changed since the last back ...
0
votes
1answer
87 views

Robocopy errors when running Jenkins script

I've tried to follow other SU links Getting robocopy to return a proper exit code and I've have this step in Jenkins (robocopy d:\vol\CruiseControl.NET\Websitecode\%SITENAME%" ...
0
votes
1answer
546 views

Robocopy causing network disconnects

PROBLEM: I am trying to copy a large folder (my music) from my Windows 7 machine to a Windows 8 machine via a LAN. Inevitably, once robocopy is run, the state of the network will start fluctuating ...
0
votes
1answer
988 views

One Way Syncing between two folders using a third folder

I want to create a one way sync between Folder A and Folder B so far so good and RoboCopy does the job. But Some of the files in Folder B will be moved to Folder C (not controlled by this system) So ...
2
votes
0answers
89 views

is robocopy over a network share secure against eavesdropping?

IMHO using robocopy for copying files to a remote windows network share should use the encrypted channel provided by windows file sharing ove a network. Can anyone confirm? Thank you.
2
votes
0answers
4k views

ROBOCOPY /MIR (or /PURGE) follows and deletes target symlinks

Let's say we have a folder SOURCEDIR to be synchronized with TARGETDIR. The problem: if TARGETDIR contains directory symlinks, ROBOCOPY /MIR (or /PURGE) will follow the symlink, and delete every file ...
2
votes
0answers
1k views

Batch file to move/compress/delete files

I am trying to write a batch script that will run automatically daily to do the following: Move files older than 2 days to from the main directory (Jason) to an archive directory. Zip files in the ...
2
votes
0answers
1k 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 ...
1
vote
0answers
34 views

Why is Robocopy frequently crashing on Windows 8 systems?

Since years we are using Robocopy to replicate files between Servers around the world. Now we have Windows 8 64 BIT Servers in China to which we have to replicate some files. But with this OS we ...
1
vote
0answers
17 views

Robocopy /purge only without archive attribute

i am working on a robocopy command to sync different folders. But for some reasons i just want to delete with purge the files without an archive attribute. Is this possible? /Purge /E /NOCOPY ...
1
vote
0answers
505 views

Can the “Are you sure you want to copy this file without its properties?” halt be stopped when copying files?

When I copy data on my computer, I get a dialogue box with the message Are you sure you want to copy this file without its properties? I know why this message pops up, but it does not make it ...
1
vote
0answers
39 views

I copied a folder with copy&paste instead of 'xcopy'. How to fix that?

I copied a folder (Windows Server 2003) with copy-paste instead of 'xcopy' or 'robocopy'. Now I lost the original permissions, and I can't re-do the copy process (can't access the original folder). ...
1
vote
0answers
396 views

Robocopy; How to copying missing files to a different location from original copy?

I am using Robocopy to transfer around 1 tb worth of files from an external drive to a virtual Windows Server 2008 machine hosted on an ESXi 5.1 VMWare server using USB pass-through. I used the ...
1
vote
0answers
341 views

Performance of RoboCopy when complex folder structure & files are to sync

I would require some recommendations from you about the challenge that I am currently facing. Background : There are Network Attached Storage in the US and India Office. All the data currently ...
1
vote
0answers
519 views

Permissions issue migrating data across domains

I have 2 domains, lets call them "OLDDomain" and "NEWDomain". The previous admin "migrated" the users from OLDDomain to NEWDomain by painstakingly going through active directory user by user. Then ...
1
vote
0answers
119 views

RoboCopy sees two files as changed when they are exactly the same

Using RoboCopy I am copying large sets of files between storage devices and have noticed some strange behavior: On many occasions where the source and destination file are the same, RoboCopy sees the ...
1
vote
0answers
176 views

Robocopy mir deletes files when network goes down?

I've inheritted some server backups and I heard from the person that if the network goes down while robocopy is running it will wipe all the destination folder if /mir is used. He said it is because ...
1
vote
0answers
330 views

Windows Junction / Move File Issues

I am working on a computer where I am moving C:\Users\User to D:\Users\User and I am going to create a junction. All files moved successfully during the move except: My Pictures My Videos ...
0
votes
0answers
20 views

Robocopy using souring source and destination pc as shared folders

Scenario: I have 3 pc's on the network. Lets name it A, B and C PC A - used to run robocopy. PC B - has shared folders on the network - source. PC C - has folders onto which files from B are ...
0
votes
0answers
17 views

Full copy OS drive via network

I want to use Robocopy to copy entire "C:" drive from one machine to another. problem is that on this machine there are many files that are opened by other processes since this is the OS drive. how ...
0
votes
0answers
13 views

Robocopy backup via Citrix wrong timestamps

I connect to a Windows 2008R2 via Citrix from a MAC. The task is to backup the HDD to my local HDD which I connected as a network drive z: in Windows. The problem is that on my Mac the files modified ...
0
votes
0answers
18 views

Robocopy Wizards: Copy Multiple User's Stickies

Any Robocopy Wizards out there? Trying to figure out how to make a copy of the Stickynotes file (C:\users\UserName\AppData\Roaming\Microsoft\Sticky Notes\StickyNotes.snt) for all users, and place it ...
0
votes
0answers
20 views

Robocopy to Remote Windows Server

How do I tell robocopy not to create a directory on the remote server if its root directory does not exist? For example, Source: c:\temp\user1\ssh Dest: c:\temp\user1 ...
0
votes
0answers
58 views

copying files from one server to another windows

I have a script where I login to a windows 7 machine(Let's call it A) using SSH. In my SSH session, I am trying to copy files from a share(Let's call it B) to A. I've used cygwin on machine A for ssh ...
0
votes
0answers
168 views

Robocopy /mir - verify it copied everything?

I ran the following command to backup one external drive onto another (Windows 8.1 x64): robocopy /mir G:\ V:\backup /MT:8 The result says that 115161 directories and 992981 files were copied, ...
0
votes
0answers
17 views

Skip previously faulty files on a robocopy restart

I'm copying large amount of files from a cloud drive. Over TB totals with file sizes around ~10mb. A lot of them became corrupted with time. My network is unreliable and I have to restart robocopy ...
0
votes
0answers
32 views

Robocopy files only with a certain date

I am looking to copy files from x: to z: only if the destination file has a date changed of 9/23/2014. If the destination file has an older or newer date, don't touch it. X is my backup and Z is the ...
0
votes
0answers
91 views

Robocopy /Z switch - copy not resuming after killing the process

I am creating a wrapper windows service for robocopy and I have design need to sometimes kill the robocopy process during large transfers but when I restart copying using robocopy, it just starts ...
0
votes
0answers
383 views

Copy Data over network using Robocopy - Error 3

I am trying to copy data over a network from one drive mapps as I: to another mapped as H: on my computer. I tried to run the following : Robocopy I:\ H:\ /MIR /Z However I am getting the ...
0
votes
0answers
77 views

Is there a way to copy Userprofiles with Robocopy and keeping the junctions symlinks?

In the Internet you read a lot of Tips how to copy your userprofile with robocopy safely from Recoveryconsole. The usually recomend robocopy source target /xj..... The problem with the /xj switch ...
0
votes
0answers
30 views

Robocopy - Data Copy - Reading files

I copied the data from one server to the other using robocopy. on source server - one particular file cannot be opened Target server - The same file opens on double clicking NOte: I have copied the ...
0
votes
0answers
195 views

Robocopy Isn't Syncing the Read-only Attribute

I use Robocopy as a backup solution. One thing I noticed is that if a file gets backed up and then I decide to mark the original file as read-only, the next time that file gets backed up, the backup ...
0
votes
0answers
97 views

Does robocopy /Z not reliably work when aborting the process?

I am copying some large files from a slow NAS to a local machine. The command line is quite simple robocopy /Z P:/Data D:/Data There are some very large files and I would like to power off the ...
0
votes
0answers
798 views

Robocopy ERROR 32 (0x00000020) Deleting Source File xx.pdf The process cannot access the file because it is being used by another process

Robocopy ERROR 32 (0x00000020) Deleting Source File xx.pdf The process cannot access the file because it is being used by another process. Situation: users have an assigned folder to place file(s) ...
0
votes
0answers
268 views

Robocopy (without /l flag) running for hours making log file huge, but not actually copying anything

Here's my command: Robocopy C: C:\C_root /FP /BYTES /TEE /S /E /COPYALL /DCOPY:T /MOVE /Z /ETA /XJ /R:2 /W:30 /XF pagefile.sys /XD /LOG:C:\robocopy.log. BTW, notice the /XD option above. ...
0
votes
0answers
1k views

How to use Robocopy in true restartable mode

I am currently using the /Z flag in a Windows Robocopy command with the intention of creating a "restartable" copy job. However, when the copy command is re-executed after an interruption, the copy ...
0
votes
0answers
181 views

Copy in use files with security Permissions

Is there a free Windows utility that will let me copy folders and sub folder contents with their NTFS security permissions and let me copy in use files?
0
votes
0answers
298 views

Does robocopy mir switch, on a single file, only add the changed parts to destination file or makes a full copy?

The headline says it all I hope but just in case I'll ellaborate. File A is a word file with 50 pages, it's size is 47 kb. File A is copied from source folder to destination folder. File A is then ...
0
votes
0answers
184 views

Disk size data is inconsistant (more then i can hold)

I have several disk partitions, i made then each 250gb. I used robocopy to copy one partition to another I got an error the destination disk is out of space. wtf they are the same size. I right ...
0
votes
0answers
1k views

using robocopy to mirror folders as a scheduled task without users logged in

I have two servers, one local user with the same password and username. It will always be a one-way transfer serverA --> serverB. I created a scheduled task that runs (on serverB) robocopy ...
-1
votes
0answers
27 views

Using Robocopy to copy files in order, not alphabetically

Do you guys know of a Robocopy switch that will allow me to mirror my Links (Windows 7) in the order I have them on my main machine, to another machine? When I run Robocopy now, all the Links copy ...