Solved

Robocopy - stuck on bogus files.. can I skip whilst running

Posted on 2013-06-03
7
2,287 Views
Last Modified: 2013-06-03
Hey..

I have the wait 30 seconds on a robocopy thats done many many gigs.

Can I just skip current file as its NOT open.. its a rubbish error. I have not set max retries, just went with:
robocopy <source> <destination> /e /zb /dcopy:T /sec /copyall

Don't want to do again as I assume robocopy does not start where it was terminated.

Many thanks in advance.. I am against the wire.. so look forward to a quick response.

Cheers T
0
Comment
Question by:roycasella
  • 4
  • 3
7 Comments
 
LVL 25

Expert Comment

by:Tony Giangreco
ID: 39217630
use the XF file to ignore it.
0
 
LVL 7

Author Comment

by:roycasella
ID: 39217633
But I am already running and it is stuck. I'm familair with xf switch.

I don't want to cancel and start again.

How do I get around this without losing the 5 hours already invested in it. (I have 4x running... 2x are stuck).

Thanks

R
0
 
LVL 25

Expert Comment

by:Tony Giangreco
ID: 39217640
I've never seen any method of modifying a running robocopy job without killing it, updating the script and rerunning it.

We run robocopy jobs nightly over USB 3.0 connections moving over 400 gigs of backup files within 1.5 hours.  I suggest upgrading your connections. It may shorten all future run times.
0
Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

 
LVL 7

Author Comment

by:roycasella
ID: 39217647
What happens if I end... can I then start and it will contionue or skip everything already done.
Thx
0
 
LVL 25

Accepted Solution

by:
Tony Giangreco earned 500 total points
ID: 39217657
Yes, it should skip over all files that have already been copied or are duplicate.
0
 
LVL 7

Author Comment

by:roycasella
ID: 39217678
I was able to unlock the file in the end with an unlocking util... so Robocopy is still going so cannot test if I can skip etc...
However, take your word for it.. Thanks for the response
0
 
LVL 7

Author Closing Comment

by:roycasella
ID: 39217679
Assuming answer correct as I resolved issue myself via a different method.
0

Featured Post

Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

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

ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
This tutorial will show how to push an installation of Backup Exec to an additional server in both 2012 and 2014 versions of the software. Click on the Backup Exec button in the upper left corner. From here, select Installation and Licensing, then I…
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles to another domain controller. Log onto the new domain controller with a user account t…

803 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