Skip to content

Backup tool to export media files from a site hosted on wordpress.com.

License

Notifications You must be signed in to change notification settings

kaisersparpick/WordpressMediaLibraryBackup

Repository files navigation

Wordpress media library backup

Backup tool to export media files from a site hosted on WordPress.com.

WordPress.com offers a free export tool that allows exporting of posts, pages, comments, categories, and (only) metadata of media files.

This backup tool then takes that XML file as input and downloads all media files referenced in it using the <wp:attachment_url> tag.

The colour-coded processing states are as follows

  • DOWNLOADING: Download has started for the resource at this URL
  • DOWNLOADED: Download has finished
  • SKIPPED: Download for this resource was skipped (the local copy is newer)
  • NOT FOUND: The resource has been deleted on the remote server

The total download time is reported at the end of the backup process.

Here is a sample output

Sample output

Usage

To run the console application, issue the command

WordpressMediaLibraryBackup.exe <xml-file> <destination-directory>

Example

WordpressMediaLibraryBackup.exe export.xml C:/temp/wordpress-media-library

Other languages

The Wordpress media library backup tool is also available in the following languages

About

Backup tool to export media files from a site hosted on wordpress.com.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages