How to recover from a partial auto blog migration without starting over: Fix the pieces that moved, not the whole migration. A partial auto blog migration…
Last updated: November 28, 2026
Fix the pieces that moved, not the whole migration. A partial auto blog migration is usually recoverable with a fresh backup, a clean export file, and a careful re-import of only the missing posts, media, or database tables. Starting over is only the right move if the destination is too corrupted to trust.
Key takeaways
- Treat a partial migration as a repair job, not a reset.
- Make a restore point before touching the destination again.
- Re-import only the missing content, then stop duplicates before they spread.
- Use the export file, database tables, and media library as separate checkpoints.
- If the destination is already messy, clean it first instead of rerunning the same import.
What partial migration recovery means
A partial migration recovery means you finish the missing parts of the move without wiping the destination site. In WordPress terms, that usually means some combination of posts, pages, categories, featured images, attachments, or custom fields made it across, while other pieces did not.
This is the right approach when the destination still works and the damage is limited. It is not the right approach if the database import failed halfway and the site now shows broken tables, missing users, or a plugin that cannot read its own data. In that case, a restore from a known-good backup is safer than chasing each broken row.
The mistake many people make is treating the source export as a single switch. A WordPress export file, often in WXR XML format, can be valid even when the destination import only brought in part of the content. That means the file may be fine, while the import settings, media handling, or database table mapping caused the split.
A useful rule: if the destination has at least one stable restore point and the source export is still available, you can usually recover incrementally. If neither exists, the repair becomes guesswork. WordPress’s own importer and export tools are built for content transfer, while lower-level database tools deal with tables like wp_posts, wp_postmeta, and wp_terms.
Which backup should you trust first?
You should trust the most complete backup taken before the failed import, then make a new restore point before you change anything else. That means checking both the files and the database, because a partial migration can leave one side intact and the other side inconsistent.
The first useful backup is the one that lets you return the destination site to a known state in a single step. That may be a site restore tool from your host, a database dump, or a full file backup that includes the uploads directory. A restore point matters because every retry can create duplicate posts, duplicate attachment records, or extra taxonomy terms.
Use this order:
- Freeze the destination. Stop new publishing, scheduled imports, and sync tools so the site does not change while you inspect it. The goal is a stable target, not a moving one.
- Copy the current state. Save a full backup of the destination files and database before you edit anything. If you need to compare later, this is your proof point.
- Confirm the source export file. Check that the export file still opens and includes the content types you expected, such as posts, pages, media references, or custom post types.
- Check the media library. Look for missing attachments, broken image paths, or duplicate files with the same names. Media problems often hide even when posts import cleanly.
- List the failure zone. Decide whether the gap is in the database tables, the media library, or the content export. That one decision keeps the recovery small.
If the backup is older than the source content you still need, do not use it as a final fix. Use it as a reset point, then re-import the missing material from the export file.
How do you recover from a partial auto blog migration without starting over?
You recover by rebuilding the missing pieces in a controlled sequence: restore the destination to a clean checkpoint, re-import only the missing content, and then clean duplicates before publishing again. The safest path is incremental, not all-at-once.
- Restore the destination to the last clean point. Use your site restore tools to roll back the half-finished import if the site is visibly broken. If the site still functions, keep the current state and work from a backup copy instead.
- Identify the missing scope. Decide whether the loss is posts, media, categories, or database tables. A partial migration of images needs a different fix than a partial migration of post metadata.
- Re-import the export file in smaller chunks if the tool allows it. A WordPress importer often handles WXR files better when you split the job by content type or date range. The result should be a smaller, more predictable batch.
- Map attachments carefully. If media failed, reattach files from the
uploadsfolder or rerun the media import step. A post without its image is still incomplete, but it is easier to repair than a broken database row. - Check table-level data if custom fields are missing. If the posts are present but the layout, metadata, or plugin content is not, the issue may sit in
wp_postmetaor another plugin table rather than the main content export. - Stop duplicates at the source. Before you run anything again, make sure the importer uses unique identifiers, skips already imported items, or replaces existing records instead of creating new ones.
- Do a cleanup pass. Remove duplicate posts, duplicate media files, orphaned terms, and empty draft shells. This is where many repairs either become neat or become worse.
- Save a new restore point. Once the repaired state is stable, create a backup that reflects the fixed site. That becomes the fallback if the next step goes wrong.
The key trade-off is speed versus control. A full rerun feels simpler, but it often creates new duplicates faster than it fixes missing content. A partial repair takes longer, yet it keeps the damage limited.
How do you avoid duplicates when retrying the import?
You avoid duplicates by making the importer recognize what is already there before it writes anything new. That usually means matching on IDs, slugs, filenames, or another stable field instead of importing the same content as if it were new.
The safest habit is to assume a retry will duplicate something unless you prevent it. WordPress importers can create new posts even when the title looks the same, because the system tracks internal identifiers, not just visible names. The same problem shows up in the media library, where one image file can end up attached twice under different records.
Use this comparison when you choose a retry method:
| Retry method | Best use | Main risk | Good for |
|---|---|---|---|
| Rerun the same import file | Small, clean content sets | Duplicate posts and attachments | Simple blogs with few missing items |
| Split the export into smaller batches | Large or mixed content sets | More manual checking | Partial failures tied to a date range |
| Restore first, then re-import | Broken destination state | Overwriting newer changes | Sites with a clear clean checkpoint |
| Edit the database tables directly | Advanced repair only | Table damage from one wrong edit | Missing metadata or orphaned records |

