RESTORE — putting configuration back
Every RESTORE code lemonfiber raises, what it means, and what to do about it.
Raised by lemonfiber restore. Every one of these refuses before anything is overwritten except RESTORE-6 and RESTORE-10, which are the two that reach you with files already written.
What each severity and each exit means is on every error by code, beside every other family.