Does Strapi transfer also move data stored in a database?

Yes, take a look at the recommended development flow code-wise: FAQ | Strapi Documentation