Over 1 million tech questions and answers.

Robocopy bug

Q: Robocopy bug

I am runing window 7 32bit. I run robocopy to backup files and dirs ? I noticed lately that the process is coping files that are not subject to copy, ie the source and target files are exactly the same ? I use the /mir robocopy
switch

When roboopy copies a file from the source to the target, it will tag the copy in the log, ie ?newer? ?new files? ?older? - etc ? in this case there is no tag on the copy log and the summary at the end of the job reports all the source
being copied.

I have windows 7 on other computer and this operation works correctly on those computers ? the only difference were this is not working it seems that version of windows 7 has fix KB2639043 installed.

I went as far as to write a program to show the 64 bit time stamp (both the modified and create times) and an compare them on the source and target files and they are EXACTLY the same (the file size is also the same in both files)

Lastly, I tried ?synctoy? and that ?did the right thing? ? so there is some sort of bug with robocopy ? How can I report this issue?

Read other answers
RELEVANCY SCORE 200
Preferred Solution: Robocopy bug

I recommend downloading and running Reimage. It's a computer repair tool that has been proven to identify and fix many Windows problems with a high level of success.

I've used it in the past to identify and fix everything from blue screens (BSOD's), ActiveX errors, corrupt files and processes, dll/exe/sys errors, recover lost memory, Windows update problems, defragging, malware removal etc.

You can download it direct from this link http://downloadreimage.com/download.php. (This link will automatically start a download of Reimage that you can save to your computer.)

RELEVANCY SCORE 38

Basically I would like to copy from my Skydrive to copy to my NAS once a day everyday. I know some of the basics but need help with specifics like copy to folder and making sure the newest file exists as the saved copy.

Here we go!

Robocopy C:\Users\Clive\SkyDrive\Documents B:\ /
Thanks guys for comments!

A:Robocopy. Can someone help please!

If your looking for a clean way to do that, you should look at Microsoft Richcopy which is a GUI'd + version of Robocopy. I've used it for years and it works fine under Windows-8.

For more info see: Free Utility: RichCopy, an Advanced Alternative to RoboCopy
Online Guide & extra info: RichCopy Guide - ETCwiki

Hope it helps.

Read other 3 answers
RELEVANCY SCORE 38

Hi, I have 2 questions which I desperately need help with. Here's the question: 1. robocopy shoud Run in a separate terminal window and recheck file system changes every minute. 2. write a continous logfile that contains all detected file system changes including full pathnames of affected files. How do I do this?

A:Robocopy (help please)

This is one way, put this in a batch file:

:Start
robocopy command here
timeout 120 > nul
goto Start

Lots and lots of robocopy parameters, one of which is /log:file (file being the file you want info logged ion). > nul hides the Timeout in n seconds message.

Read other 5 answers
RELEVANCY SCORE 38

I have created a robocopy.bat as below :

robocopy C:\Users\Faust_000\Documents\Alfredo "F:\Backups Documents" /e /mir /z /np /tee /log:Alfredo_log.txt

and I have created a Planned Activity into the Planning Utility to run at certain time every day.

Now my question is :
1. if manually activeted by double click robocopy.bat it perfectly works and the log.tx file is created
2. if I execute the robocopy by the Planned Activity (by manually Excute or automatically at the planned time) the robocopy is done correctly but the log.txt file is not created or updated.

I did both on W7 Professional 64bit and on W8.1 64bit but no difference.
Could someone help me to understand why the difference of results manually and via Planned Activity ?
Thank in advance.
Blau0179

A:Robocopy

I don't use Robocopy or Planned Activity but it might perhaps be related to the current directory when the bat file is executed. If so, the other log file should be somewhere on your system and you could search for it.

I mean when you manually run the bat file you get a certain "current directory", but in the other scenario you get another directory. You can try to include a path for the log parameter or move to a certain directory with the cd command in the bat file, before the robocopy command.

Read other 2 answers
RELEVANCY SCORE 38

I'm trying to use robocopy to copy files and subdirectories from a zip drive to a hard drive and include the original modification dates using the /copyall attribute. By just copying it within Windows 7 professional every subdirectory shows up
with a current modification date. So when using /copyall I keep getting the error message "you do not have the manage auditing user right". Don't know what that means - right as in correct, or right as in permission. Either way, is
there some way to do this?

Read other answers
RELEVANCY SCORE 38

Hello all,

To save my life I could not get the Robocopy GUI to work. I have no problem using it with command line by dropping in to CMD.

