Well I did a backup from Server A and tried to restore the course on Server A..(same server) and it didn't work. And I have no idea why. So, the backup should have the Exact same upload directory, as the restore. right?
I also tried it from a different server, but the problem exists in both cases.
By the way, thanks for helping