Salesforce metadata with field access covered.
Recent revisions are kept. Restoring one creates a new revision.