I use mc as it is the only S3 client that can reliably resume uploads. I frequently make uploads that take multiple days, and the upload connection reliably dies every few hours or so. As is, I have to keep an eye on this, and resume manually. Large/long uploads can require me to manually resume dozens of times for successful completion.
I'd like to request an auto-resume feature. Ideally this would attempt to auto resume transfers after, say 60 seconds (or even better a user-defined resume waiting period).
mc cp
already resumes if you retry again. Rather than having mc cp
to retry and auto resume` you could easily script this out.. wouldn't it be better @accaldwell - Because it is not an expected behavior for everyone.
mc cp already resumes if you retry again. Rather than having mc cp to retry and auto resume` you could easily script this out.. wouldn't it be better @accaldwell - Because it is not an expected behavior for everyone.
Closing this as a non issue / out of scope for the moment.
@harshavardhana mc cp
does not auto-resume properly if -r
is used. It only works as you described when the -r
is not used.
This is my script:
````
until "$@"; do
echo Tansfer disrupted, retrying in 10 seconds...
sleep 10
done
````
Every time, it restarts from zero (it's obvious at the end of the screenshot).
On the contrary, if I use the resume
command, it works as intended. I think this should be considered for fixing because it is easier to script it like I did instead of parsing out the resume command each time.
@harshavardhana Is there any update on this? I'm encountering some similar issues when using the mc cp
command. Maybe an additional flag would be useful e.g. mc cp -r --retry 10
(retry 10 times using exp backoff?).
@kapolos did you figure out a workaround yet?
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Most helpful comment
@harshavardhana Is there any update on this? I'm encountering some similar issues when using the
mc cp
command. Maybe an additional flag would be useful e.g.mc cp -r --retry 10
(retry 10 times using exp backoff?).@kapolos did you figure out a workaround yet?