Tried the GUI it reported that the job is finished as soon as I click "RUN" but nothing copied.

Thank you kindly,
Nid

A:I need some help with Robocopy GUI please.

Why not just put the command line commands in a bat file and run them like that? It's how I do my backups.

Read other 2 answers
RELEVANCY SCORE 38

Does Robocopy /MIR copy all files or just the ones that are added and those that are changed? I don't want to start this if it is going to take hours and hours. thanks...

A:Robocopy /MIR

Just the changes.

Read other 7 answers
RELEVANCY SCORE 38

We are looking to migrate a SQL database to a new server. The database is for an imaging software and has pointers to the images. We are going to move the database in the next week or two. I wanted to start copying the image files to the new server to prepare for the migration (about 300 gig of 17k files). I understand that robocopy is a good program to accomplish this. I am looking to copy all the files, folders, and subfolders over, then copy only the changes over nightly. What is the correct command line that I should use to accomplish this? Can I save it to a bat file and use windows task scheduler to have it run nightly?

Thanks in advance for all of the help!
 

A:robocopy

Are you migrating to a server that will be running the same software? Why not use an SSIS package? That way, you can migrate the complete database to the new server and just point your programs as necessary.
 

Read other 3 answers
RELEVANCY SCORE 38

I am reporting a bug with the program robocopy.  My system is Windows 7 32bit.
The bug was introduced when hotfix kb3125574 was applied.

The bug seems to be that now, robocopy, is using the "access time" of the source
file to determine if the file is to be copied to the target.

Every copy that is executed by robocopy in annotated in the robocopy log with
the tag "new file" "newer" "older" "changed" ... etc.  With this bug, the copy
is noted in the log, but the tag (field) is blank

I was able to duplicate this, the console session is attached.

This bug has rendered robocopy useless.
console log listing

Read other answers
RELEVANCY SCORE 38

how do I access a command line to be able to use robocopy? when I use the regular command prompt, I get an error message that says Robocopy is not recognized as an internal or external command, operable program or batch file. What am I doing wrong?
 

A:Robocopy

Where did you get the program? Sounds like it's corrupted.
 

Read other 2 answers
RELEVANCY SCORE 38

Need to back up data-drive regularly on drive F and send to data-drive G

Robocopy has been mentioned as win7 built-in. I'm confused what is it & how to use it?

A:Robocopy how?

ROBOCOPY - Create Backup Script

Read other 2 answers
RELEVANCY SCORE 38

I have been forced by the man to switch to vista. I had a simple xcopy to duplicate a folder structor. Would someone be kind enough to translate this into robocopy for me?

xcopy r:\_DND\*.* r:\SMcbrid2\ /E /O

Thanks for the help

A:Robocopy

Here you go:

Code:
ROBOCOPY r:\_DND\ r:\SMcbrid2\ *.* /E /COPYALL

Read other 1 answers
RELEVANCY SCORE 38

Hi there,

I want to use ROBOCOPY to move any file that is older than 30 days.
I've tried this command but it seems to move the file anyway, even though the file is only 4 days old:

robocopy * C:\b2d C:\archive /mov /minage: 01-04-2011

From "/minage: 01-04-2011" i thought it would only move files that are at least 30 days or more old. But this seems to move everything.

Can anybody explain why this is happening? Is it because i used a wildcard on files, will that not look at the file age?

Thanks!
 

Read other answers
RELEVANCY SCORE 38

I have Windows Vista Home Premium and somebody recently mentioned to me about Robocopy to use from cmd. Unfortunately I got into a mess and cmd froze so that I had to force shut down.

Can somebody kindly let me know how to use robocopy to copy files and directories my document on C: drive into external hard drive J: in a simple language as possible.

Thank you very mcuh.

A:Robocopy

Welcome
This is how robocopy is used:
How to Copy Vista to Another Hard Drive | eHow.com

That being said, I would like to mention that in several years of helping out at the Vista Forum, this is the first question about robocopy. Most members use Macrium Reflect to make monthly backups. These backups are always available in the event of a catastrophe with the OS. It can also be used to transfer to another drive.
Macrium Reflect FREE Edition - Information and download

Read other 10 answers
RELEVANCY SCORE 38

