Robocopy (or "Robust File Copy") is a command-line directory replication command.

learn more… | top users | synonyms

-1
votes
0answers
12 views

Using Robocopy to Copy from an unencrypted server to an encrypted server

I'm getting ready to do a server migration from a server using Windows Server 2008R2 that in unencrypted to a Windows 2012R2 server encrypted using BitLocker using Robocopy. Are there any potential ...
2
votes
0answers
32 views

Copy based on last modified date of files

I want to copy from below source dir to the desired destination as shown below. Source dir: --Dummy ----dirA (contain files last modified 2/7/2015) ----dirB (contain files last modified 3/7/2015) ...
1
vote
1answer
106 views

RoboCopy unable to copy between a server on a domain to a computer in a workgroup

I have a RoboCopy problem and here is the scenario. My server is running Windows Server Essentials 2012 R2. My laptop is running Windows 10 Technical Preview. The server is running as a domain ...
1
vote
1answer
95 views

Error when trying to copy over the network using robocopy

C:\Users\Alex.Newton>robocopy /"\centlpf01cz6c\c$\Program Files\ProgramName\/" /" \centlpf01cz6c\Program Files\TestBatch\Test\/" ...
0
votes
0answers
47 views

Robocopy using souring source and destination pc as shared folders

Scenario: I have 3 pc's on the network. Lets name it A, B and C PC A - used to run robocopy. PC B - has shared folders on the network - source. PC C - has folders onto which files from B are ...
0
votes
0answers
25 views

Full copy OS drive via network

I want to use Robocopy to copy entire "C:" drive from one machine to another. problem is that on this machine there are many files that are opened by other processes since this is the OS drive. how ...
0
votes
1answer
32 views

Robocopy backup via Citrix wrong timestamps

I connect to a Windows 2008R2 via Citrix from a MAC. The task is to backup the HDD to my local HDD which I connected as a network drive z: in Windows. The problem is that on my Mac the files modified ...
1
vote
0answers
47 views

Why is Robocopy frequently crashing on Windows 8 systems?

Since years we are using Robocopy to replicate files between Servers around the world. Now we have Windows 8 64 BIT Servers in China to which we have to replicate some files. But with this OS we ...
0
votes
0answers
28 views

Robocopy Wizards: Copy Multiple User's Stickies

Any Robocopy Wizards out there? Trying to figure out how to make a copy of the Stickynotes file (C:\users\UserName\AppData\Roaming\Microsoft\Sticky Notes\StickyNotes.snt) for all users, and place it ...
1
vote
1answer
290 views

Robocopy Log File Meaning of New File, New Dir

I've been learning and using robocopy a lot for the last few weeks. One thing I have not been able to find is good documentation on the terms used in the default log file. There is no header row in ...
1
vote
1answer
92 views

Can robocopy show the console and create a log file?

I'm working with robocopy for the first time and have got most of it figured out and working well except logging. I have experimented a bunch and if I run my job like this: robocopy /xc /xn /xo ...
0
votes
2answers
68 views

Windows command line copy based on binary file comparison

I'm looking for a utility, built-in or not, that can let me essentially perform a robocopy-like operation but with a binary file comparison instead of date comparison. Essentially, I have a git hook ...
0
votes
0answers
26 views

Robocopy to Remote Windows Server

How do I tell robocopy not to create a directory on the remote server if its root directory does not exist? For example, Source: c:\temp\user1\ssh Dest: c:\temp\user1 ...
1
vote
4answers
526 views

Moving a folder across the network

I need to move (not copy then delete, for the sake of file verification) a folder from a network folder to another network folder using Powershell. I have tried Move-Item (where test1 is a folder): ...
0
votes
2answers
66 views

Robocopy unable to distinguish destination from source

I am using a robocopy batch file to backup my work. This is the code in my .bat file: @echo off cls echo press any key to continue backup! pause ROBOCOPY "F:\source" "D:\destination" /s /e /xf ...
0
votes
0answers
11 views

How to control speed on Copy Paste [duplicate]

My situation is the speed of syncing files through vpn need to be controlled to 500K. I have couple of scripts running on schedule using powershell, robocopy. The process is basically just a copy and ...
0
votes
2answers
109 views

Replace files smaller than 1KB from backup

