If it takes longer than 100s, you’d experience 524 timeout.
I’d suggest you to use “Pause Cloudflare for this Website” from the CF dashboard → Overview at the bottom right.
Once completed, un-pause and continue using Cloudflare.
Otherwise, temporary switch proxied to unproxied (DNS-only).