Importing large WXR when migrating from wordpress.com
-
I’m importing a WXR file to migrate a wordpress.com site to a fresh site in a www.ads-software.com multisite network. The WXR file was created using the export tool to export All Content. The import is to be done in an SSH session, using WP-CLI’s wp-import command like so:
wp import /path/to/wxrfile.xml --authors=/path/to/mappings.csv --url=https://site.example.com --debug >> /path/to/import.log 2>&1
If wp-import quits (e.g., due to insufficient resources) before all the items in the WXR file are processed, will a subsequent run (after adjusting the resource limits) skip the items processed in the previous run and still maintain the intra-site relationships of all the content and its metadata as represented in the WXR file?
IOW, if I want to replicate the site content in the WXR file, should I delete the content imported in the incomplete run of wp-import before I run it again?
- The topic ‘Importing large WXR when migrating from wordpress.com’ is closed to new replies.