Image restored to wrong disk!

OK I wasn't watching.  I have 2 HDDs one for the systemand all software and one for all my data labelled C drive and D drive (no surprise there).  When I attempted to restore the C drive using Ghost it wrote the image over the D drive!!.

Now I have a potential reason for this but don't know how to make sure this doesn't happen again.

 

I began with one 1TB HDD drive partitioned as C and D drive.  I bought another smaller drive, installed it and set it up as my C drive and used the original 1TB drive ( with partitioning removed) as my 'D' drive.  I removed windows from the old drive leaving just the data behind and reinstalled my system from scratch on the new C drive.

Somehow even though I backup the system regularly something retains the knowledge that the system belong(ed) on what is now the D drive!!

I don't want to have to rebuild the system again so can someone tell me how to prevent this disaster infuture?

Have I left something on the old drive that identifies it as a boot drive and therefore a system drive?

Should I delte all the backups and re run?