Note: This is alpha version, under heavy testing and development. You are welcome to try it out and provide feedback via GitHub Issues.
Watch Demo - https://www.youtube.com/watch?v=0a-nOuThBvY
To use the InstaWP SSH Migration tool, you'll need to download the PHAR file. You can do this easily with the following one-liner command:
curl -sSL https://github.com/InstaWP/ssh-migration/releases/download/latest/source.phar -o source.phar && php source.phar
Note: If the size of the source files are large, it is advisable to use screen or tmux to run the command in the background.
It will upload your entire website to the InstaWP cloud storage and output the backup_id.
Options:
--exclude-paths
: This option allows you to exclude specific paths from the migration. You can specify multiple paths, and each path should be separated by a comma. For example:--exclude-paths=/wp-content/uploads,/wp-content/cache
.
To download the destination server PHAR file, you can use the following command:
curl -sSL https://github.com/InstaWP/ssh-migration/releases/download/latest/dest.phar -o dest.phar && php dest.phar
To use the SSH Migration tool:
- Ensure PHP is installed on your system.
- Download the PHAR file as shown above.
- Make the PHAR file executable:
- Run the PHAR file:
php source.phar
This will execute the SSH Migration tool and guide you through the migration process.
This project is licensed under the MIT License. See the LICENSE
file for more details.
- Add meta.json to store the version and other metadata.
- Refactor the code to use the meta.json file.
- Checksum the files and verify after download.
- Check if the website is empty before starting the migration.
- Initial release