How to transfer user data (profiles and content) from one UNA site to another?

Hello UNA Team

I have a dev site of a new project (Site A) that I am working on but it's not completely ready yet. All the apps are installed but I still have some works and customizations to do on it to get it the way I want it to be.

I am running out of time as I have a Google Ads promotional coupon that will expire soon. I don't want to loose it.

So, I would like to clone my dev site (Site A) at the stage it is currently to create another website (Site B) that will go live, even unfinished, in order for me to run my Google Ads. I don't want to miss those leads from Google.

Meanwhile, I will continue working on my dev site. It will take me some time, maybe a couple of weeks.

Once my dev site (Site A) is ready, I will switch it to production mode. Then I copy all the user data (accounts, profiles and content: photos, videos, forum, blog posts etc) only, not the whole database, from the cloned and unfinished website (Site B) to the finished one (Site A), the original website that was on the dev mode.

Note: Both websites are on the same server and the same remote storage (Wasabi) but separate buckets.

How to achieve that?

Thanks

  • 409
  • More
Replies (5)
    • The biggest challenge I see in merging databases, because of the remote storage bucket. Note that you cannot share one bucket for both databases. That will result in conflicts, with one overwriting the stored data of the other bucket. Had to learn that the hard way, myself.

      • They will be on separate buckets.

        • Hi dear @Alex T⚜️ . Please any help on this one? Thanks

          • There is no easy way to do it, I would suggest to transfer all the changes instead from dev site to production instead, if you will keep track of the changes then you can reapply changes on production site, also we have import/export for different builders (pages, menus, etc) so you can copy this structure from one site to another.

            • Ok @Alex T⚜️ . Thanks a lot for your reply. Yes, I understand. but that's going to be cumbersome because there are a lot changes. It will be tricky to apply them to production manually, specially as production is a temporary and unfinished site.

              What about just importing accounts only? (name, email, password, and account status if verified or not) from that unfinished production to the finished dev site, then turn the copy of that dev site to production?

              It will force members to start from scratch and create new profile and content, right? I will loose members content but, at least, I will have their account information so that they can start over.

              What do you think about that idea? In this case, what database tables should need to export/import to get the accounts only to work properly on the new site?

              Hope it makes sense.

              Thanks.

              Login or Join to comment.