Skip to content

Instantly share code, notes, and snippets.

@tallesairan
Created February 7, 2023 20:21
Show Gist options
  • Star 4 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save tallesairan/c027fba0ceefc58e25b907abb59c8d46 to your computer and use it in GitHub Desktop.
Save tallesairan/c027fba0ceefc58e25b907abb59c8d46 to your computer and use it in GitHub Desktop.
How to unpack .wpress archive files created by the All-in-one-Wp-Migration Wordpress plugin

How to unpack .wpress archive files created by the All-in-one-Wp-Migration Wordpress plugin

Recently I needed to download some files from a Wordpress installation where the client only gave me access to the admin dashboard. Fortunately the All-in-One WP Migration plugin was already installed, so I could take a quick backup of the whole site by downloading the installed plugins, theme and database. To my surprise downloading the backup from the All-in-One WP Migration plugin only gave me a single compressed migration.wpress file that any unpack tool refused to extract. A little web search brought me to a five year old tool called Wpress-Extractor but the provided binaries for MacOS refused to work because the package was already too old.

So I decided to rewrite this little helpful tool in Node.js to make it cross-platform compatible for Windows, MacOS and Linux.

Ok here it is: A simple 2-step tutorial how to extract a file with the .wpress extension on your computer:

  1. Step Make sure that you have Node.js installed in your computer: node --version

=> v14.12.0

  1. Step In your terminal navigate to the location where the .wpress file is downloaded (e.g. ~/Downloads) and run the following command: npx wpress-extract migration.wpress It then creates a new folder migration/ where the content is extracted into.

That's it for today. If you would like to take a deeper look at this tool, the source code is open source, so feel free to visit the GitHub repository:

@jacksonwp
Copy link

Thank you for this @tallesairan !

@thorstenvonberswordt
Copy link

great!

@Toninobandolero
Copy link

Gracias :)

@jcsuzanne
Copy link

Awesome!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment