Encountered an error while restoring from a backup

Worth a try. It depends on your traffic. I have just 40-50 daily active users, and two unicorns is fine.

Another point: if swap is maxxed out you should add swap. It can’t do any harm, and it might save you from bad consequences of processes being killed.