restoring a backup file


Android Question

guys, i just managed to flash cyanogenmod on my samsung galaxy note 1 gt-n7000, and i want to restore all my contacs and apps etc.
if i booted into custom recovery and did a restore backup, would it actually delete cm? or just retrieve all my settings, apps etc?
ps. its my first time rooting and flashing a rom, quite happy