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

learn more… | top users | synonyms

0
votes
0answers
34 views

Using Robocopy to copy only missing and older files

A few days ago I added a new member server to a DFS folder replication and refferal, DFSR started the initial replication. Yesterday I got an event in the logs from DFSR (4104), telling the initial ...
3
votes
1answer
92 views

Move, and split up, 5TB of data

Here is the scenario: I have 5 TB (yes, that's a T) of files on a Windows server that I need to migrate to a new server in as short and efficient time as possible. (Think: Robocopy, Rsync, etc as I ...
1
vote
3answers
88 views

Fastest way to mirror directory over network

I am looking to speed up my deployment process, currently I have a single staging server, and a web-farm in production. I currently use robocopy to mirror each web-farm server from the staging ...
0
votes
0answers
77 views

How do I make robocopy over WinRM behave like over RDP?

I'm trying to use robocopy to sync two file shares on computers NAS001 and NAS002. To check what files should be synced, I use this command while connected to NAS001. robocopy G:\Software\SQLServer ...
0
votes
1answer
186 views

robocopy says its receiving invalid parameters in when used in powershell script

I'm attempting to use robocopy in a PowerShell script, but currently failing. When I run the following command manually robocopy \\corporatesystem00.local.com\C$\Maven\ ...
5
votes
1answer
198 views

How to get robocopy summary information involved in powershell?

I have a quick script written to compare file differences across servers, and then give a prompt for whether to mirror the changes. I'd like it to intelligently NOT prompt for copying if there aren't ...
2
votes
1answer
46 views

Robocopy Ext USB HD to Server 2008

I tried copying data from an external usb drive to my W2008 server, g:\parent_directory d:\server_shared\parent_directory. Unfortunately, I picked the "copyall" paramenter which copies over D=Data, ...
0
votes
0answers
28 views

robocopy, robocopy with multithreaded option

i want to move folder structure from one location to another location "\ASDFS\ASDFSD\234234" to "\23423\SDFSDF\ASDFSDF" "\ASDFS\ASDFSD\234234\UIOUI" to "\23423\SDFSDF\ASDFSDF\TYUTYU" ...
0
votes
0answers
21 views

Duplicating a complex folder structure with only shortcuts

There are 2 shared drives. One of them has a very complex folder structure. I would like to replicate the entire folder structure of Share 1 to Share 2. However I don't want to make duplicate files, ...
0
votes
1answer
62 views

Robocopy files to different destinations - per file

I'm trying to mirror a direcory with images to a set of detination folders, where each folder receives only a part of the source directory. Example say the source contains 10 images: 1.jpg, 2.jpg, ...
2
votes
1answer
580 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
149 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
73 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
217 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
90 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
85 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
85 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
1k 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
280 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
2k 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
22 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
310 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
255 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 ...
2
votes
1answer
70 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
3k 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.
1
vote
1answer
405 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
3k 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
205 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
3k 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
251 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
51 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
122 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
327 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
2answers
374 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
2k 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
384 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
339 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
2answers
3k 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
1answer
705 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
2k 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
1k 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
583 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
207 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
131 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
835 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
2k 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
463 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
964 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
316 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 ...