Legality concerns the license and not the media
It doesn't matter if you have the original CD or a backup. It doesn't matter if you only have the setup files, regardless of their origin. To be legal you just need a license key that you legally own.
Keep Up with TechRepublic