split out export routines

We need the ability to export without the full update process.

Change-Id: I5aead08f928f91f7f8317db1b85dfa56c64ac21e