@girish aftering giving both redis and the app a load more memory the import worked fine. I don't know why I didn't just try that before to be honest.
I'm not sure how it managed to half-work before so that the apps was running and the import seemed to have worked, but without the users, but I've just done the back import again and the users have re-appeared, so panic over. Phew.