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

learn more… | top users | synonyms

1
vote
1answer
674 views

robocopy - if a folder is excluded, but then removed from the source, it is removed from the destination also

I have a robocopy script that uses /xd to exclude some folders in a /MIR copy which works well unless I delete the folder from the source - in which case it does not exclude the folder, it includes it ...
4
votes
4answers
16k views

Robocopy failure with Windows Server 2008 Scheduled Task

So I have a batch script for robocopy. Running this from the command line does exactly what I want. robocopy "D:\SQL Backup" \\server1\Backup$\daily /mir /s /copyall /log:\\lmcrfs4g\NavBackup$\...
3
votes
3answers
6k views

Using ROBOCOPY to MOVE data around, not copy it

I have the following powershell script, which executes a few robocopy commands: ROBOCOPY.exe $q3 $q4 /R:5 /W:15 /S /NP /MT:32 /XA:SH /XJD ROBOCOPY.exe $q2 $q3 /R:5 /W:15 /S /NP /MT:32 /XA:SH /XJD ...
2
votes
3answers
3k views

good, free undelete for windows? [closed]

I was using robocopy and accidentally included the /MIR command which deletes everything on the destination drive which isnt in the source - face palm is findNtfs my best option? Ive had luck with ...
1
vote
2answers
11k views

Force ownership of folder structure without replacing other permissions - Windows Server 2008 R2 - takeown is erasing all other permissions

Logged on as local Administrator. Trying to put Administrator as owner of all files and folders on a drive. The drive contains an existing folder structure with securities/permissions/acls copied from ...
1
vote
5answers
4k views

Robocopy silently missing files

I'm using Robocopy to sync data from our server's hard disk to an external disk as a backup. It's a pretty simple solution but pretty much the best/easiest one we could come up with - we use two ...
0
votes
1answer
650 views

Checking the network connectivity stats for slow file transfer using Robocopy

I am trying to transfer a 6.5 GB file between two Windows Server 2003 machines on our network. Using Robocopy //sourceserver1 //destinationserver2 filname /z is making the file transfer crawl and ...
0
votes
1answer
4k views

How to use robocopy and zip destination folders?

All sources are on windows OS, and destination backup is on Unix system (we are using Samba). My source repository is similar to : -Repository --Folder1 ---Files --Folder2 ---Files etc... I would ...
4
votes
2answers
23k views

Scheduled Robocopy task fails with 0x10 error

I'm trying to schedule a file-sync between two dedicated servers on a LAN. The remote machine is running Windows Server 2003 and the local machine is running Windows Server 2008. I mounted the remote ...
2
votes
2answers
346 views

what is the best way to copy and replicate data

I have two HP Proliant DL160 G5s. One is currently in production (we'll call it NAS01) and the other (we'll call it NAS02) is built to the same config and almost ready to go. What I will be doing is ...
17
votes
11answers
85k views

Robocopy: How to move the content of a directory but KEEP the directory

Simple task: Move all the content of the directory c:\Users\files\Desktop\test 2 to c:\Users\files\Desktop\test 1 C:\admin\temp>robocopy "c:\Users\files\Desktop\test 2" "c:\Users\files\Desktop\...
3
votes
1answer
2k views

Hudson copying files with Robocopy

I have hudson setup on a CI server, I'm using robocopy to copy files across to a webserver. I'm having some problems with exit codes. Robocopy reports so many different exit codes for success and ...
3
votes
4answers
3k views

Robocopy hiding folders on backup drives

I have a backup batch file that uses Robocopy to backup my files (note this example contains newlines that you should remove): robocopy "C:\" "G:\Default\RoboCopyBackup\C" /XF Pagefile.sys /XD "...
4
votes
1answer
11k views

RoboCopy fails with “the specified network name is no longer available”

We have a scheduled task that runs robocopy periodically to mirror a rather large folder structure from one server to another (thousands of folders, 100,000+ files, 50+ GB in size). There is a share ...
1
vote
4answers
3k views

is ROBOCOPY a good form of backup as a tool?

seeing how it does not do a write verify unless scripted (or is it needed?) is it a decent option to dump a few folders to another server? i am just worried about whether the data, after being copied, ...
2
votes
5answers
7k views

Alternative to robocopy /MIR

We run a number of web apps that store a lot of local data in small xml files. One part of our backup / recovery strategy is to produce a local mirror of the file system via a VPN to the hosting ...
20
votes
7answers
60k views

How to get robocopy running in powershell?

I'm trying to use robocopy inside powershell to mirror some directories on my home machines. Here's my script: param ($configFile) $config = Import-Csv $configFile $what = "/COPYALL /B /SEC/ /MIR" $...
1
vote
1answer
564 views

Overriding destination directory from ROBOCOPY Job file?

