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

learn more… | top users | synonyms

0
votes
1answer
145 views

Copy over lan : best way to segment copy?

I do not really know where to post my message. Networks or system or scripting, so ... I have a requirement in my company. Here is the goal : Monthly I'll have to copy a package> 500MB on 25 ...
1
vote
1answer
622 views

Robocopy and NTFS Permissions

If as an administrator I remove all permissions from a folder - and set the owner to another user in Active Directory, I will not be able to copy that folder through explorer to another folder/drive ...
2
votes
2answers
1k views

Roaming Profile Permissions and Migration

Currently a client as 2003 DC and we are migrating them to a 2008R2 on a 2012 Hyper-V Host. They have a handful of roaming profiles - but with the usual setup - i.e. the only permissions on the actual ...
0
votes
0answers
3k views

Reasons why Robocopy would skip a folder and not write it to the log file

I'm in the process of trying to troubleshoot a Robocopy job on Windows 2008 R2 SP 1 where the job states that a folder was skipped in the copy process (at the end of the copy job) yet does not show 1) ...
0
votes
1answer
778 views

How many threads is robocopy really using?

I'm trying to copy a huge number of small files (30M x 150k) from one server to another over a network, like this: robocopy sourceDir \\1.2.3.4\destDir /s /MT:32 /NP /LOG:d:\robocopy.log The copy ...
1
vote
1answer
851 views

Minimum level of access required for service account to run a scheduled task on server?

We have 2 domain administrator accounts in Active Directory: "Administrator" and "Robocopy". Robocopy is a service account associated with a scheduled task which executes a batch file- which runs ...
2
votes
2answers
8k views

Scheduled robocopy fails with error 3 (Creating Destination Directory)

Related: Scheduled Robocopy task fails with 0x10 error I'm using robocopy as part of a server backup script. It fetches the files to this workstation (Windows 7, upgraded from Vista - that caused ...
2
votes
1answer
6k views

How do I use robocopy with a large number of excluded files?

I want to use robocopy to move a large number of files, except those that are in a whitelist. The whitelist contains approximately 150 files of different names. When I copy-and-paste the whitelist's ...
4
votes
3answers
5k views

Why did robocopy cause my Windows 2012 server to hang last night?

I'm in the process of decommissioning an old 2003 server, which acts as a file server, and am just attempting a dry-run of migrating the file repository over to a new Windows Storage Server 2012 box. ...
1
vote
1answer
2k views

Copy and Move Files from One Server to Another on Windows Server

I was asked to jump in and fill in for a colleague and write a Windows script that will run on server #2 and do: 1) Connect and authenticate to remote server #1 from server #2 2) Copy only files ...
0
votes
1answer
835 views

Using RoboCopy on multiple destinations with monitor option

I am trying to copy a shared folder which its content (folders and files) are created by a third party app at no specified intervals. I need to copy these files onto two different server shares. The ...
2
votes
1answer
633 views

robocopy mirror, but do not use timestamps

Is it possible to use ROBOCOPY to mirror a directory, but ignore the sources timestamps? I've tried the following: robocopy \source\folder \destination\folder /MT:16 /PURGE /COPY:D /E But once I ...
0
votes
1answer
157 views

cloning windows server 2008 OS drive to smaller drive using Robocopy

I'd like to clone a bootable OS disk using robocopy. The source drive is larger than the destination, but with plenty of free space. Is it possible, and if it is, what do I need to keep in mind to ...
1
vote
1answer
2k views

Robocopy won't copy from root folder

I'm having trouble with robocopy. It won't copy from "X:\files\". It just kills the batch file without writing anything to log, but it WILL copy from "X:\files\other files". Where "other files" is ...
2
votes
3answers
4k views

Robocopy Server 2003 does not support the /mt option

I am doing a rather large transfer (8TB) from inside our network to another network share. Most of the files are ranging anywhere to .1 MB to 15 MB. The machine that I need to do the copying on is ...
0
votes
1answer
683 views

Robocopy mirror to Samba keeps rewriting files

We have a Samba share to which I am copying files with robocopy /mir. Problem is the next time I try and sync that with robocopy /mir it copies all files again even though they haven't changed. I ...
2
votes
1answer
4k views

