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

learn more… | top users | synonyms

2
votes
1answer
1k 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
346 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
1k 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
329 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
1k 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
291 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
188 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
62 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
192 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
2k 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 ...
4
votes
2answers
9k 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
642 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
492 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
199 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
245 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
7k 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 ...
2
votes
4answers
11k 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
251 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
506 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 ...
0
votes
3answers
2k 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
1k 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
4k 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
2k 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
191 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 ...
5
votes
3answers
581 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
234 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
1k 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
267 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
2k 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
2answers
5k 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
163 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
2k 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
109 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 ...
3
votes
1answer
803 views

Why does robocopy take 8 hours to transfer one files that is 70-80gb?

We have a scheduled task that runs every night and copies a file of around 70-80gb from one server to another on our network. For some reason it has been taking ~8 hours to do this, which is a problem ...
0
votes
3answers
4k views

How to use robocopy to move Users folder from partition c to d on Windows 7?

I just tried to copy my Users folder from partition C to partition D using the method mentioned in this post. Unfortunately I encountered two problems: When using the command robocopy c:\Users ...
2
votes
3answers
449 views

Best way to rsync a win2003 on linux

I'm currently dealing with a Windows 2003 (web) server, definitely not my cup of tea. The target is to download and keep synchronized some folders (~55GB) with a linux server. The windows server is ...
2
votes
1answer
916 views

Robocopy falsely marks files as newer

I have two NTFS formatted drives on different machines and I do a robocopy mirror between them like this: robocopy "D:\My Documents" "X:\Backup\My Documents" /MIR /V /NP /XD .* /XO /XA:SHTO /FAT /Z ...
0
votes
2answers
676 views

Robocopy - Change Modified Date

I'm copying a file over to another directory and was wondering if Robocopy can change the modified date to the date it copied the file over in the new directory. I haven't been successful playing with ...
1
vote
1answer
894 views

Rsync from CIFS mounted Windows shares is slow. Why is this? Are there alternatives for file copy with checksum support?

I have found that using Rsync to transfer files from CIFS mounted shares resident on a Widnows client is extremly slow. I have read a few threads here on SF, and several other forum posts on the web, ...
0
votes
1answer
2k views

How to sync web site files cross Windows Web Server 2008 R2 servers in realtime?

I have a web site generating files at runtime, this web site is deployed on 2 servers Operation system, Windows Web Server 2008 R2. I am looking for a manner to sync the changed and new files from ...
4
votes
1answer
17k views

How do I get robocopy to use a log file which includes spaces?

I'm trying the following command: robocopy "x:\dir" "y:\dir" /mir /z /tee /fft /nfl /ndl /eta /log:"x:\path to logs\12-15-11 01 file with spaces.txt" I'm getting this error: ERROR : Invalid ...
0
votes
1answer
381 views

Bulk file copy while limiting disk utilization?

I saw that Robocopy can limit network bandwidth in this answer How do you limit the bandwidth for a file copy? I have plenty of bandwidth on the LAN, but I don't want to saturate the disk on the ...
6
votes
3answers
3k views

How to properly migrate file server data?

We are in the process of decommissioning our old file server in a much-needed upgrade. It goes without saying that this needs to be as seamless as possible, as to affect the end-users as little as ...
3
votes
2answers
5k views

Completely silent robocopy

I'm trying to robocopy some files silently. Right now, I have robocopy putting everything into a log file, which is fine, but after it finished, Log File: C:\<logfiledestination> is printed. My ...
2
votes
1answer
520 views

Copying File into hidden folder

I'm attempting to copy a URL link for our companies library system onto all users workstation desktops. I've tried creating a shortcut via Group policy: User Configuration > Preferences > Windows ...
1
vote
1answer
486 views

Is it possible to use robocopy to sync host files across multiple Windows servers?

Would it be possible to use robocopy to copy the host file from one server to multiple servers (less than 10 total)? We have servers that rely on having identical host files and this would be ...
2
votes
5answers
4k views

How do I use robocopy to list all files over a certain size recursively?

I feel quite silly, since robocopy is server administration 101; but I seem to be having a problem listing files. I desire to list all files over 10MB in size in the directory and subdirectory. ...
1
vote
1answer
1k views

How to copy junction points on Windows XP?

I have tried several different tools in order to be able to copy junction points on Windows XP but none of them copied the junction point as junction point. All programs I have tried so far are ...
3
votes
1answer
5k views

Wildcard directory exclusions with robocopy — weird case

I need to get robocopy to exclude any file whose path contains a directory with a particular name. For example, "bar": c:\foo\bar\a.txt c:\bar\c.txt d:\baz\bar\flub\d.txt should be excluded, but ...