Encountered an error while restoring from a backup

I believe it’s happening due to the ongoing restoration process.
The previous issue has been resolved.
However, we’ve encountered another problem where both our memory and swap are fully utilized, resulting in a significant slowdown of our site. I’m struggling to identify the cause.
Would anyone be able to offer some insights?
Thank you very much!