If the importer has a “skip existing” or “replace existing” option, use it. If it does not, work with a smaller batch and inspect the result before you continue. Duplicates are easier to prevent on the second run than to remove after a full re-import.
A common mistake is deleting duplicates by hand before checking the attachment paths. That can break featured images or custom fields if the duplicate record was the only one with the correct media link. Delete carefully and keep one stable record per item.
What cleanup steps matter after the repair?
The cleanup steps that matter most are the ones that remove orphaned data and make the destination predictable again. That usually means duplicate posts, duplicate media files, broken attachment links, and empty taxonomies.
Start with the media library. If the site shows the same image more than once, keep the version attached to the correct post and remove the extra record only after you confirm the file path in uploads. If filenames changed during import, the attachment may exist twice even when only one file is on disk.
Then clean the content layer. Look for posts in draft, pending, or trash status that were created during the failed import. Those records can clutter searches and make the site look fuller than it is. If custom fields are missing, check whether the field group plugin stores data in another table or expects a resave step after import.
Next, check database tables that often hold migration leftovers: wp_posts, wp_postmeta, wp_terms, wp_term_taxonomy, and wp_term_relationships. You do not need to audit every row, but you do need to spot obvious mismatches, such as a post with no attachment, a category with no posts, or a term that appears twice under different slugs.
Finish by making the repaired site behave like a normal site again. Clear any import queue, disable temporary migration plugins, and save permalinks if the site uses custom post types. The standard WordPress permalink structure can hide problems until a visitor lands on a broken URL.
When should you stop repairing and start over?
You should stop repairing and start over only when the destination is too inconsistent to trust. That happens when multiple core tables are broken, the media library no longer matches the files on disk, or the same import has been retried enough times to flood the site with duplicates.
A good cutoff is simple: if you cannot identify the missing pieces in one pass, the recovery is already turning into a rebuild. At that point, another import attempt may waste more time than a clean restore from backup. This is especially true when the source export is incomplete or the site uses custom tables that the importer does not understand.
This is not the right fix for a site that lost everything. It is for a site that still has enough structure to rescue. A repair works best when you can point to one missing part, one backup, and one next step. If you cannot name those three things, step back and restore the whole site first.
For reference, WordPress’s own import/export documentation on WordPress.org and the developer documentation on import and export explain the core tools behind this process. They are the right starting points for the built-in WXR flow and the standard WordPress data model.
What should you document before the next attempt?
You should document the restore point, the export file, and the exact part that failed before you retry anything. That record turns the next fix into a short repair instead of another mystery.
Write down which content moved, which content did not, and which tool created the partial result. Include the WordPress version, the export format, the database tables involved, and the folder path for media files. A note with those details helps you avoid repeating the same failed step twice.
Keep one clean backup of the repaired state and one clean backup of the source state. If the next import goes wrong, you want two known points, not one uncertain pile of files. That is the difference between a controlled recovery and a second partial migration with the same problems.
Can I rerun a WordPress import safely?
Yes, if you protect the destination with a restore point and use the importer carefully. The safer path is to rerun only the missing content, not the full file with no checks. If the importer has skip-existing or replace options, use them; if not, work in small batches and verify the result before continuing.
How do I avoid creating duplicates when retrying a migration?
You avoid duplicates by matching on stable identifiers and not relying on titles alone. Check whether the importer uses post IDs, slugs, filenames, or attachment references, then keep already imported records out of the second pass. A duplicate cleanup is always harder than duplicate prevention, especially in the media library and wp_postmeta.
Drafted with AI; not yet reviewed by a person.