Stream your subgraph data into your database.
Recent revisions are kept. Restoring one creates a new revision.