Robocopy uses relative path for Source and Destination paths

I'm trying to use RoboCopy in my TFS Build Template to copy some files, but for some reason it inserts "C:\Windows\system32" in front of my Source and Destination paths, even though I am passing in ...
0
votes
1answer
539 views

Robocopy for Microsoft Access Files MIR switch

We are using robocopy with MIR switch to backup our Microsoft Access Databases, i.e., .accdb, and .mdb files. Interesting thing with Access database files is that you can open a database, add a few ...
1
vote
2answers
2k views

RoboCopy A File From The Web?

Is it possible to download a file from the web using RoboCopy? What would the syntax for that be? Here's what I'm trying: RoboCopy "http://www.google.com/" "C:\some_folder\" "index.html" /L /V /E ...
3
votes
2answers
467 views

Robocopy exclude directory in recursive file structure

This seems to be a popular question on the net, but everyone else seems to be OK with being able to specify only a portion of the full path in order to achieve a sort of wildcard. I need to be more ...
2
votes
1answer
2k views

Mirror directory, only purging files in destination directory older than 7 days

I would like to mirror a directory, but only delete files in the destination directory older than 7 days. Situation: - Directory A is mirrored to Directory B. - A file from Directory A is deleted ...
2
votes
2answers
356 views

Robocopy with local catalog of remote data for incremental backup

