Keep data after building openfire source code, re-install or run sh script

I’ve got openfire server already installed on a unix system. I changed the source code then compiled it with ant. Now what do I have to do in order to keep the data in my database?

Many thanks!