I am trying to use robocopy in a batch file to move log files that are older than 5 days into a subdirectory of the current directory.  Also I want it to report only how many files were copied just like copy and xcopy do.
Here's what I have now:
robocopy . ./OldLogFiles *.log /MOV /MINAGE:5 /NS /NC /NDL /NJH /NJS
When I run it, it looks like it recopies the files in the /OldLogFiles folder too.  It list all the filenames and the filepath.
I am trying to run this also on Windows Server 2008 R2 Standard (if that makes a difference).
Thanks for any help,


Fred

Read other answers
RELEVANCY SCORE 37.6

I'm trying to use Robocopy to copy from My Documents to a network path similar to the following: \\it\shared documents\my folder. When I try to use Robocopy, I receive the following in the log file.

D:\Documents and Settings\<my user>\My Documents\TMI\
2008/09/29 13:05:45 ERROR 31 (0x0000001F) Changing File Attributes D:\Documents and Settings\<my user>\My Documents\TMI\
A device attached to the system is not functioning.

Googling this error code hasn't gotten me very far. Any ideas?
 

Read other answers
RELEVANCY SCORE 37.6

Hi
I've just recently realized that copying folders to a backup hard drive resets their "created" date. Should my computer ever crash, all my backup files will state to have just been created on that certain date.

Me, being the organize-freak I am, have been looking for a solution so my backed up files can have the same time stamps as on my computer right now.

I've done a little searching, and have found that people always recommend Robocopy. Problem is, I can't understand a word of the tutorials. Is there anyone with a layman's explanation for how to run Robocopy to carry out what I want?

And also just for the heck of it, is Robocopy the only solution? Is there some sort of back up program on Windows 7 that can do that?

Thanks!

A:Timestamp/Robocopy help

Some of the other posters have had similar problems, book1245, so here are a couple of references to other posts that might offer a little bit of guidance:

There’s some help for you in this thread: "Date Modified" changes when copying... Take a look at the post from Bill2 which has, among other things, this site: How to copy or move files and folders whilst maintaining their original time date stamp. | TechHead.co.uk, (and offers advice about your Robocopy problem as well), and the post from Casca which offers this advice: In a command window, run [xcopy] with the following switches: /s/e/c/a/k/h.

See also the post from huge in this thread: "easy transfer" resets folder modified date who apparently found a way to fix his problem, with only a mild amount of pain.

Read other 3 answers
RELEVANCY SCORE 37.6

Having trouble with quotes and folder names with spaces.
Cannot get it to run w/o an error.

SET _source=\\fs1\data\shared\"Carolyn Kris Nancy"
SET _dest=\\fsarchive\archiveshare\"Carolyn Kris Nancy"
SET _what=/COPYATOU /E /MOVE /MINAGE:1095

ROBOCOPY %_source% %_dest% %_what% %_options%

I receive this error;
E:\Batch Move>robobatcharchive
-------------------------------------------------------------------------------
ROBOCOPY :: Robust File Copy for Windows :: Version XP010
-------------------------------------------------------------------------------
Started : Wed Apr 25 10:35:14 2012
Source - \\fs1\data\shared"Carolyn\
Dest - E:\Batch Move\Kris\
Files :
Options : /COPYAT /R:1000000 /W:30
------------------------------------------------------------------------------
ERROR : Invalid Parameter #3 : "Nancy \\fsarchive\archiveshare"Carolyn Kris Nanc
y"
Simple Usage :: ROBOCOPY source destination /MIR
source :: Source Directory (drive:\path or \\server\share\path).
destination :: Destination Dir (drive:\path or \\server\share\path).
/MIR :: Mirror a complete directory tree.
For more usage information run ROBOCOPY /? or read Robocopy.Doc.
NOTE: Read "True Replication" in Robocopy.Doc prior to first use of /MIR !
**** /MIR can DELETE files as well as copy them !
E:\Batch Move>robobatcharchive
 

A:Solved: RoboCopy

You need to put the quotes around the entire path:
"\\fs1\data\shared\Carolyn Kris Nancy"
 

Read other 3 answers
RELEVANCY SCORE 37.6

HI,

I'm trying to add a switch /MAXLAD:n Excludes files with a Last Access Date older than n days or specified date. If n is less than 1900, then n is expressed in days. Otherwise, n is a date expressed as YYYYMMDD.

I only want files that has been modified starting from Sept. 01, 2008 to current.

Am I inputting this correctly? Help

\MXLAD:2008/10/01
 

A:Anyone familiar with Robocopy?

DUH, I figured it out, I took removed the "/" from the date portion.
 

Read other 1 answers
RELEVANCY SCORE 37.6

