If you have a config and need to restore a whole stack. - Turn off all except primary - Factory reset - Load config - set stacked ports to stacked mode - reboot switch 1 - power on other switches and factory reset