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

learn more… | top users | synonyms

-1
votes
1answer
18 views

Why robocopy with multi-treading copies faster

I have been using robocopy with the switch MT and really makes a difference in coping time. I would like to know why the CPU treads act as a bottle-neck while copying files or what makes robocopy ...
0
votes
1answer
37 views

Robocopy One-Way Sync

I think my command is wrong. I only want to do a oneway sync from c:\SmarterMail\Domains tp \\My.IP.Add.Ress\C$\SmarterMail\Domains My current command is this: robocopy /E /S /MIR /Z /W:1 /R:1 /MIR ...
1
vote
1answer
20 views

Robocopy with volume id paths?

Is it possible to use robocopy with volume id paths? C:\>robocopy /MIR /COPYALL /R:0 \\?\Volume{8a20c0df-ba3-44e9-8529-e6cd231a6759}\ \\?\Volume{3f1c91a3-39c0-11e6-a9fc-000c29ac2558}\ ------------...
0
votes
0answers
38 views

1TB .vhd won't copy via Robocopy, access denied error 5

OK, I'm about to drive down to Mexico and bust this server with a hammer. Basically, the RAID 5 array is hosed, so we need to copy everything off it so we can rebuild the array. I have everything ...
0
votes
1answer
30 views

Robocopy logon script - copy all files, except 1, unless it doesnt exist

Currently have a GPO that calls a batch file at logon, that copyies files from one folder to another: Robocopy "C:\logon" "X:\user1" /mir /r:1 w:1 Exit This overwrites all the files in the ...
0
votes
1answer
45 views

xcopy & robocopy - Encrypted during transfer?

I need to transfer some files on some windows hosts, as i come from the unix side, i searched for a tool similar to scp or rsync. I came across xcopy and robocopy and searched the manuals for a hint ...
0
votes
1answer
75 views

Moving a lot of files with robocopy and 7zip

With the help of StackOverflow and a number of other places I've created the following script, the purpose is to look at a folder and it's subdirectories, if the files are older than 32 days -> move ...
0
votes
2answers
28 views

How to exclude files in a folder with pattern with robocopy?

I'd like to exclude all files matching C:\dir1\*.ext so I say: robocopy C:\dir1 C:\dir2 /E /B /MIR /xf C:\dir1\*.ext According to the documentation this should work: /xf <FileName>[ ...] ...
-2
votes
1answer
31 views

Robocopy backup with date added BUT don't copy if you already have the files

I have found several posts about adding the date stamp to a backup but what I would like to do goes a bit beyond that. My situation is as follows: Weekly we do manual backups of software apps, ...
-1
votes
1answer
21 views

robocopy cannot find path [closed]

i have batch script like bellow: SET SOURCE=F:\Diff\For_VOYAGE\models.pck.files\models\players SET DESTINATION=F:\Diff\For_VOYAGE\models.pck.files\NEW\models\players SET LOG=LOG.txt robocopy %SOURCE%\...
0
votes
1answer
52 views

robocopy log all but only display header/summary

Is there any way to tell robocopy to log all the info but to show the header/summary (any high level info really)? I did some screwing around and when I used the NFL option for example, it actually ...
1
vote
0answers
30 views

Is Using Robocopy /B pointless as an Administrator?

From what I can tell, the /B switch only seems useful to grant a limited user the ability to make backups. Am I correct on this?
1
vote
0answers
53 views

Local Hard disk IO of robpcopy on copying file across remote PC

Robocopy is running in local machine in india and files are copied between remote machines in USA . command is indiamachine> robocopy \usamachine1\src \usamachine2\dest .in this scenario does files ...
1
vote
2answers
45 views

Software for moving files and leaving shortcuts

i want to move files from my server to another server. This is working fine with robocopy but now i want to leave a shortcut in the old source directory with the same name like the moved file pointing ...
0
votes
0answers
37 views

How to use robocopy based on lgged in user

Presently I have the following command in a login script. I want to synchronize the users home drive to the users c:\data. robocopy G:\Backup\data C:\data /E /XO /Z /W:5 /R:3 /MT:32 /XD C:\Data\...
2
votes
1answer
19 views

Oddity with Robocopy

Can anyone explain what I'm seeing here? Total Copied Skipped Mismatch FAILED Extras Dirs : 20166 20166 20163 0 0 0 Files : 359490 ...
1
vote
1answer
38 views

robocopy with environment variable will cause 0x10

I tried this on command line and it will work correctly robocopy /mir /copy:DAT /mot:30 "D:\Source File\file" "E:\Target Directory\backup %DATE:/=-% %time::=-%" /xd "D:\Source File\file\excluded" ...
1
vote
0answers
60 views

Robocopy and IIS log date modified behavior

I am trying to create a mechanism (in my case Robocopy wrapped in PowerShell) that will back up IIS logs from all of our web servers into a central CIFS share. As you'd expect, I've had issues with ...
0
votes
3answers
62 views

Run scheduled task with other domain user

I have a .bat that copies files from source to destination. The source is the local joined server, the destination is a non-joined computer on the network. I need to run this .bat with task scheduler. ...
0
votes
1answer
61 views

Robocopy permission denied as I cannot traverse folders

I am in the process of migrating few NAS shares from one storage to other. I am using robocopy to do the migration. Let me try to explain the issue. Sorry in case if its lengthy. I have cifs share ...
0
votes
1answer
510 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
123 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
4k 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
72 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
164 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
109 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 location/...
0
votes
0answers
102 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 ...
3
votes
1answer
3k 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
127 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
92 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 ...
3
votes
1answer
179 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
78 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
250 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
867 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
335 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
48 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
150 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 ...
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" \\server1\share\...
0
votes
0answers
167 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
5answers
7k 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
8k 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
1k 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
77 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\ C:\...
13
votes
1answer
108k 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 C:\Windows\...
-1
votes
1answer
84 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
4k 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
2k 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
2answers
145 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 /Copy:...
2
votes
2answers
2k 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 robocopy....
-2
votes
1answer
69 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 ...