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

learn more… | top users | synonyms

1
vote
0answers
20 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
votes
1answer
42 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: ...
0
votes
1answer
34 views

Sync local files to S3 similar to Robocopy

I am looking for a way to synchronize an entire local folder structure to Amazon S3, similar to how one might synchronize two folders using Robocopy. Whatever solution I come up with needs to be ...
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
1answer
39 views

Robocopy with 300,000+ files

We have a network appliance for our shared storage. We have a fax application that dumps faxes into a single, incoming, directory. We want to start archiving files older than X days. Currently, there ...
0
votes
1answer
77 views

“Copy but keep both files” but only for files with different timestamps

I'm trying to consolidate 5 very similar but slightly different tree structures into a single one but not lose any modified data. So, I need a solution that will: 1. Copy files that exist in the ...
2
votes
1answer
170 views

Robocopy copy only changed files to new folder

I'd like to create a backup such as the following: C:/backups/20140101/ All files from source folder C:/backups/20140102/ Only files changed since last backup C:/backups/20140103/ Only files ...
0
votes
0answers
22 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
1answer
61 views

robocopy using parent folder name

I have a small batch file that uses robocopy to backup a folder. The intended action is for it to copy C:/users/public/ into D:/Backups/YYYY-MM-DDTHHMM/ At present, it copies the files into a folder, ...
1
vote
2answers
392 views

Batch file, skip a step if an error occurs

I'm trying to write a script that automates copying some files from two external locations using Robocopy. I want the script to skip a step if one of the locations is unavailable. I'm using the ...
1
vote
1answer
106 views

Need to create a robocopy in Powershell 1.0

My ultimate goal is to mirror a folder and its subdirectories with the restriction of only copying files with the extensions, sln, vcxproj, cs, cpp, hpp, c, and h. There are far too many subfolders ...
0
votes
1answer
29 views

Monitor or record a robocopy operation

I have a robocopy command that backs up a folder containing over 200K files into another folder called Backup. Lately, I notice that the backup is now taking additional 1hr to complete even though the ...
0
votes
1answer
365 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 ...
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
votes
1answer
116 views

Robocopy misunderstanding of destination folder

I want to create a simple script to move the entire contents of a folder up in the parent directory, and insert it in the context menu. Here is the script. I'm trying to understand how robocopy ...
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 ...
1
vote
4answers
2k views

ROBOCOPY Copying directory from remote computer: error 'the network path was not found'

I am trying to copy a folder from a remote computer using ROBOCOPY I'm using the following: NET USE \\192.168.10.90\IPC$ /u:server\[username] [password] ROBOCOPY \\192.168.10.90\home\lgr\ ...
1
vote
0answers
106 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
1answer
439 views

Robocopy options in windows 8.1

I am trying to copy 1TB of data. I want to copy everything possible, what kind of Robocopy options are recommended in this case? I use: /E = copy all all subdirectories including empty /dcopy:T = ...
1
vote
1answer
48 views

File copy software that first checks for errors and than copies only undamaged files? [closed]

I'm trying to copy files from a damaged HDD to a fine one (both connected via USB 3.0 under Windows 8.1) but I'm having a hard time since it's more than 1TB of data. I'm using robocopy with r:0 and ...
3
votes
1answer
315 views

Windows 7 Delete heavily nested folder structure

I was running a node script that went awry and created a folder structure like so: \myfolder \myfolder \file.txt \myfolder \file.txt \myfolder ...
2
votes
1answer
24 views

Trying to pseudo-sync 2 computers - why folders renamed?

Trying to pseudo-sync 2 computers - why folders renamed? Windows 7 - new computer Vista - old computer I create a new folder OldComputerDesktop in C:\Users\joeblow. I execute this: robocopy.EXE ...
1
vote
3answers
316 views

Looking for a way to copy a file that does not lock the file being copied

I am aggregating together data that is being generated at a bunch of disparate sources, in a mixed environment of various versions of windows (xp/7) and one linux (centos). The data is available via ...
0
votes
1answer
112 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 ...
1
vote
0answers
187 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 ...
0
votes
1answer
89 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 ...
3
votes
1answer
41 views

Does robocopy make a local copy of the files?

I have a seagate NAS which I access over a shared folder. I also have 3 computers with a shared folder. I want to backup files from the 3 computers to the seagate NAS. I cannot run those tasks with ...
0
votes
0answers
45 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
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
0answers
326 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) ...
1
vote
1answer
77 views

Robocopy Issues

I try to backup my data with robocopy but having some problems with that: First thing is, that robocopy copys files that already exists and hasn't been changed. Also the output looks horrible if it ...
1
vote
1answer
581 views

Robocopy /XD Won't Work With Relative Paths

I am trying to run a robocopy /MOVE command but exclude a couple of sub-directories specified with the /XD flag. robocopy ".\CurrentDir" ".\NewDir" /XD ".\CurrentDir\SubDir1" ".\CurrentDir\SubDir2" ...
1
vote
3answers
179 views

Sync Only New Files

I have a large collection of photos. I only want to sync the latest (in my case right now 1 year) to a laptop. I have tried syncovery and Goodsync without seeing any modifiers that would only select ...
0
votes
0answers
52 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 ...
1
vote
1answer
360 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 ...
0
votes
0answers
66 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
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
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. ...
1
vote
1answer
307 views

RoboCopy Log File Analysis

Is it possible to analyse the log text file outputted from RoboCopy and extract the lines which are defined as "New Dir" and "Extra Dir"? I would like the line from the log contain all the details ...
0
votes
2answers
215 views

Robocopy mirror erasing files from excluded directory

I'm using robocopy (v 5.1.10.1027) to transfer files to my dev server through a network share. I'm using the /MIR option to make sure extra files get removed in case I rename something. There are ...
0
votes
1answer
105 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
0answers
578 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 ...
2
votes
2answers
4k views

Why can't a Task Scheduler job access a mapped network drive?

I have a Task Scheduler job to run Robocopy for backing up local files to a network share. I have to use domain credentials to access the network share but the local computer is not on the domain, and ...
0
votes
2answers
666 views

Copy Files from One Drive to Another and Keep Hard-Link in Windows

I have drive A: with 16G Space and plenty of files, due to the Hard-link feature in NTFS, the files together is 15G but only takes 2G of real space. I like to copy all those files to drive B: which ...
0
votes
1answer
57 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%" ...
-4
votes
1answer
504 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 ...
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
2answers
246 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. ...
2
votes
1answer
91 views

How can I clone a directory structure with symbolic links (in-tact, also duplicated)?

We use Kiln for our source control; and back it up by copying the KilnRepositories folder to another (local) drive while the services are all stopped, and then on to a network drive afterwards (the ...
0
votes
1answer
226 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 ...