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

learn more… | top users | synonyms

0
votes
2answers
127 views

Script to quit program prior to Robocopy

I'm setting up a backup script for a client that will be scheduled to run once a month to backup his 200GB iTunes directory to his NAS. It's compiled using some defined parameters and ROBOCOPY ...
0
votes
2answers
51 views

special copy (maybe Robocopy) requierement

I have a special copy (maybe Robocopy) requierement: I have: A source directory (with sub-directories) A target directory (with sub-directories) Both directory structures are nearly the same. But ...
0
votes
2answers
250 views

Copy all files, skip those already existing, and delete those in destination not in source

I imagine this could be done with Robocopy - I want to copy my music library from its folder on my PC to my mp3 player. I have ~5000 songs, and I'll probably run the copy every time I add an album. ...
0
votes
2answers
800 views

copy works where xcopy and robocopy does not work

Network admin allowed me to read-access only 1 file from a subfolder of a shared folder on a server and I don't have permissions to even view upper level folders, but when I open that folder I can see ...
1
vote
1answer
8 views

How does Robocopy determine if a file is “changed”

I'm lookin here for detailed info about how the algorithem of Robocopy determines whether a file has changed or not. If i use for example the /mir paramter Robocopy must determine which files are ...
1
vote
1answer
370 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
199 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
246 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
404 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
115 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
90 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
1k views

Can Robocopy ensure file integrity?

I am trying to copy a large file, around 10G size, over Internet using Robocopy, but I am a bit concerned about the file integrity. So can I just trust Robocopy to ensure file integrity or I need to ...
0
votes
1answer
107 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
58 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
374 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
231 views

Robocopy copying unchanged files to other server

I have a problem with a robocopy script that is supposed to mirror a directory including the NTFS ACL from one server to another server. It seems that even though no files have changed, the complete ...
0
votes
1answer
595 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 ...
0
votes
1answer
125 views

Robocopy - how to copy the NEWEST file in catalog?

I want to copy one file that is the newest in whole catalog. How to do it using robocopy? I know /xo and /xn options but it doesn't do what I need.
0
votes
1answer
280 views

robocopy from a shared folder using winrm

My goal is to use winrm to connect to a remote machine and then run a robocopy command on this remote machine that results into copying files from a remote shared drive on the network into this ...
0
votes
1answer
546 views

RoboCopy Log Files missing whitespace?

So I'm working on a script to use RoboCopy to copy a bunch of files, and log what it's copied. It works reasonably well, except for the logfiles. They tend to look like this: ...
0
votes
1answer
3k views

Robocopy copying files from source to destination in backup mode and with file security permissions intact

I need to utilize robocopy to mirror files and folders from one shared location to another shared location, in restartable backup mode with security permissions. My current command is: robocopy ...
-1
votes
1answer
44 views

Batch file to copy files from server to desktop according to date

I will explain what I´m trying to get up and runing. I have a folder on the server containing several subfolders and zip archives in those folders. The string of the server is like: ...
-4
votes
1answer
510 views

Robocopy 1326 Error

How to fix Robocopy Error 1326? Unknown username and bad password? I'm trying to back up the files in the workstations without a domain, to put into a file server that is a member of a domain. Any ...
2
votes
0answers
707 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
21 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
37 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.
1
vote
0answers
107 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
192 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
238 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
2k 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 ...
1
vote
0answers
143 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
310 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
12 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
7 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
17 views

Copying directories and files with the same stem using Robocopy

I'm using Robocopy as a TFS task in order to deploy some files. Basically, the behaviour that I want is as follows: I have a directory \\MyDir containing: MyFile1 MyFile2 MyFile3 TestFile1 MyDir1 ...
0
votes
0answers
23 views

create subdirectories with Robocopy /CREATE?

Just got a new hard drive and I was looking for efficient ways to backup all of my data onto the new drive. I came across robocopy and read here that if I use the /CREATE command it will make all of ...
0
votes
0answers
46 views

Prevent percentage complete writing in robocopy logs

When creating a log file for a robocopy operation i find the log file is peppered with lines such as: New File 58492040 ...
0
votes
0answers
335 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
54 views

Copy folder structure on Windows except for one folder with files

I need to copy folder structure without files except for one sub-folder. That is I want to copy the folder structure without files plus only one of the sub-folder to be copied with its content. I can ...
0
votes
0answers
67 views

RoboCopy - Moving Data with Preservation

Robocopy D:\ Z:\c /E /Z /B /COPYALL /DCOPY:T /SECFIX /MIR /SEC /xd "RECYCLER" "$RECYCLE.BIN" "System Volume Information" "Thumbs.db" Some files I get the access denied error even when running as ...
0
votes
0answers
152 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
592 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
136 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
1k views

why does robocopy say this file is older?

why does robocopy say this file is older? Robocopy shows (I think I used /MIR and /L) 2 M:\bk\laptopcopy\pics\ Older 79248 regular-expressions-cheat-sheet-v2.png ...
0
votes
0answers
91 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 ...
0
votes
0answers
179 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
128 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 ...