Ship your macOS app with signed update installers.
Recent revisions are kept. Restoring one creates a new revision.