Page 1 of 1

XYcopy pause on large files restarts

Posted: 16 Nov 2012 03:59
by Stilez
This is one of those which could be a bug or a wishlist. Either way it's not ideal and since XYplorer doesn't do what the button says, I hope Don's okay with it going down as a bug :biggrin:

I happened to be doing a database backup. Monolithic 70GB file and verification (no chances!). I needed to check something that was running too slow so I paused it mid copy. When I resumed, instead of resuming the copy where I left off, XYcopy resumed by restarting from the last complete file - and since I was only copying one file it went back from 70GB copy + 29GB verification done, to 0+0. Because the run was just one file, "resume" was a complete restart.

Can this behaviour be improved in some way so that XYcopy keeps a lock on the files and resumes where it left off (or at least resumes at the start of the verify cycle if it's done the copy).

If not then is there a way to mitigate this (for example if at least if more than 60 seconds into a file can the user be warned that "pause" will restart and not resume current file?)

Re: XYcopy pause on large files restarts

Posted: 16 Nov 2012 09:27
by admin
This is how it works currently. I have plans to improve this though.

Good idea about mitigating it. I'll do that.

Re: XYcopy pause on large files restarts

Posted: 27 Nov 2012 09:59
by admin
No feedback on my changes from v11.70.0113 - 2012-11-17 14:06?

Code: Select all

    * Custom Copy | Progress Dialog | Pause: Now you are prompted before 
      the process is paused. This prompt alone might often be already 
      all the pause you need, so you need not "really" pause the 
      processing (with the possible disadvantage that processing resumes 
      with processing the current again from start).

Re: XYcopy pause on large files restarts

Posted: 27 Nov 2012 13:54
by Stilez
admin wrote:No feedback on my changes from v11.70.0113 - 2012-11-17 14:06?
That's trust, Don :biggrin: :biggrin: :biggrin:

When you say you have plans to improve, you'll do some mitigating, and the beta forum changelog says some simple but sufficient mitigating got done, then there didn't seem much need to comment more :)

Howeverrrrr... if you want feedback..... no need to prompt the pause unless current file has done more than X amount (mins/secs) of the copy or verify cycle. That should mean users don't get a prompt unless likely to be helpful. Reasoning -
  • 1) Restarting a copy, or a verify, cycle from the beginning is trivial - if the copy phase has completed and the pause is during verify, we only need to restart the verify (which will catch any changes anyway).

    2) Restarting a copy or verify that's run for only a small time (say < 20 seconds) is unlikely to be a significant restart delay in most cases, it means that in the vast majority of operations a pause won't get the confirming prompt, which is smoother. (It also automatically handles varying media, media speed, hardware, system load, etc, as it's in seconds not MB/GB)
Perhaps a config file option "seconds before xycopy pause" with default about 15 - 20? As someone out there is sure to want to configure it :)

Re: XYcopy pause on large files restarts

Posted: 27 Nov 2012 14:30
by admin
Thanks for the feedback, and for the trust. :)

Well, I more and more think that the prompt IS the pause. What else should be needed? So maybe instead of OK/Cancel I should simply do a Continue button in the prompt.