A quick way to make a backup of your registry is to select File > Export from the menu of the registry editor. You can choose to save the complete registry, or only the key you whish to make changes to.
If you need to reverse the changes you made, you will just double-click on the exported registry entry, and it will be imported into your registry.