Turn manual setup into a step-by-step script.
Recent revisions are kept. Restoring one creates a new revision.