Added the ability to restore from a backup.