It seems the hard way. Cannot you query the parameters values via the web interface? It should be easier to restore the form later.