I have been using xcopy to copy data from a file server to a flash drive. That works OK, but after some time the flash drive is cluttered with files and folders that have been moved or deleted from the file server.

I want the flash drive to mirror what is on the file server, so I decided to give ROBOCOPY a try (version XP010 on a Windows XP computer). Here is the line in my batch file:

ROBOCOPY \\fileserver\share\frank\somefolder E:\somefolder /COPYALL /B /MIR /R:0 /W:0 /LOG:MyLogfile.txt

This works fine except the log file reports Error 3 "The system cannot find the path specified" for files in only one subfolder, and deletes all the files in that subfolder from the flash drive.

The subfolder name is "Computer" (which as far are I know isn't a reserved name), and it has the same attributes and NTFS permissions as all of the others.

Any ideas what the problem could be?
 

A:RoboCopy Issue

Noone uses Robocopy?
 

Read other 1 answers
RELEVANCY SCORE 37.6

I am copying files with dates in the filename (filename_20091127.txt) from one location to another. How can I drop the date from the filename when moving/having moved the files accross? The file types and filenames vary from file to file but the date format will always be '_YYYYMMDD'. Is this something that can be done with RoboCopy and if so, how? If not, with what and how? Thanks in advance.
 

A:RoboCopy Query

Robocopy doesn't rename files.

Welcome to TSG!

For this, I'd use RenameMaster, and just remove the last 9 characters of the file name.

It's on the Scripting tab, about 8th item down, Remove Beginning/Ending

If this is a daily occurrence, you could write a batch file to remove the date after all the files are copied. Not too hard to just remove the last 9 characteers in a name.
If you need to check for resulting duplicates or confirm it's actually an underscore followed by a date it would get more complex.
Code:
Setlocal EnableDelayedExpansion
Set _Folder=C:\Location of Files
PushD %_Folder%
For /F "Tokens=* Delims=" %%I In ('Dir /B "%_Folder%\*.*"') Do (
Set _Fname=%%~nI
Rename "%%I" "!_Fname:~0,-9!%%~xI"
)
PopD

 

Read other 1 answers
RELEVANCY SCORE 37.6

Within ROBOCOPY i need to write a script that will compare one folder to the other. The differences will be copied to a third folder and after copied to a third folder be copied back to the second folder.

Compare Folder 1 to Folder 2. Differences in 1 to 2 get copied to Folder 3 and after copied it will be copied to folder 2.

Anyone have any ideas?
 

A:RoboCopy question

Hi and Welcome!
May be better in the development section of the forum, as that is for scripting.
Click the red triangle next to your post and ask for it to be moved.
Kind Regards
Anthony
 

Read other 1 answers
RELEVANCY SCORE 37.6

Hello everyone been lurking around for awhile, so much knowledge on this forum.

I hope someone can help me, I am just a noob, don't know to much.

I ecently purchased a synology Network Attached Storage (NAS).

and I would like to set up so that files tranfer from one folder to the next automatically, I am not sure what type of line to put into the command prompt?

The original folder is C:\user\recordedtv the other one is on my network and shows up as DISKSTORAGE i have a folder on there called beyondtv and would like to copy all files from C:\user\recordedtv.
How would I do this?

A:Robocopy Synology

Welcome to Seven Forums,

You may definitely setup to sync and backup files automatically to your NAS. Pls check out SyncToy, its a Free cool utility from Microsoft and its easy to setup. Sync files with your NAS ? Cogito, ergo sum

Read other 7 answers
RELEVANCY SCORE 37.6

Evening all,

Just curious to know if anyone uses the built in utility to backup software on your machine, im trying to backup my itunes folder to an external HD but having a few issues to get this to work properly! I also use sync toy for backing up but just really want to know what everyone else uses?

As for image backups you cant beat Macrium Reflect imo

A:Anyone use robocopy to backup?

I don't use it myself, but have you tried the Robocopy GUI? On the same site there is a write-up of the RichCopy tool.

I haven't tested RichCopy on Win7 but I have tested the Robocopy Gui and it works fine.

EDIT: I just downloaded and installed RichCopy and it appears to be working fine in Win7.

Read other 2 answers
RELEVANCY SCORE 37.6

Hello Everyone,

I have been working on this for the past three days getting no where.

The system I am trying this on is a Win7 64 bit Home Ed., what I am trying to do is get a batch file created where it copies certain files to an external hard drive. Yes I am already using the Windows Backup that is included but I want to do this as an extra measure.

I have been trying to get the following command to work:

robocopy C:\Users\pare80\Documents E:\backup\Docs /E /CREATE /MIR /SEC /ZB /R:3 /V /FP /TEE /XJ

It looks like the command ran, but when I go to the E drive the folder backup is there but nothing else.

Any help will be greatly appreciated.

Thank You,

-- ParE

A:Robocopy Issues

Take the switch /CREATE away from your string. It only copies the folder (directory) structure with 0-lenght files (placeholders). Your command string should otherwise work just fin. Remember to run command prompt as administartor.

Read other 1 answers
RELEVANCY SCORE 37.6

G'day,

Problem description: after my Vista laptop crashed (hung up in windows start-up loop) I used

robocopy c:\ d:\complete /mir ..... from the restore cmd prompt to make a backup of ca. 50gb to external hdd.

I then installed Windows 7 on the machine and used

robocopy d:\complete c:\complete /mir ... so I would be able to pull whatever folder I need to the new system.

The problem is the in both version I can see robocopy in the cmd shell copying the files in their respective folder hierarchy (which takes ages!). But on both, C: and D:\complete, I only see a folder "4d0a0xxxxx00e8e4c7332a3a394c". Right-click on the folder gives a size of approx. 6mb only, although my c: hdd space was reduced by ca. 50gb???? So, I assume the restore did work, and this is a permission problem.

I tried to take ownership of the folder under the new system to no avail. (just to clarify: i use the same username and pwd under win7 as under vista, and lost pwd is not an issue, in case i would need it to gain access)

All input highly appreciated! Thanks,
Rick

Read other answers
RELEVANCY SCORE 37.6

Hi

With the Robocopy command of Windows 8.x, how do I do a copy of a file (renaming it) in the same directory of the source file?

Thanks

Bye

A:Robocopy and same directory

You can't. Use copy or xcopy if you want to rename.
e.g.
Code:
xcopy c:\test\old.txt c:\test\new.txt


Note xcopy will always prompt you with "Does c:\test\new.txt specify a file name or a directory name on the target" so you would probably be better off with
Code:
copy /v c:\test\old.txt c:\test\new.txt


where the /v verifies the copy.

Read other 1 answers
RELEVANCY SCORE 37.6

I've been using Robocopy for a while now and I have found it to be a simple and mostly efficient tool to mirror contents from one drive to another, and I've created a couple of batch files to simplify typing in parameters, like "AF ? ?" to copy my data files from one drive to another.

The thing is, for the last two days my data contents have been mirrored to my HDD partitions and a USB device absolutely fine - only a few files have been modified each time and I can rest assured that the contents are identical. The whole process has only taken a few moments.

But last night, the clocks went back and then earlier today I ran Robocopy once again to mirror my data contents. The HDD copy went without a hitch, but when running it to mirror contents to the USB device it started to recopy EVERYTHING over to it, naming all the files "Older"! What's more, I check the "modified" date/times on both sides and they're identical! I can only assume that the change in the clock from yesterday is the cause, and something unique to FAT32 file format (which the USB is).

The least I want to do is not to copy files with an older timestamp on top of new ones (if that's what's happening) so is there a way I can still use /MIR and use the /XO (exclude older) switch as well?

A:Robocopy help required

Well, I'm trying the /XO switch, and it seems to have worked so far.

Read other 1 answers
RELEVANCY SCORE 37.6

I've never had a backup routine but am about to begin. Was going to implement RAID 1 but after some forum education am finding out a removable backup disk is what I really want. So, should I assume Robocopy (likely with GUI) is still the way to go for my simple /E /Purge needs? I will be mirroring both a small system drive and a 2Tb data drive.

Cheers!

A:Robocopy still the best option?

Use Macrium Reflect Backup and Hard Disk Imaging for Windows 7, Vista, XP and Server 2003/2008

Read other 9 answers
RELEVANCY SCORE 37.6

Hi all, quick question.

I have used Robocopy to back up all my photos etc. for yonks, set it so that it mirrored by files on my main laptop. I have since had the need for faster and bigger storage and so have invested in a NAS. Awesome.....BUT...

when I run my script it no longer detects that a copy of the file already exists - it thinks every file is 'newer' and so it copies everything again (not funny given it's 50Gigs!)

My script consists of several lines like this...it's very simple(!)..

robocopy "c:\Users\Steve\my pictures" "\\LS-XHLA97\backup\sr-backup\pictures" /mir /xd *.lrdata

robocopy "c:\Users\Steve\Modo" "\\LS-XHLA97\backup\sr-backup\Modo" /mir

Any ideas? Or suggestions for another way of doing this type of backup?

Many thanks
Steve
 

A:Robocopy and NAS problems...

Read other 8 answers
RELEVANCY SCORE 37.6

Good Afternoon,

I am trying to do work for a client of mine, and I am having problems with the robocopy command that i am using.

Here is the command
robocopy.exe \\USER2\Photos \\SERVER1\photos /e /m /R:10 /W:2 /XF CLIENTroboPhotos.bat robophotos.log /xd c:\photos\photos-add /V /log:\\USER2\Photos\robophotos.log

Copys from Users 2 photos folder and copies it to the server photos directory

then i put a command to do /xd c:\photos\photos-add which is suppose to exclude it, which it doesn't.

It just keeps replicating each other in each folder.... Catch my drift?
Please someone who is good with Robocopy, take a look at the script and see if you see a flaw in it.

Thank you!

I just cleared 15-16 extra space on the server, and now i am back to where i use to be 256 megs free.....
**I WISH CLIENTS BREAK INTO THE WALLET AND BUY A NEW SERVER!
 

A:Robocopy Issue

anybody? have an aswer for this?
 

Read other 3 answers
RELEVANCY SCORE 37.6

Robocopy is a nice tool for backup scripts but for casual use there are a large number of Gui interfaces and Shell Extensions to make using it easier but i am trying to find the one that is the most intuitive and i was wondering if anyone has a list or knows of a place where i can compare the various utilities out there.

Read other answers
RELEVANCY SCORE 37.6

Hello,
How can i tell robocopy to exclude a certain final folder, with the folder above changing.
I.e in c:\users\USERNAME\appdata\local\microsoft\windows\WER

I don't want to copy any WER contents, however the USERNAME section of the path obviously changes depending on what user account it is currently backing up... can i use a wildcard at the USERNAME section or how would i do this?
robocopy \\$compname\c$\users\$tname \\destination\$tname /E /ZB /COPY:DAT /XJ /TEE /R:1 /W:1 /MT:10 /XD \\$compname\c$\users\USERNAME\AppData\Local\Microsoft\Windows\WER.
Help would be muchly appreciated...

A:Robocopy Wildcard /XD

Hi Tarrley,
/xf could excludes files that match the specified names or paths. Note that
FileName can include wildcard characters (* and
?). Now that there is not all the files in the directory. You could use /xf command to exclude specific files.
Best regards,
Karen Hu

Read other 5 answers
RELEVANCY SCORE 37.6

We are migrating our file server from Novell to Windows and I will be using Robocopy to do the copy. i know I cannot move the Novell rights so I have setup the folders (blank) on the destination ahead of time with the rights I want. I was going to just use the MIR switch to keep things in sync but read that MIR could overwrite the rights on the destinantion, is this true? I am not trying to do anything with rights and don't want any rights being assigned or changed.
Am I better off using /E /Purge or /MIR.....or would I be better off with a different program like RichCopy.
Thanks for the advise,
Scott

Read other answers
RELEVANCY SCORE 37.6

With Robocopy I use these switches in my batch file
/MIR /xf desktop.ini /e /np /tee

Is there a switch to show screen output for only changed or newer files?  I prefer not to see all unchanged files scrolling through the screen.

Thanks in advance.

Read other answers
RELEVANCY SCORE 37.6

For copying a large amount of files from a hard drive, what should I use?

I would normally just use Teracopy. But someone on another thread mentioned it was pants? And suggested to use Robocopy instead?

I've never used Robocopy. Is it significantly faster?

How about reliability?

Are there any other options I would need to consider?

Thanks.
 

Read other answers
RELEVANCY SCORE 37.6

I have a quick question, is the Robocopy.exe in Windows 8.1 compatible with Windows XP or do I have to use the one in the Resource Kit?

I could download the kit, but I don't want to download the entire resource kit on each client that uses our software, as our software that utilizes it only requires the robocopy.

A:Question about Robocopy

You can use the Download Windows Server 2003 Resource Kit Tools from Official Microsoft Download Center for XP

Read other 2 answers
RELEVANCY SCORE 37.6

I use the robocopy command all the time and it works perfectly, but for some reason I'm running into an issue. I'm
trying to copy the content of one network share to another. I've never had an issue before doing so.

I run the command like this: "robocopy n: x:\Misc /e /copy:dat /xo /zb /w:2 /r:2

Error message, "Error 4390 (0x00001126) Accessing Destination Directory x:\Misc The file or Directory is not a reparse point."
I did open CMD as an administrator prior to running command.

What is a reparse point and why does Microsoft need a reparse point for this particular copy job to copy these folders and files?
I noticed while searching for an answer I ran into this post:
https://social.technet.microsoft.com/Forums/ie/en-US/5cd00366-79f0-4459-b38c-f23fed453624/robocopy-error-4390?forum=winserverfiles
This guy had the same issue but nothing was resolved.
If I use a 3rd party software like Teracopy I can copy just fine but not with robocopy.
 

Read other answers
RELEVANCY SCORE 37.6

I have been running Robocopy under Windows 8 for a long time without any problems. Now, all of a sudden, I keep getting the error that Robocopy cannot find the Backup_log.txt file, even though it is quite visible in the C: tree directory. Following
is the BAT file we have always been using:-

robocopy Z:\     F:\backup

robocopy Z:\IDENTITIES        F:\Backup\IDENTITIES /e /mir /np /z /tee /log:backup_log.txt
robocopy Z:\LIBRARY           F:\Backup\LIBRARY /e /mir /np /z /tee /log+:backup_log.txt
robocopy Z:\EX_MEMBERS        F:\Backup\EX_MEMBERS /e /mir /np /z /tee /log+:backup_log.txt
robocopy Z:\Magazine_index    F:\Backup\magazine_Index /e /mir /np /z /tee /log+:backup_log.txt
robocopy Z:\VENUES            F:\Backup\VENUES /e /mir /np /z /tee /log+:backup_log.txt
robocopy Z:\MEMBERS           F:\Backup\MEMBERS /e /mir /np /z /tee /log+:backup_log.txt
robocopy Z:\CATHS EVENTS      F:\Backup\CATHS EVENTS /e /mir /np /z /tee /log+:backup_log.txt
robocopy Z:\COMPANY LOGOS     F:\Backup\COMPANY LOGOS /e /mir /np /z /tee /log+:backup_log.txt
robocopy Z:\EQUIPMENT         F:\Backup\EQUIPME... Read more

Read other answers
RELEVANCY SCORE 37.6

Hi All,

Quick question regarding robocopy. I am not that great in using it but I did manage to figure out that how to do basic copying and mirroring. My main issue is copying over files that have security permissions.

At this point, I have this:
Code:
robocopy c:\foldername e:\foldername /copyall /mir
What would I add and does it matter where I place the syntax for it to work?

Help appreciated.

EDIT: Figured out the security part. How would I get the script to still copy everything in the folder if its being used by someone else or they forgot to close it?

Thanks.
 

A:Robocopy script

Robocopy cannot do it by itself.
http://ithelp.cveg.uark.edu/IT_Help/Documents_files/backup.pdf
 

Read other 3 answers
RELEVANCY SCORE 37.2

Hi

Using Robocopy, I should copy the files of a directories structure with all their ACL and their attributes except the attributes of reading in another structure. How should I do this?

Thanks

Bye

A:Robocopy and attributes problem

/copy defines the attributes you want to include (defaults to data, attributes and timestamps). /copyall includes everything including ACL.
If you want to then make them read only add /a+R to set the Read-Only attribute.
something like

robocopy C:\users\user1\Documents E:\Backups\Documents /mir /e /copyall /a+R

Is that want you want to achieve?

Robocopy

Read other 1 answers
RELEVANCY SCORE 37.2

The default copy switch of robocopy is /COPYAT if you don't specify any copy options. This is the code I'm using:

robocopy C:\ D:\Backup RAMDisk.img /copyall /R:5 /W:15 /V /log:\Users\Kevin\Desktop\robocopy_log.txt

The RAMDisk.img file that I'm copying is a compressed image file. Now with that syntax /COPYAT will be used which means that it will copy all attributes of that file. Whenever I run this, I successfully copy the file but it doesn't retain the compression attribute of that file.

What could be wrong with this? Both source and destination are NTFS-formatted.

A:Backing up files using Robocopy

Although compression is indicated via a file's attributes, I'm not sure if that particular property actually transfers with the copy, even with Robocopy. If you copy to a compressed folder (folder and contents) then I would think the copy would be compressed. And if that folder is not compreesed, files that are placed there will be uncompressed (even if you are copying a compressed file to that location).

Read other 9 answers
RELEVANCY SCORE 37.2

Hi there,

New to the forum, please go easy

I've got a robocopy moving a file using /MOV from one folder to another.

Is it possible to add a second destination so that the contents of the original folder will be moved to both destination folders? How would the syntax look? (below is current syntax)

robocopy "\\source path" "\\destination path" /S /E /V /NP /MOV /XD in /R:10 /W:30

Thanks

A:ROBOCOPY - /MOV to two destination folders

Hi mate.

You could do two things:

1. You can try to use ROBOMOJO to run multiple robocopy jobs
more info here: Running multiple Robocopy jobs in one batch file

or

2. You can run two separate robocopy jobs, with 10 minute interval between them.
Check this post: One source to multiple destinations with Robocopy

Hope this helps.

Read other 2 answers
RELEVANCY SCORE 37.2

Gentlemen I need a nudge to get Robocopy going. We have 2 HDDs with our data on board. Recently I dropped the original from my desk to the floor. Its dead. Real dead.

So now there is one...... left.

I want to Robocopy it - the entire HDD (located drive F) name for drive is Terra 3.
I have an empty 3Tb HDD waiting to receive the contents (located drive H) folder name> Terra 3 Back Up

Write the steps & the formula please. I'm way too nervous. If I lose T3 I'll need to contemplate a window exit.

A:Robocopy - nudged required

ROBOCOPY is a folder copier, not a file copier. Thus, you need to specify each folder individually. Lets assume you have 3 folders called A, B and C. Each of those may have sub-folders beneath them, and each of these contain several files.

Create a .bat file on your desktop as follows, then run it as administrator.


Code:
robocopy F:\FolderA H:\"Terra 3 Backup" /copyall /e
robocopy F:\FolderB H:\"Terra 3 Backup" /copyall /e
robocopy F:\FolderC H:\"Terra 3 Backup" /copyall /e
The copyall switch copies all the file attributes. The /e switch copies any subfolders even if they are empty.

Since this is the first time you are copying (and presumably its a once off) I would use XCOPY instead, since you do not need to copy each folder. ROBOCOPY holds no advantage over XCOPY for a one-off job.

In an elevated CMD window, type as shown below, and hit enter:


Code:
xcopy F:\*.* /V /E H:\"Terra 3 Backup\
/v verifies each file after copying
/e copies all folders/sub-folders even if they are empty

Useful information if you insist on using ROBOCOPY:
ROBOCOPY - Create Backup Script

Read other 2 answers
RELEVANCY SCORE 37.2

Hi

In Windows 8.x, should I move the entire contents of a directory (containing files and directories) in a Media sub-directory.

I have:


Code:
c:\Test
c:\Test\<File_name1>.txt
c:\Test\<File_name2>.txt
c:\Test\b
c:\Test\c


I have tried with the command


Code:
robocopy c:\Test c:\Test\Media /move


but it only moves the files of the Test directory.

How come the move option of robocopy acts like the mov option that is to say moves only the files and not the directories?

So, how do I move even the directory?

Thanks

Bye

A:Robocopy /move problem

Hello balubeto,

You can trythis:
First, create a new folder named "Test" under "C:\Test\Media", then enter the following code:
robocopy c:\Test c:\Test\Media\Test /move

If you want to move the whole "Test" directory, you cannot do it because the location you want is still under "Test" directory.

Read other 4 answers
RELEVANCY SCORE 37.2

Hi,
So I've just got myself a Crucial M4 256GB and want to move my existing Win 7 x64 installation off my HDD and on to my SSD.
I've done all the preliminaries in Diskpart and have the drive marked as active. The last step is to copy all the files across (rather than use cloning software) with Robocopy.

However, even in an elevated command prompt I'm getting 'Access is denied' errors on the important stuff.

The command I am using is:

Robocopy e:\ h:\ /e /copyall /dcopy:t /r:0

(e and h being what Vista has assigned each drive when trying it in that)

also tried the /sec switch with no joy.

I've tried this using the Windows 7 install DVD and within Windows Vista x86 (the HDD is a dual boot with 2 partitions; one containing 7 x64 and the other Vista x86).

Any help on this one, please?

A:Installed new SSD - Having Robocopy failures.

I've added the /b switch in to the command line which seems to now allow copying of files previously denied. Shall see if this has done the trick once the copy completes.

Read other 3 answers