is the Lion download (available from Apple at $19.99) an upgrade or a full install?

I can buy a copy of OS X Lion but am not sure if it is an upgrade only or a full install.
I need a full install as I have had to replace my hard drive and my Time Machine backup does not restore!
Help!