Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 4349
  • Last Modified:

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

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
Romolo
Asked:
Romolo
  • 4
  • 3
1 Solution
 
Tony GiangrecoCommented:
use the XF file to ignore it.
0
 
RomoloIT Professional ConsultantAuthor Commented:
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
 
Tony GiangrecoCommented:
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
Creating Active Directory Users from a Text File

If your organization has a need to mass-create AD user accounts, watch this video to see how its done without the need for scripting or other unnecessary complexities.

 
RomoloIT Professional ConsultantAuthor Commented:
What happens if I end... can I then start and it will contionue or skip everything already done.
Thx
0
 
Tony GiangrecoCommented:
Yes, it should skip over all files that have already been copied or are duplicate.
0
 
RomoloIT Professional ConsultantAuthor Commented:
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
 
RomoloIT Professional ConsultantAuthor Commented:
Assuming answer correct as I resolved issue myself via a different method.
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 4
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now