Connect your app and scope its database access.
Recent revisions are kept. Restoring one creates a new revision.