Skip to content

Latest commit

 

History

History
36 lines (25 loc) · 1.38 KB

README.md

File metadata and controls

36 lines (25 loc) · 1.38 KB

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