Getting Started
Requirements and first migration run
Requirements
Local machine:
- Bash 4+
- ssh
- rsync
- scp
Source server:
- SSH access
- WP-CLI recommended, or mysqldump
Destination server:
- SSH access
- WP-CLI recommended, or mysql
- Existing WordPress installation
Run from GitHub (one-liner)
bash <(curl -fsSL https://raw.githubusercontent.com/Vexxo-Dev/wpclone_cli/main/wpclone.sh) \
--src-host deploy@old-server.com \
--src-path /var/www/html \
--dst-host deploy@new-server.com \
--dst-path /var/www/html \
--old-url https://old-site.com \
--new-url https://new-site.comInstall locally
curl -fsSL https://raw.githubusercontent.com/Vexxo-Dev/wpclone_cli/main/wpclone.sh -o wpclone
chmod +x wpclone
sudo mv wpclone /usr/local/bin/wpclone
wpclone --versionFirst safe run
./wpclone --config migration.conf --dry-runAfter validating output, run the same command without --dry-run.