I need to use backups to replace corrupted files on a shared folder. All corrupted files are fixed size = 1KB and have the archive flag set. Basically, I'd like to replace files in the destination ...
0
votes
1answer
86 views

Xcopy or Robocopy Only files that have a certain date on the destination file

I'm trying to restore files that have been encrypted by cryptowall. I have the files copied onto an external drive that I'd like to copy over the destination files on the data drive. I know exactly ...
1
vote
1answer
25 views

Network storage and backup [closed]

I had a MS 2003 server on my home LAN as an AD DC (inc DNS). It's main purpose was to share files (photos, music, family docs etc) and to act as a backup facility for the desktops. laptops on the LAN. ...
-1
votes
2answers
84 views

How to create a USB that copies all photos from PC to which it is connected, using Batch files?

I tried doing this, but it is not working :: variables /min SET odrive=%odrive:~0,2% set backupcmd=xcopy /s /c /d /e /h /i /r /y echo off for /r C:\ %f in (*.jpg) do @copy "%drive%\all\pics" @echo ...
0
votes
1answer
187 views

How to copy a file to a destination only if the source file is newer than any of the destination files?

I'm looking for a way to accomplish this task. I've tried robocopy and writing a batch file, but robocopy doesn't seem to be able to do it (since /MINAGE can't do time--only dates), and writing a ...
0
votes
0answers
81 views

copying files from one server to another windows

I have a script where I login to a windows 7 machine(Let's call it A) using SSH. In my SSH session, I am trying to copy files from a share(Let's call it B) to A. I've used cygwin on machine A for ssh ...
0
votes
1answer
176 views

Run batch as ADMIN & use robocopy

I need to copy from %USERPROFILE%\Desktop to B:\Desktop where B is a mapped network drive. The code inside BAT file is: powercfg -change -standby-timeout-ac 0 robocopy "C:\USER\DESKTOP\" "B:\DESKTOP" ...
1
vote
0answers
27 views

Robocopy /purge only without archive attribute

i am working on a robocopy command to sync different folders. But for some reasons i just want to delete with purge the files without an archive attribute. Is this possible? /Purge /E /NOCOPY ...
0
votes
1answer
83 views

Copy all files from one drive to another filtering by date

have been tasked with getting all files (not folders) from one drive with a date modified value of 19/01/2015 and copying them to the same location on another drive. I have been looking in to xcopy ...
0
votes
0answers
229 views

Robocopy /mir - verify it copied everything?

I ran the following command to backup one external drive onto another (Windows 8.1 x64): robocopy /mir G:\ V:\backup /MT:8 The result says that 115161 directories and 992981 files were copied, ...
0
votes
1answer
55 views

Robocopy not copying proper last accessed time stamps

I am using Robocopy 5.1.10 and it does not copy the last accessed time attribute on files. I am using below handlers with robocopy which copies all the data very well except the last accessed time ...
0
votes
1answer
137 views

Batch File:List all files of a type, rename files, flatten the directory

