I have had this error too when restoring a wordpress site. It occurs near the end when processing the ‘others’ section.
I successfully restored a backup to my website in a subfolder that has a sub domain pointing at it. I tried restoring exactly the same backup to the main website area and I received this error. So it can’t be my host blocking with firewalls or security modules surely? If I try to restore a backup of the main website to restore it back to the way it was, that is also successful. It only seems to be a problem when I try to restore a backup of a sub domain onto the main site area.
Any ideas?