Simply backup and restore your domains in GlassFish Using GlassFish Command Console