[英]Moving updated version of WordPress site into live site from QA Server to Live Server
I have a live WordPress website which is based on WooCommerce, now I have another website (uploaded on QA Server) which is updated version of live site, Some extra plugins also installed in it. 我有一个基于WooCommerce的实时WordPress网站,现在我有另一个网站(已在QA Server上上传),它是实时网站的更新版本,其中还安装了一些额外的插件。
Now I have to replace live site with Updated version of it which is uploaded on QA Server, plus I have to save all transactions of live site (so replacing database is not a good option). 现在,我必须用更新后的版本替换实时站点,该更新版本已上传到QA服务器上,而且我还必须保存实时站点的所有事务(因此替换数据库不是一个好选择)。
What to do? 该怎么办?
Then hit "Download Export File" button. 然后点击“下载导出文件”按钮。 You'll get an xml file as download.
您将下载一个xml文件。
Now move on to the LIVE site,login to admin panel. 现在转到LIVE站点,登录到管理面板。
Transactions will be imported on the live site. 交易将在实时站点上导入。
My favorite tool for migrating WP databases is: WP Migrate DB Pro 我最喜欢的用于迁移WP数据库的工具是: WP Migrate DB Pro
But the answer largely depends on what you've updated on the testing site. 但是答案很大程度上取决于您在测试站点上所做的更新。 Using the above plugin you could pull all the database tables except
wp_posts
and wp_postmeta
and that should get you any new options you've configured with your new plugins without overwriting your Orders. 使用上述插件,您可以拉除
wp_posts
和wp_postmeta
之外的所有数据库表,这将为您提供使用新插件配置的任何新选项,而不会覆盖您的订单。
Granted this means you would you not automatically pull in any new pages/posts/products, etc either. 授予这意味着您也不会自动引入任何新页面/帖子/产品等。 But for that could use the Import method described in sanki's answer.
但这可以使用sanki的答案中描述的Import方法。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.