All-in-One WP Migration .wpress archives can be quite large, and you may find cases where importing them through the interface is too slow or times out. You can upload .wpress files to your account and extract them, gaining access to the database and individual files. You can do this by doing the following through SSH or the SSH access in your cPanel.
Install wpress-extract
All our servers contain Node.js and for wpress-extract it has minimal requirements to install. You can install it using the following command
npm install wpress-extract
After it's installed it will be located at
~/node_modules/.bin/wpress-extract
You can now uncompress the .wpress file by doing the following:
~/node_modules/.bin/wpress-extract mywordpress.wpress
You will replace mywordpress.wpress with the name of your .wpress file. Once completed, you will now have a folder with the same name, for example, "mywordpress.". Within the folder there will be a database.sql file. By default this database.sql file will have one of two prefixes, either "SERVMASKPREFIX_" OR "SERVMASK_PREFIX_". To determine which your database.sql is using, run the command:
grep -i SERVMASK database.sql
If the output of your grep shows "SERVMASKPREFIX_", run the command:
sed -i 's/SERVMASKPREFIX_/wp_/g' database.sql
If the output of your grep shows "SERVMASK_PREFIX_", run the command:
sed -i 's/SERVMASK_PREFIX_/wp_/g' database.sql
After that is completed you should be able to import the database.sql file into your current database. The remaining files and folders are all the files/folder that existed in the wp-content folder which can be copied into your current WordPress installation.
If you are having any issues with these instructions our team can complete the import for you.