I am currently using robocopy to an extremely slow destination. The compare between source and destination files can take a while to run through. Since the destination will never change (apart from ...
1
vote
1answer
211 views

Exceptional slowdown of robocopy copying from VM to DFS array

I've got an old win 2003 VM (VMware) on a blade cluster of VMs that I'm moving a considerable amount of files to our new DFS array. There are two main folders with about 1.7 million and half a million ...
3
votes
1answer
77 views

Robocopy Blow Away and Recreate?

I have a question about ROBOCOPY which I have not been able to iron out in my research. When copying directories recursively with the /E flag and where the directory already exists at the target, ...
0
votes
1answer
335 views

Robocopying DLLs and EXEs

I've used Robocopy for several years now for backup purposes, and never looked back at any backup application I used in the past. I replicate whole valued directories to a removable HD, than from ...
0
votes
2answers
3k views

Looking for robocopy ipg number

I have a robocopy job that creates a problem every time it runs. It saturates the bandwidth in such a way that no other traffic can get through. I read about the /IPG flag but am going in circles ...
9
votes
2answers
17k views

Can Robocopy be made to skip open files?

We are using Robocopy to redistribute files which arrive via FTP in a drop folder. Ideally we want Robocopy to leave files alone if they are still being FTPd. Having tried various switches, Robocopy ...
-2
votes
1answer
931 views

Robocopy is moving files really slowly

I've had Robocopy running for about 24 hours now...it's moving 2.6million images across a network, and is probably less than 10% of the way through. Is there a faster way to do this?
-1
votes
1answer
861 views

robocopy advantages and disadvantages [closed]

Could you, please, list what do you think that are main advantages and main disadvantages of robocopy? Thanks.
1
vote
1answer
240 views

Backup/copy open files from network share on a NAS device

We have several network shares mapped via DFS (Windows Server 2008 R2) on external NAS. That NAS is simple and doesn't support snapshots. We are making backup from the NAS via robocopy but from time ...
0
votes
1answer
391 views

User home directory being deleted from the source

Here is our scenario, we used robocopy to copy over our file server to a new & improved server. We changed the home directory path in AD to reflect the changes. We updated our AD to reflect new ...
4
votes
1answer
10k views

Robocopy, do not overwrite existing files, but copy the changed / new ones

Is it possible to mirror the two directories without overwritting the files in destination directory with new/changed/deleted files. Something like snapshots. Example: Copy the source directory with ...
4
votes
3answers
17k views

How do I use Robocopy to exclude ALL subfolders under a chosen folder?

I'm trying to use Robocopy in a way that excludes all subfolders under a chosen folder. In other words, I only want to target a folder and robocopy only the files within it but not it's subfolders. ...
0
votes
1answer
270 views

Robocopy to copy each source subfolder to different destination folder

I have a folder structure like this: Source C:\Data Data1_timestamp Data2_timestamp Data3_timestamp Data4_timestamp Destination D:\Data Data1 Data2 ...
2
votes
1answer
707 views

Robocopy copies folders but not files

I'm using robocopy on a Windows Server 2008 R2 SP2 machine with the following options: robocopy W:\ E:\old_files\daten1\ /R:1 /W:1 /MIR /COPYALL /ZB /DCOPY:T /MT 50 /LOG:E:\old_files\copy_w.txt ...
1
vote
3answers
5k views

Robocopy and permissions

I have this issue, I am trying to copy home directory from one server to another using robocopy. Now, my issue is, would robocopy be able to bring over all the permissions as well? Here is the ...
2
votes
2answers
3k views

Robocopy MINAGE and MAXAGE

What attribute dose Robocopy look at when applying those flags? data created or updated? If I a group of files is created and later one of them is updated if I run Robocopy with a later date range ...
14
votes
3answers
5k views

On Windows: is it safe to do a robocopy in order to clone the system?

Let me start by giving a bit of a background. On Linux systems, I frequently rely on the fact that as long as I can get all files over from one hard drive to another, and as long as I fix up the boot ...
2
votes
2answers
3k views

How to detect robocopy's failure to delete from source?

On my SQL Server instance I use SQL Agent to run a daily backup job in two steps. One of the steps uses Robocopy to move local backup files to network storage. The command to move the files looks ...
1
vote
1answer
206 views

Full backup, files copy or VSS for disk replacement on a Windows 2003 server?

I have to replace all disks of a Raid 5 volume for more space on a Windows 2003. I want to see what is the more reliable method to backup or move data of this volume (about 800 Gb). In first I was ...
6
votes
3answers
721 views

Backup with Mercurial and Robocopy?

The Problem We would like to backup our critical files from several network shares to a removable hard drive. We want to automate the backup so we don't have to remember to run it. It needs to ...
0
votes
1answer
267 views

rsync (or robocopy) from multiple computers - what happens?

If a Linux server has two different rsync jobs nightly for the same folder to two different destinations, do both destinations end up with the same end set of files? Or does the first job run, and ...
2
votes
4answers
2k views

Clone a windows server volume over a network — NOT make an image

I have a 5TB volume (non-bootable) on a Windows Server 2008 box. I need to copy it to another server over the network. Because the volume has 30 million files, filesystem copy tools like robocopy will ...
0
votes
1answer
321 views

Robocopy exclude folders/subfolders containing a file named nobackup.txt

We backup a large directory structure but want to exclude some directories. Is it possible to exclude subfolders when the parent folder contains a file named "nobackup.txt"?
0
votes
3answers
3k views

Recovering from incorrect robocopy /MIR using NAS drives

Yes I know how stupid I've been and will severely chastise myself once this has been resolved. Just to be clear, I've done a robocopy using the /mir switch and files not present in the source have ...
1
vote
3answers
9k views

Copying files to a different domain, where no trust relationship exists

I have the the following setup. 1 x host machine situated in DOMAIN A 1 x PDC in a VM running on a host only network adapter running its own AD Forest (DOMAIN B) 1 x Server running in DOMAIN B, this ...
3
votes
1answer
175 views

Robocopy: Why you no include same?

So here's my script: robocopy X:\WebApplications\Harrier\Stage X:\WebApplications\Harrier\production /is /e /xf: web.config robocopy X:\WebApplications\Osprey\Stage ...
3
votes
1answer
3k views

Exchange DiskShadow/Robocopy backup does not purge log files

I have a series of scripts setup to backup my Exchange. The following command is executed to start the process: diskshadow /s C:\Backup_Scripts\exchangeserverbackupscript1.dsh This is ...
2
votes
1answer
116 views

Robocopy and Mercurial

I recently took a new job, and one aspects of the job is maintaining the organisation's Umbraco website. The site was not under source control nor was there a testing environment. Changes were made ...
1
vote
2answers
4k views

Do Robocopy copy efficiently large files?

in our small sized company we use Vmware. We backup the VM with Veeam. Resulting files are in order of 200-300 gigabyte per VM, for a total of 1/1.2 terabyte of data. I use robocopy to copy VM files ...