Build your Android backend around RevenueCat.
Recent revisions are kept. Restoring one creates a new revision.