Im not sure of this would have solved my problem, but I made a copy of the file and then recovered one of the backups from a few days ago. It worked fine then. The path name length didnt change and the backup file is working.

Thank you for your help though. I will bare this in mind if i get the error again.