I am using Robocopy for backing up my project directories to an external disk, and it works like a charm. Except for one little issue: sometimes, I wish I could override the destination directory ...
2
votes
4answers
7k views

Robocopy really slow across LAN

DISCLAIMER: I'm a programmer, not an admin! I am setting up web apps in a new server cluster and copying files using xcopy or robocopy and UNC paths between servers on the same subnet is really slow. ...
0
votes
1answer
1k views

How do I know if robocopy skipped the file I am copying?

I am using a batch file to copy a database backup file using robocopy (on Windows 7/2008) and need to restore (with replace) the database only after the backup file is really changed (not skipped by ...
3
votes
3answers
4k views

RoboCopy errors on Windows Server 2008

I am getting bizarre error with RoboCopy in Server 2008. It will randomly hang with "The specified network name is no longer available." error. Once that happens, it will continue to fail on the ...
3
votes
3answers
1k views

Copying large amount of data between volumes on Windows 2008, fast method?

I need to copy data from/to very large volumes (2TB) on a Windows 2008 Server. Are there any tools I should consider using that maximizes throughput (hopefully with a resume-function)? I've always ...
3
votes
1answer
5k views

Get robocopy to copy completely silently

Is it possible to run robocopy in some sort of "completely silent" mode?
3
votes
5answers
20k views

Server 2008 robocopy access denied to user folders + /B error I don't understand

This is a two-parter. A) Trying to do this in server 2008, with command being run by domain admin: Robocopy \server\c$\users D:\backupfolder /MIR I get "Access Denied" on all files in the user ...
1
vote
3answers
2k views

RichCopy - Suppress Splash Screen and Run Quiet?

RichCopy looks to be a great tool with some features that RoboCopy lacks. I'm trying to use it to back up media on a Home Media Server project I'm working on so I need to be able to run it from ...
0
votes
3answers
1k views

How to abort robocopy on first error

When using robocopy windows utility, what flags do I set so that robocopy aborts on the very first error it sees, similar to xcopy /dry command? I need to mirror two dirs, and on occasion some files ...
10
votes
3answers
19k views

Exclude only some files with the same name when copying using robocopy

I have a directory structure like this: folder1\ help.txt folder2\ help.txt folder3\ help.txt ... I want to copy the contents of folder1 using robocopy. For example: ...
0
votes
3answers
429 views

1GBit copy throughput, protocol independent

I've a question which bothers me since quite some time now. I have several environments and servers. All of them are connected to 1 Gbit ethernet swiches (e.g. Cisco 3560). My understanding is, that ...
0
votes
3answers
2k views

Copying files with permissions

We have a new Windows 2008 server and want to transfer over our old files. Tried using Robocopy with /E /SEC /COPYALL, but did not do anything, RichCopy copies the files between the computers but does ...
14
votes
6answers
25k views

The Job and Monitoring Options of RoboCopy

What does the Job Options of RoboCopy do? And what exactly does the /MON and /MOT switches do? How can I use them? I don't understand them, and can't find any examples on how to use them. /MON:...
5
votes
4answers
21k views

Why does RoboCopy create a hidden system folder?

I thought I would try out RoboCopy for mirroring the contents of a folder to another harddrive. And seems like it worked. But, for some reason, to see the destination folder I have to both enable Show ...
2
votes
3answers
8k views

Schedule robocopy run

I have Windows Server 2008 Enterprise. I need to copy files from network folder, I connected as a Z: drive. I need to schedule the copy. In scheduler I run it every 5 minutes. robocopy.exe Z:\ C:\...
59
votes
4answers
117k views

robocopy transfer file and not folder

I'm trying to use robocopy to tranfer a single file from one location to another but robocopy seems to think I'm always specifying a folder. Here is an example: robocopy "c:\transfer_this.txt" "z:\...
1
vote
7answers
29k views

Where can I find ready to use windows scripts that used robocopy?

We are installing the Windows Resource Kit, and that installs RoboCopy. We want to have access to a few windows scripts that uses RoboCopy so we can start from those to build something else. Any ...
0
votes
8answers
773 views

Robust file-copying utility

I'm looking for a file copy utility that allows me to control what files and directories are to be copied specifying rules like: IF source-file-date IS GREATER THAN target-file-date THEN overwrite IF ...
2
votes
2answers
608 views

How to avoid locking mysql tables with Robocopy

Some clients of ours complained about robocopy failing badly and locking tables, has anyone had any experience with running robocopy on a potentially active database? Could anyone explain the /b ...
4
votes
6answers
2k views

Looking for a faster way to transfer file to a windows network share

Update: This is just for one way transfer. No need to sync. I am currently using Robocopy to transfer a huge file which is zipped and send to a remote network share. Is there a faster tool? Lately, ...