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

learn more… | top users | synonyms

0
votes
5answers
6k 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
3answers
52 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. ...
1
vote
2answers
32 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 ...
1
vote
2answers
82 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 ...
0
votes
2answers
484 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, ...
3
votes
1answer
500 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 ...
3
votes
1answer
190 views

Robocopy: Why you no include same?

So here's my script: robocopy X:\WebApplications\Harrier\Stage X:\WebApplications\Harrier\production /is /e /xf: web.config robocopy X:\WebApplications\Osprey\Stage X:\WebApplications\Osprey\...
1
vote
1answer
218 views

Full backup, files copy or VSS for disk replacement on a Windows 2003 server?

I have to replace all disks of a Raid 5 volume for more space on a Windows 2003. I want to see what is the more reliable method to backup or move data of this volume (about 800 Gb). In first I was ...
1
vote
1answer
668 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 ...
1
vote
1answer
560 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 ...
0
votes
1answer
26 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
70 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
1answer
37 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 ...
0
votes
1answer
412 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 ...
0
votes
1answer
149 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
105 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 ...
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 ...
0
votes
1answer
677 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
151 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 ...
0
votes
1answer
795 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 ...
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 ...
1
vote
0answers
19 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
52 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
0answers
59 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
0answers
25 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
0answers
21 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\...
0
votes
0answers
97 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 ...
0
votes
0answers
319 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
57 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
142 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
159 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
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: ...