Add parameter to restore function

We can now specify the name of the node to restore from if we want, so now we can restore from the backup of an existing node with a different name. Fixes #8