Questions tagged [robocopy]

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

Robocopy is a Microsoft command line file copy utility that is built into Windows Server versions 2008 R2 and newer. Examples of basic functionality include directory mirroring, copying files over a network, restartable copy and multiple exclusion/inclusion flags.

272 questions
11
votes
4 answers

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 hidden files, folders and drives and disable…
Svish
  • 6,627
  • 14
  • 37
  • 45
10
votes
1 answer

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.
Corey
  • 1,943
  • 12
  • 38
  • 53
9
votes
2 answers

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:\ is printed. My command looks like this: robocopy source destination…
CoV
  • 91
  • 1
  • 1
  • 3
8
votes
3 answers

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 any changes. The script: robocopy "$cSource"…
jski
  • 911
  • 1
  • 7
  • 20
8
votes
3 answers

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. Is there a way to do so?
dbl0ser
  • 81
  • 1
  • 1
  • 2
7
votes
3 answers

Copying terabytes of hundreds of thousands of files in folder slow

I am currently running FreeNAS and using SMB 3 on windows machines to copy folders with 80000+ files that are all about 35MB each. Here is the config FreeNAS 2x40Gbps connections bonded connection SMB Share with SMB 3.1 enabled 1 Xeon 8 core with…
cohortq
  • 565
  • 1
  • 6
  • 11
7
votes
2 answers

Robocopy - Overwrite all files unless file in destination is newer

The title pretty much sums it up. I had restored a file share recently from a backup. Come to find out after about a day of users in production we started to notice some files were corrupt. Pulling those files from the backup again shows that the…
cvidal
  • 79
  • 1
  • 1
  • 3
7
votes
1 answer

Using robocopy to copy missing files/folders to a destination path

I recently synchronised an external hard disk which had approx 1.4 TB of data copied over with a GUI sync application on a Windows based file server. Sync direction, left to right. The problem that occurred was the GUI application that did the sync…
James White
  • 654
  • 3
  • 17
  • 32
7
votes
1 answer

Robocopy - Exclude specific file from purge within subdirectory

I want to exclude a specific file from being deleted while still performing a purge. The specific file is located within a subdirectory that does not exist in source. Source: folder1\ file1.txt Destination: folder1\ file1.txt folder2\ …
Daeze
  • 71
  • 1
  • 3
7
votes
3 answers

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 is perfect. However, RoboCopy does not support…
user1632306
  • 71
  • 1
  • 1
  • 3
7
votes
3 answers

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 possible. We're upgrading from Server 2000 to Server…
DKNUCKLES
  • 4,028
  • 9
  • 45
  • 60
7
votes
2 answers

Automate Windows Robocopy with internal changes monitor /MON:1 option

The /MON:1 option works just great and run directory scan if only changes happened. This is something that is not possible to do if robocpy is ran from windows scheduler each 10 min. Is there a way to run the robocopy …
user34402
  • 261
  • 1
  • 5
  • 10
6
votes
1 answer

Windows 2012 Robocopy with Deduplication active

Current Issue: File Cluster Disk of 14 TB Size needs an CHKDSK which can't be done because it lasts too long. So I'm going to replace this disk in the storage of the cluster. I run many times the copyjob with robocopy. No problem at all till I saw a…
donduc_jr
  • 73
  • 5
6
votes
5 answers

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 folders. This works on any server but 2008 though,…
Aszurom
  • 453
  • 2
  • 8
  • 19
6
votes
2 answers

What does my service account need to get around the error "Manage Auditing user right" in robocopy?

I am creating a scheduled task that calls robocopy from a script on Windows Server 2012 R2. It currently throws the following error regardless of it being run manually or from a scheduled task: ERROR : You do not have the Manage Auditing user…
GeneBean
  • 313
  • 1
  • 4
  • 10
1
2
3
18 19