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

learn more… | top users | synonyms

0
votes
1answer
41 views

rsync / robocopy /MIR to azure

We are looking to do two things with azure for off site backup: 1) We need to mirror local dir struct up to azure, like robocopy /MIR command 2) We need to purge files older than ____ days from ...
1
vote
1answer
22 views

Robocopy throws 'filename, directory name or syntax is incorrect' on local disk

I'm attempting to use robocopy to move files older than 5 years to another server, to reduce the size of a 3TB volume under 2TB so that the machine can be P2V'ed using Microsoft VM Converter. There ...
4
votes
2answers
448 views

File server migration using Robocopy

I plan to migrate a file share from Windows server 2003 to Server 2012 R2 (It has more than 500 GB of data. FYI - It does not have DFS). I thought of using below command for copying the data from ...
2
votes
1answer
44 views

Get file system write cache queue size

I am copying a large amount of files from one server to another via robocopy to a UNC share. I notice that after robocopy completes that there is a large amount of disk activity that lasts for a ...
0
votes
1answer
73 views

Copy multiple files from different folders to 1 folder

i'm looking for a sollution to copy multiple files from different folders to 1 folder. What I have is that I need to copy files from c:\Customers\folderA\folderB\files copy to e:\FolderB\files The ...
0
votes
1answer
71 views

Robocopy: How to copy assets from multiple locations to a single location and maintain a log

I have multiple folders containing assets (each folder has subfolders containing these assets .mp3, .txt, .png, etc). I want to copy all this assets along with the subfolder to a single ...
0
votes
0answers
63 views

server side copy for Linux does not work

I have a NAS embedded Linux device which has Samba4 installed and running. I have configured a samba share, and I am trying to do server-side copy within that samba share from a client. This is what I ...
2
votes
1answer
411 views

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 ...
0
votes
1answer
65 views

Best direction to synchronize two file servers (with robocopy)

I'am speaking of 'direction' in this questions but maybe it isn't the best word. Please correct me if I'm wrong after the full question. We have 2 file servers, one of them is the active one, and the ...
1
vote
2answers
46 views

robocopy fails copy with multiple options

Using robocopy trying to copy files from network drive to local workstation folder with some options, but getting the error 123, 1314. The filename, directory name, or volume label syntax is incorrect ...
2
votes
1answer
75 views

Robocopy Invalid Parameter /BYTES

I would like to use robocopy with the /BYTES parameter. When I use it I receive an invalid parameter error: ERROR : Invalid Parameter #6 : "/BYTES" I am using Windows 7. When I do a robocopy /? I ...
3
votes
0answers
72 views

Robocopy from one to many

I am trying to use robocopy to update some internal AV clients that are not working. They will update once I the files are copied manually in. I've tried the following robocopy script, but can't get ...
0
votes
1answer
160 views

Copy folder structure template to current folder

When our users create a new Project folder, I would like it to automatically copy a template folder structure and the template's permissions. So far the only thing I've come up with is a batch script ...
0
votes
1answer
352 views

Robocopy Overwite IDENTICAL files but Rename Similar Files

Run-down 1: We need to copy files from one folder into another folder - Folder A -> Folder B (while preserving subfolder structure) 2: Some of the files in Folder A are IDENTICAL to files in ...
0
votes
0answers
231 views

unknown user name or bad password with robocopy

Im trying to robocopy some folders in windows to a different windows server which is not shared via a perl script. I access them via \servername\drive$\path in the perl path. This script will be run ...
0
votes
0answers
45 views

Best way to spread ~4gb of data(windows updates) to ~50clients

I have a few Windows updates of a few operating systems. Those are made with the program wsusoffline and contain several .cab and .exe files. I got those on a USB. What is the best way to deploy them ...
0
votes
0answers
43 views

Using Robocopy to Move a directory including all structure and files to another drive

I have seen this question asked many times and the answers following the question seem to vary so much it is hard to believe there isn't one simple way of doing this. Problem: I need to merge the ...
0
votes
0answers
100 views

Robocopy - change language

Is there a way to change the output language or robocopy? I have a lot of scripts that run and I find a script that extracts only important info from the output but works only in english which isn't ...
0
votes
0answers
141 views

Robocopy ignoring newer folders and files created after initial copy