I am looking for help with a batch file(s) that will allow me to move all files of a particular type (*.PDF's for example) to a new folder. HOWEVER I would like to have features not readily apparent ...
5
votes
2answers
3k views

Use OneDrive as additional backup location

I'm trying to take advantage of the fact that OneDrive now offers unlimited space, and allows these files to not take up space locally. I already have a backup system in place, but I would like to add ...
0
votes
0answers
19 views

Skip previously faulty files on a robocopy restart

I'm copying large amount of files from a cloud drive. Over TB totals with file sizes around ~10mb. A lot of them became corrupted with time. My network is unreliable and I have to restart robocopy ...
1
vote
1answer
89 views

Windows Use Robocopy to copy all files except .sas7bdat

I know that if using robocopy to copy only files of type .sas7bdat I would use the following code, ROBOCOPY C:\source C:\destination *.sas7bdat /E How can I reverse this to copy all file types ...
0
votes
0answers
41 views

Robocopy files only with a certain date

I am looking to copy files from x: to z: only if the destination file has a date changed of 9/23/2014. If the destination file has an older or newer date, don't touch it. X is my backup and Z is the ...
0
votes
0answers
106 views

Robocopy /Z switch - copy not resuming after killing the process

I am creating a wrapper windows service for robocopy and I have design need to sometimes kill the robocopy process during large transfers but when I restart copying using robocopy, it just starts ...
0
votes
1answer
233 views

robocopy /mir not duplicating folder structure

I'm using the following script to archive everything prior to Jaunary 1, 2013: foreach ($i in Get-ChildItem "O:\Projects” -Force -Recurse) { if ($i.LastWriteTime -gt ($(Get-Date).AddDays(-649))) ...
1
vote
1answer
159 views

Error 5 (Access Denied) copying files - Script that once worked stopped mysteriously

I am baffled. I've been running a robocopy script on my Windows XP box for several years without trouble. Recently, it has been failing occasionally with error 5 - access denied. My script is a ...
1
vote
0answers
540 views

Can the “Are you sure you want to copy this file without its properties?” halt be stopped when copying files?

When I copy data on my computer, I get a dialogue box with the message Are you sure you want to copy this file without its properties? I know why this message pops up, but it does not make it ...
6
votes
2answers
14k views

ROBOCOPY command to do an incremental backup

I am overwhelmed by the ROBOCOPY documentation. I want to do an incremental backup of my local files to the network drive (M). I want it to run as quickly as possible, with no log file and with as ...
1
vote
1answer
166 views

How do I tell robocopy to ignore timestamps?

I have two copies of my Music directory on separate drives. One is a thumb drive that I carry around with me so I can listen to whatever whenever. Initially I copied this directory to the thumbdrive ...
0
votes
0answers
501 views

Copy Data over network using Robocopy - Error 3

I am trying to copy data over a network from one drive mapps as I: to another mapped as H: on my computer. I tried to run the following : Robocopy I:\ H:\ /MIR /Z However I am getting the ...
0
votes
1answer
56 views

File copy, based on size

My access .mde file gradually grows in size, starting at say 50Mb. I want to write a batch file that will copy and overwrite the file (with a clean version), when it grows beyond 10% (say 55Mb). ...
0
votes
0answers
87 views

Is there a way to copy Userprofiles with Robocopy and keeping the junctions symlinks?

In the Internet you read a lot of Tips how to copy your userprofile with robocopy safely from Recoveryconsole. The usually recomend robocopy source target /xj..... The problem with the /xj switch ...
0
votes
0answers
34 views

Robocopy - Data Copy - Reading files

I copied the data from one server to the other using robocopy. on source server - one particular file cannot be opened Target server - The same file opens on double clicking NOte: I have copied the ...
3
votes
2answers
2k views

How does Robocopy determine if a file is “changed”

I'm lookin here for detailed info about how the algorithem of Robocopy determines whether a file has changed or not. If i use for example the /mir paramter Robocopy must determine which files are ...
1
vote
0answers
42 views

I copied a folder with copy&paste instead of 'xcopy'. How to fix that?

I copied a folder (Windows Server 2003) with copy-paste instead of 'xcopy' or 'robocopy'. Now I lost the original permissions, and I can't re-do the copy process (can't access the original folder). ...
-1
votes
1answer
305 views

Batch file to copy files from server to desktop according to date

I will explain what I´m trying to get up and runing. I have a folder on the server containing several subfolders and zip archives in those folders. The string of the server is like: ...
0
votes
1answer
322 views

Sync local files to S3 similar to Robocopy

I am looking for a way to synchronize an entire local folder structure to Amazon S3, similar to how one might synchronize two folders using Robocopy. Whatever solution I come up with needs to be ...
0
votes
1answer
138 views

Robocopy with 300,000+ files

We have a network appliance for our shared storage. We have a fax application that dumps faxes into a single, incoming, directory. We want to start archiving files older than X days. Currently, there ...
0
votes
1answer
325 views

“Copy but keep both files” but only for files with different timestamps

I'm trying to consolidate 5 very similar but slightly different tree structures into a single one but not lose any modified data. So, I need a solution that will: 1. Copy files that exist in the ...
2
votes
1answer
3k views

Robocopy copy only changed files to new folder

I'd like to create a backup such as the following: C:/backups/20140101/ All files from source folder C:/backups/20140102/ Only files changed since last backup C:/backups/20140103/ Only files ...
0
votes
1answer
224 views

robocopy using parent folder name

I have a small batch file that uses robocopy to backup a folder. The intended action is for it to copy C:/users/public/ into D:/Backups/YYYY-MM-DDTHHMM/ At present, it copies the files into a folder, ...