Add metadata for state backups.

This is part of my effort to split up the work for backups into a few smaller patches.
I'm dropping that too.  I was trying to link ID to a timestamp for the sake of consumers of the API (a formatted timestamp is more human consumable).  However, after feedback I'm not convinced it's worth the trouble.