When transferring a file share from one Windows Server 2012 R2 machine to another, I ran a robocopy command like this (from "server2"): robocopy "\\server1\e$\shared-folders\install" ...
18
votes
1answer
1k views

User accidentally messed up a Robocopy command and caused a bunch of folders to get created with corrupt security

We had a user run a robocopy command to copy some files but unfortunately the user accidentally messed up the syntax. Something like: robocopy "\\server1\share\Accounting" ...
0
votes
0answers
135 views

Is this the Right Way to Perserve Owners, Permissions and Attributes when copying files with robocopy?

Note: This example is making a copy of an existing directory to an non-existing prior to copying directory. Note: When my scheduled tasks were giving me an error, this is how I went about ...
0
votes
3answers
4k views

Make incremental and differential backups with Robocopy?

I wanted to know if it is possible to make incremental and differential backups using just Robocopy and arguments. Putting it in a simple bat and making that bat run in Task Scheduler seems like a ...
0
votes
1answer
4k views

Robocopy script copied permissions/subfolders everything but NOT shares

I ran this command on my new server: ROBOCOPY "\\oldserver\e$\folder" "e:\folder\" /COPYALL /SEC /MIR /LOG:logs.txt It copies all permission and mirrored my folder but later I realized that shares ...
0
votes
0answers
543 views

Robocopy cannot find specific directory

I am migrating our file server from 2008 to 2012R2. Currently i am trying to copy all folders and files to our new server but the command isnt working correctly. Here is what i am using: robocopy G: ...
1
vote
1answer
73 views

SID not being set on

I copied two trees with robocopy, a source and a destination, with the intent of making their permissions exactly the same, I ran the following commands: robocopy /MIR C:\Windows\System32\tasks\ ...
13
votes
1answer
106k views

What is a S-X-X-XX-XXXXXXXXXX-XXXXXXXXXX-XXXXXXXXX-XXXX called in Windows security?

I copied two trees, a source and a destination, that I copied with robocopy like this: robocopy /MIR C:\Windows\System32\tasks\ C:\temp\robocopyTasks\out\ robocopy /E /Copy:S /IS /IT ...
-1
votes
1answer
60 views

Using robocopy to correct date and time

After using robocopy to copy files to a new drive I realized that all the files and directories creation times had been reset to the time of copying. I now know that is standard for Microsoft. I have ...
2
votes
1answer
3k views

PathTooLongException error when using Get-ChildItem

I'm trying to generate a list of all known file on a file share with Attributes "Archive + Offline". But I keep running into PathTooLongException errors. So far I've only found that Robocopy can work ...
0
votes
1answer
1k views

Robocopy - Share to Share copy over network - Files did not end up in the expected location

A client of mine recently got a new Windows 2012 server to replace an old Windows XP Professional computer we were using as a file server. Everything appeared to be copying fine, I stored a log file ...
4
votes
1answer
133 views

Robocopy from list.txt

I have a ton of user directories, that I need to move along with permissions to another location, the command I use on an individual basis is : robocopy "\filer\home" "h:\UserHome" /E /SEC ...
2
votes
2answers
1k views

Mirroring harddisk with compressed files with Robocopy

I tried to mirroring an existing disks on a new disks with less space. It is very important that the file structure, attributes and ACL's are exact as on the source disk. For this I tried ...
-2
votes
1answer
60 views

where can I learn the limitations of /LEV:n option of Robocopy command

Hey I am moving a file server to another datacenter. I use robocopy but I don't know the limits of the /LEV:nutility. Is this "n" can be 100 or something for some crazy admins? I searched but I didn't ...
2
votes
1answer
1k views

Robocopy /xd with wildcards and sub-paths

I don't think this exact question has been asked before (I looked). My backup server runs a script using Robocopy, and I want to exclude files that don't really need to be backed up, specifically: ...
3
votes
1answer
118 views

Windows Server to Server copy, executed remotely, process overview

Ok so I've got 3 servers in this example Server_A, Server_B, Server_C I want to move data over the network from Server_A to Server_B by executing a batch script on Server_C, it would be something ...
3
votes
1answer
408 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
1k 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
1answer
1k 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\ ...
6
votes
2answers
2k 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
77 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
1answer
124 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
6k 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
351 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
516 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
439 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
347 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
1answer
181 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
6k 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
788 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" ...
1
vote
1answer
6k 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 ...
2
votes
4answers
524 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 ...