By Julius de Kempenaer on Sunday, 26 February 2017
Posted in General
Likes 0
Views 133
Votes 0
Hi there, I have been working on a new version of our site in a dev environment. While setting up the new site I have copied EB content from the live site to the dev site using the steps provided in the documentation.
In the new situation, which is now still on dev site, I have made some changes to layout, categories etc.
Meanwhile new content and comments have been posted on the live site.
What is the best way to import or sync the newly posted content from the live site to dev site before switching over without losing the changes made on the dev site?
Hey there,

I am really sorry for the delay of this reply as it is a weekend for us here.

May i know what is the changes ( layout, categories etc) do you made from your dev site?

Is it you made some changes from the setting or customised the code from php file?
·
Sunday, 26 February 2017 12:56
·
0 Likes
·
0 Votes
·
0 Comments
·
No custom Php. all from dashboard and settings
·
Sunday, 26 February 2017 17:11
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks for getting back to us, if you only made some changes from this part of settings from backend (screenshot : http://take.ms/Ba7xZ ), you can click export setting button on the setting page (screenshot : http://take.ms/Y83jx ) from your dev site, then import again those latest data from your live site into your dev site.

After that, click import setting button from backend Easyblog setting page, and upload that "settings.json" file then click submit, it will restore back your previous setting, but only the setting part.
·
Sunday, 26 February 2017 17:46
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Alex, thanks for quick reply on the weekend. This solves the settings part. But after that how do I sync or copy the newly added posts/content from the live site to the dev site. Just follow the migration steps again? copy/tables from live to dev in phpmyadmin, re-install EB over the existing installation on the dev site, then push dev site to live and finally import settings-json ?
·
Sunday, 26 February 2017 18:44
·
0 Likes
·
0 Votes
·
0 Comments
·
You're welcome

What do you think if just export the setting json file from your dev site then import into your live site?

So you can save this re-migration step again?

If you would like to do something else, you have to re-migrate again from live site to dev site as you described at above. Because when the new blog post published on the site, it actually associated with a few tables, so it quite hard to only import a few table into your dev site.
·
Monday, 27 February 2017 10:49
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks for confirming what I thought. I will have to do a re-migration just before pushing live. Simply too much changes and cleanup work done to just copy settings.
·
Monday, 27 February 2017 16:21
·
0 Likes
·
0 Votes
·
0 Comments
·
You are most welcome.

As a gentle reminder, kindly start a new thread if you have any other issue in the future so it will be easier for us to manage your inquiry. I will lock and mark this thread as resolved.
·
Monday, 27 February 2017 16:42
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post