You can copy the content of your WordPress website
including files and database to another WordPress website.
Let us say you maintain a non-public (staging) version of a WordPress
website on a separate domain or subdomain and a publicly available
(production) version of this website on a production domain. You may want
to copy data from one website to another in the following situations:
- You want to copy the changes you have made to the staging version to
the production version. - You want to copy the data from the production website to the staging
website to see how the changes (for example, a new plugin) work with the
production data. After checking that everything works fine, you may
copy your changes to your production website. - You have made some changes (for example, installed a new plugin) to
the staging website, and these changes resulted in new tables being
added to the database. You want to copy only these tables to the
production website without affecting other data. - You have upgraded the staging website to a newly released version of
WordPress and fixed the post-upgrade issues (if any). You now want to
push these changes to the production website. - You can choose to copy the WordPress files, the WordPress
database, or both the files and the database. When copying the
database, you can choose to copy all tables, or tables that
are present on the source but absent from the target, or
you can specify individual database tables to be
copied.
When performing the copying, keep in mind the following:
- The selected data are copied from the source website to the target
website. Any files and/or database tables present both on the source and
the target that are not identical are copied from the source to
the target. Files and database tables present only on the
target are not affected unless you select the “Remove missing files”
option during copying. - During copying, the target website enters
maintenance mode
and becomes temporarily unavailable. - If the WordPress version on the target website is earlier than on
the source website, WP Toolkit first upgrades WordPress on the
target website to match the version installed on the source website,
and then runs copying. - If the WordPress version on the source website is earlier than on the
target website, copying is aborted. To copy data,
you need to upgrade WordPress on the source to the version installed
on the target or a later version. - If the database prefix on the source and the target differs,
WP Toolkit will change the database prefix on the target
website to match that on the source during copying. - Copying of data between a regular WordPress installation and a
multisite one is not supported. We…