Title: WordPress Import &amp; Export
Last modified: August 30, 2016

---

# WordPress Import & Export

 *  Resolved [Mani Kumar](https://wordpress.org/support/users/smartprince/)
 * (@smartprince)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/wordpress-import-export/)
 * Hello every one,
 * Thanks to wordpress having import and export option ! but while we importing 
   posts .. there attachments and all other things are also getting imported ! well
   it’s a nice feature but this feature comes at worst when we importing on same
   domain !
 * for example :-
 * if my domain is `www.example.com` and i got some prob with my wordpress .. so
   i just deleted all things expect WP-Content/uploads (to keep attachment)
 * now if i reinstall wordpress and import old posts from exported files .. there
   attachments are getting uploaded again and again with renamed files… eg – if 
   my file name is image.png then new file will e uploaded with image1.png.
 * this one thing make trouble for us.. because when attachments uploaded again..
   it’s take space … and in post links attachment images are getting change automatically!!!
 * so it’s make conflict between posts and attachments !!
 * please make features like .. if we import exported same files on same domain 
   if importing files are already available then it should import only settings,
   posts etc.

Viewing 7 replies - 1 through 7 (of 7 total)

 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/wordpress-import-export/#post-6333167)
 * The Import/Export system is really made for moving sites, not for restoring backups.
 * Instead, make separate backups of your database and files, which will also allow
   you to recover from much more than just content mishaps: [https://codex.wordpress.org/WordPress_Backups](https://codex.wordpress.org/WordPress_Backups)
 *  Thread Starter [Mani Kumar](https://wordpress.org/support/users/smartprince/)
 * (@smartprince)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/wordpress-import-export/#post-6333285)
 * hey buddy … i can understand it .. but if there system can be .. like – if a 
   media content is already available with same url and name … then only post and
   post settings will be imported !
 * this one features .. will be help to restore also !
 *  [Digico Paris](https://wordpress.org/support/users/digico-paris/)
 * (@digico-paris)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/wordpress-import-export/#post-6333288)
 * Hi Mani Kumar,
 * If you can, try this, step by step:
 * 1) backup all files in a folder (this will save all images that are not in database
   like wp-media)
 * 2) backup database with phpmyadmin (simplest way) or do a mysqldump or so
 * 3) once you have all place and sure of files – erase all files on server with
   them and put back things in place
 * And voila, should help,
 * After depends your host,
 * Regards,
 *  Thread Starter [Mani Kumar](https://wordpress.org/support/users/smartprince/)
 * (@smartprince)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/wordpress-import-export/#post-6333294)
 * Putting back file will make visible files in posts … but those media file will
   not appear in Media Gallery !
 *  [Digico Paris](https://wordpress.org/support/users/digico-paris/)
 * (@digico-paris)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/wordpress-import-export/#post-6333295)
 * You’re right,
 * > Putting back file will make visible files in posts … but those media file will
   > not appear in Media Gallery !
 * If you have the “wp-media” folder at hand, you can still use the drag and drop
   to reupload all images in your Media Gallery, and later correct images on every
   post manually.
 * It’s also possible to script that with php/mysql queries and some tricks.
 * Regards,
 *  Thread Starter [Mani Kumar](https://wordpress.org/support/users/smartprince/)
 * (@smartprince)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/wordpress-import-export/#post-6333296)
 * but if i have 500+ media file ? then ?
 *  [Digico Paris](https://wordpress.org/support/users/digico-paris/)
 * (@digico-paris)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/wordpress-import-export/#post-6333297)
 * If database is still the same, or you put your backup back on track.
    Fastest
   way is FTP, reupload all your media files in /wp-content folder (according to
   month, exact url of every post or custom url structure).
 * It will work fine, but for some reason it might not show in media library.
 * You can also try backup plugins, if needed some are quite nice because they extend
   automattic default import/export capabilities (that includes everything on your
   website, media, database, files).
 * Please keep us posted on result,

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘WordPress Import & Export’ is closed to new replies.

## Tags

 * [agileinfowayscom](https://wordpress.org/support/topic-tag/agileinfowayscom/)

 * In: [Requests and Feedback](https://wordpress.org/support/forum/requests-and-feedback/)
 * 7 replies
 * 3 participants
 * Last reply from: [Digico Paris](https://wordpress.org/support/users/digico-paris/)
 * Last activity: [10 years, 8 months ago](https://wordpress.org/support/topic/wordpress-import-export/#post-6333297)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
