Solved

xxcopy software missed files

Posted on 2014-02-13
7
328 Views
Last Modified: 2014-02-17
using free software called xxcopy, very similar to xcopy in DOS.  I used the following command:

xxcopy  "\\workstation1\Home Public\" \\station1\files /H /E /C /K /S /oN:c:\missedlog.txt

moved about 70GB of data from \\workstation1 to \\station1, it took 24 hours to complete.  both of these drives were on my ethernet network (10/100 Mbps ) and they both had ip addresses.  my question is, why did xxcopy miss a bunch of folders.  Not only did it miss them it also did not show up in my missed log text file.  It makes me wonder how many other files could have been missed.  anyone know why or ever experienced something like this?

also, the actual xxcopy software was installed on my wireless laptop.  So I ran the command from there, not sure if that was a good idea or whether or not it being wireless mattered.  does it, if so how?
0
Comment
Question by:jkimzlg
  • 3
  • 3
7 Comments
 
LVL 53

Assisted Solution

by:Bill Prew
Bill Prew earned 450 total points
ID: 39858052
Well, running the copy off a third computer, on a slower wifi connect, will certainly slow down the copy process.  I believe XXCOPY was copying the data from the source computer to your laptop, then sending it on to the destination computer, file by file.  So that would be slow.  If possible you should run the copy right on one of the servers.

As far as the skipped file, you might try adding the /V option to get more output about files selected and skipped during the copy.

Also, check for any commonalities among the skipped folders or files.  Or could they have been opened when the copy was running?

~bp
0
 
LVL 1

Author Comment

by:jkimzlg
ID: 39858069
thanks for the response, sounds about right that the files were going to the laptop wirelessly file by file, ugh!  ya nothing was open, every pc was shut down.
0
 
LVL 83

Assisted Solution

by:Dave Baldwin
Dave Baldwin earned 50 total points
ID: 39858127
xxcopy might miss directories or files because it did not have permission to access them.
0
The New “Normal” in Modern Enterprise Operations

DevOps for the modern enterprise offers many benefits — increased agility, productivity, and more, but digital transformation isn’t easy, especially if you’re not addressing the right issues. Register for the webinar to dive into the “new normal” for enterprise modern ops.

 
LVL 53

Assisted Solution

by:Bill Prew
Bill Prew earned 450 total points
ID: 39858817
Agreed on permissions, and during some testing here it doesn't seem there is a switch combination that causes those to be logged.  You can get some visibility to files skipped due to them being opened by other programs at the time of the copy with /oS2 /Q0, but I haven't found a way to log permission based skips.

I posted on an XXCOPY users forum, I'll see if anyone has any thoughts there.

~bp
0
 
LVL 1

Author Comment

by:jkimzlg
ID: 39859775
thanks billprew. let me know what you find.
0
 
LVL 53

Accepted Solution

by:
Bill Prew earned 450 total points
ID: 39864663
What version of Windows are you running XXCOPY on?

If Vista or above, are you using UAC?

If using UAC, when you run XXCOPY, does it prompt you for permission to elevate privilege?

If you want to try a test there, try the following command line and see what the log contains.  It should show copied files as well as files it couldn't copy.  Add a /L for testing mode, and it won't copy anything, just simulate the copy and show the files it would have copied (or not copied).

xxcopy /L "\\workstation1\Home Public\" \\station1\files /H /E /C /K /S /Q0 /oS2 /oE2 /oX2 /oF2 /oN:c:\missedlog.txt

Open in new window

~bp
0
 
LVL 1

Author Closing Comment

by:jkimzlg
ID: 39865284
ya I turned off UAC completely.  Thanks for your help.
0

Featured Post

How Do You Stack Up Against Your Peers?

With today’s modern enterprise so dependent on digital infrastructures, the impact of major incidents has increased dramatically. Grab the report now to gain insight into how your organization ranks against your peers and learn best-in-class strategies to resolve incidents.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

TOMORROW TOMORROW.BAT is inspired by a question I get asked over and over again; that is, "How can I use batch file commands to obtain tomorrow's date?" The crux of this batch file revolves around the XCOPY command - a technique I discovered w…
How to remove superseded packages in windows w60 or w61 installation media (.wim) or online system to prevent unnecessary space. w60 means Windows Vista or Windows Server 2008. w61 means Windows 7 or Windows Server 2008 R2. There are various …
The viewer will learn how to count occurrences of each item in an array.
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question