Overview:
WordPress, the leading CMS, boasts a vast library of themes and plugins. Among them, All-in-One WP Migration stands out as a valuable tool for simplifying website transfers between hosting providers. This plugin facilitates website migration through a user-friendly process.
However, the free version of All-in-One WP Migration can sometimes encounter issues, causing the website restoration process to halt at the beginning or end. This is a frequent problem for many WordPress users.
This article provides a solution by detailing how to manually extract the archive, granting access to your files without reliance on the plugin.
Prerequisites:
To proceed with manual extraction, you’ll need SSH access enabled on your server. If you host your websites or applications with us, you can also restore your “wpress” archive using the Linux terminal.
Let’s outline the steps involved:
- First, establish an SSH connection to your remote server.
- Next, upload your “wpress” file, either via FTP or the File Manager in cPanel.
- Navigate to the directory where the file was uploaded and execute the following command:
npx wpress-extract <file_name>
- Upon execution, a progress bar will display the restoration process. Once completed, a folder containing your WordPress files will be generated.
- This process extracts the contents of the “wp-content” directory as well as the website’s database. To restore your website, you will need to install a fresh instance of WordPress, then replace its “wp-content” directory with the one extracted from the archive.
- A simple method is to rename the extracted folder to “wp-content”, delete the default “wp-content” folder of your newly installed WordPress site, and then move the extracted folder into its place.
- Finally, you’ll need to clear the new WordPress database and import the SQL file extracted from the “wpress” archive.
This can be accomplished through phpMyAdmin or via the terminal, referencing this tutorial. And that completes the process!