Although I personally did not perform a migration like that. I think you should be able to migrate the data with the external database connector module: https://marketplace.mendix.com/link/component/219862
Setting up the connection access to the cloud version of the outsystems database is described here: https://success.outsystems.com/support/enterprise_customers/maintenance_and_operations/access_the_database_of_your_outsystems_cloud/