There was an error restoring my backup

SLS needed.
When restoring from admin managed backup it shows "There was an error restoring your backup". If you do this via the upload and install.php then it works except the backup appears to be missing loads of files.