saving config and priv to chain file for restart and reporting