WordPress being the largest CMS has thousands of themes and plugins in-built. Amongst these, All-in-One WP Migration is a great plugin for offering easy migrations across different hosting providers. It lets you perform your website migration following simple steps.
However, when you’re not using the premium version, it causes the website restoration process to get stuck at the beginning of the process or at the end.
It’s one of the most common problems many WordPress users face. Here’s an article that will help you to extract the archive manually and give you access to those files without using the plugin.
You need tohave SSH access enabled on the server. Additionally, if you have hosted your websites or apps with us, you can restore your “wpress” archive through the Linux terminal.
Let’s understand the steps:
- First use SSH to connect to a remote server.
- Then, upload the “wpress” file either through FTP or from the File Manager in cPanel.
- Navigate to the directory where you have uploaded the file and run the command given below:
npx wpress-extract <file_name>
- After execution of the above command, you will get to see the bar that will signify the restoration process. After it has loaded fully, you will get to know a folder with WordPress files.
- This way, the plugin will extract the contents of the “wp-content” directory with the site’s database. To restore the website, you will need to install WordPress and then replace its “wp-content” you got from the restoration.
- One of the easiest ways is to rename the folder to “wp-content”, delete the new WordPress you install, and then move it there.
- In the last step, you need to clean the new WordPress database and import the SQL you got from the “wpress” archive.
You can do that either using phpMyAdmin, or the terminal using this tutorial. And that’s it!