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

learn more… | top users | synonyms

2
votes
1answer
69 views

Creating a service to run RoboCopy

I'm attempting to put together a batch file that will set up a robocopy task as a service in response to user input. The basic idea being that the user will input MyRobocopyBatchFile.bat sourceFolder ...
1
vote
1answer
34 views

A Robocopy job to copy files from VM Windows 2003 to a windows 2008 DFS Share over WAN

I have the following in a bat file running as a scheduled task on the VM Windows 2003 server robocopy "d:\Folder\Sub folder" "\\prod.local\shareddata\Loc\Folder\SubFolder" /S /R:0 /W:5 /NP /NS /NFL ...
-4
votes
1answer
26 views

Move files with robocopy instead of copy [closed]

robocopy B:\Foo\ D:\890001 /MIR /COPY:DT /FFT Am using the above to copy files from A to B, however I wish to move the file not copy. How can this be done without its function being compromised?
0
votes
2answers
60 views

Robocopy not working for Active Directory snapshot backups

I am trying to automate backups of a Windows 2008 Active Directory database (ntds.dit). Mounted AD snapshots get created in C:\$SNAPxxxxxxxxxx\Windows\NTDS. The script below works for creating, ...
2
votes
2answers
49 views

Replacing a fileserver within a domain

We're upgrading our fileserver running on Windows 2008 R2 Standard, and it's part of a Windows 2008 Domain. We would like to migrate the files over retaining all the permission and later reuse the ...
0
votes
0answers
42 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
50 views

Could the IPG parameter in Robocopy cause TCP/IP packet problems if it is too high?

I need to throttle a robocopy transfer to limit bandwidth usage. It is already set to 1500 (/IPG:1500). I would like to increase this IPG to around 2000 (or more) in order to lower even more the ...
0
votes
2answers
276 views

Robocopy job will run manually but not as a scheduled task

Using Robocopy on Server 2012. I have created a .cmd script to copy some files from a mapped drive to the local machine. The mapped drive is on another server in a different domain and connects with ...
2
votes
2answers
98 views

Robocopy - how to discard timestamps

I'm trying to copy some files to a folder where there are already older versions of those files with the robocopy tool. And in order to differentiate versions, I'd like to set the timestamp to "now" ...
0
votes
1answer
303 views

ERROR 1307 (0x0000051B) - While copying with Robocopy - None of the known sollutions work

I'm trying to copy a folder from one harddrive to another using the folowing robocopy options: robocopy "H:\Source" "T:\target" /E /COPY:DATSO /R:1 /W:1 /DCOPY:T /Z /LOG:T:\Belfirst_copy.log /NP ...
0
votes
0answers
16 views

Copy and Replace files based on destination directory structure

We got the nasty Crypt Locker virus on one of the workstations and it corrupted a bunch of files on the network drive. We have a backup, but it includes all the files till the last backup was taken, ...
2
votes
4answers
136 views

Looking for fastest way to sift through old files

We have multiple file servers where I work containing terabytes and terabytes worth of files. We have no system in place currently for archiving/deleting stale data. My task is to create a script that ...
3
votes
1answer
125 views

NAS Migration: Preserve “Previous Versions” shadow copies

We're planning a forklift upgrade of our NAS and were going to use a utility like Robocopy to move the files over. However we'd like to preserve Windows' "Previous Versions" shadow copies. Any way to ...
1
vote
0answers
49 views

Is file copying limited by free space on C drive?

I have some Windows Server 2003 and 2008 boxes that have files I need to copy that are in the range of 20 GB to 80 GB ranges. The 20 GB files transfer without a problem from one server to another ...
1
vote
2answers
544 views

Can Robocopy be configured to only log the “errors”?

Can Robocopy be configured to only log the “errors”? On a large copy job, I’m really only interested in knowing what files were NOT copied.
0
votes
1answer
134 views

Long 'pause' after copying large files on windows 2008

I have a mystery regarding pauses after file copies on windows server 2088 (and other releases) When copying large files, like vhds, to locally attached USB disks I often see a long pause after the ...
0
votes
4answers
1k views

Robocopy fails in Scheduled task with ERROR 1326 Logon failure

My aim: To simply mirror a database backup directory onto another server Approach: Use Robocopy statement contained in a scheduled task robocopy "C:\MylocalDirBackup" "\\MY.IP\DatabaseBackupsShare" ...
3
votes
5answers
160 views

How can I take a one time full backup of a Windows Server without the need for a restore program?

I have a Windows SBS server with about 500GB of data that I'm decommissioning but I'd like to take a final backup of the server and place it on an external USB drive. I already have multiple backups ...
4
votes
1answer
1k views

Combining RoboCopy with FtpUse

Our clients need to transfer specified files from their network to ours through FTP. The transfer must be invoked automatically whenever one of the specified files changes. For this purpose, RoboCopy ...
0
votes
1answer
104 views

Copy Files/Folders on Windows Volumes Created from Mac

We are trying to migrate storage from one volume to another, and we are running into problems with folders and files created from Mac OSX. The current file storage is on windows, and unfortunately ...
0
votes
1answer
33 views

Copy directories modified by specific users within a certain time frame from an FTP [closed]

I am trying to cleanup a 12TB Windows FTP with several million files. Basically, I want to keep the directories that are still being used by a specific subset of users who had access, and only keep ...
0
votes
1answer
115 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 ...
0
votes
0answers
95 views

Robocopy: /maxage not working?

I'm running robocopy on a huge directory. I can safely ignore about 99% of the data -- everything more than 10 days old. So I tried this: robocopy sourceDir \\1.2.3.4\destDir /s /MT:32 /NP /MAXAGE:10 ...
0
votes
0answers
93 views

Copy lots of files and symlinks for Windows Server to another

I have a quite nasty problem with a simple task: copying files from an old file server to a new one. A short description of the situation: The old server is W2k8 R2 and hosts about 25 TB of data, ...
1
vote
1answer
169 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 ...
1
vote
1answer
134 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
590 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
113 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 ...
0
votes
0answers
132 views

RoboCopy - Migration of Certain Folders Only?

I am migrating directories from one single share that has all directories located into a new folder structure that will be by letter. I want to move the folders as they are. I want to move all the ...
1
vote
1answer
120 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 ...
1
vote
1answer
1k 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 ...
0
votes
0answers
84 views

Which version of ROBOCOPY should be run on Windows Server 2003 SP2 (non-R2)?

I realize the version that comes with Win2k3sp2 is pretty old now. Is it wise to run a later version of ROBOCOPY, or will there be compatibility issues and it's best to stick with the original? If ...
0
votes
0answers
105 views

Why should ROBOCOPY (XP026, the Windows Server 2003 version) work better through a mapped drive than local?

This page suggests that mapping a local drive to a network drive and using the network drive will help with permissions issues. This doesn't make sense to me, because: ROBOCOPY /B is supposed to ...
0
votes
1answer
100 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 ...
3
votes
2answers
1k 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
638 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
309 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 ...
1
vote
1answer
98 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
105 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 ...
0
votes
0answers
205 views

Robocopy Log Size Too Big

I am running a robocopy script that mirrors 1 drive to another computer, and is using the /MOT flag to stay in memory and every few hours maintain the mirror. The script is also set to create a log ...
1
vote
1answer
423 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 ...
1
vote
3answers
951 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
291 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
440 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
205 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
572 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 ...
2
votes
1answer
231 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
397 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
217 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
161 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 ...