Turn your documents into a Neo4j knowledge graph.
Recent revisions are kept. Restoring one creates a new revision.