Re-start installation? what you mean by that?
you shouldn't be restarting installation from scratch for no apparent reason, if your moodle was running fine, all you had to do is run moodle and use it as before. If it started re-install, means your moodle config.php file must have removed or altered.