Perl / Bash Script Migrate WordPress site from one cpanel account to another
Budget: $10 – $150 AUD
We need someone to craft us a perl or bash/shell script that will move a wordpress site from one cpanel account to another using the various Cpanel API's and linux commands.
basic flow would be
Run script - takes required inputs
1. Zips current WP website file structure
2. Dumps current WP website DB
3. Copies Archive and SQL to new Account
4. Chowns Archive to new account user
5. creates mysql DB and user and assigns rights on new account with Cpanel API
6. Extracts archive in new web root
7. Imports Database to new DB which was created
8. Serialized find and replace on database (old URL > New URL)
9. Updates wp-config in new account with new database details
10. Updates several wp-config settings if present
11. Updates some .htaccess settings if present
User needs experience with cpanel API
basic flow would be
Run script - takes required inputs
1. Zips current WP website file structure
2. Dumps current WP website DB
3. Copies Archive and SQL to new Account
4. Chowns Archive to new account user
5. creates mysql DB and user and assigns rights on new account with Cpanel API
6. Extracts archive in new web root
7. Imports Database to new DB which was created
8. Serialized find and replace on database (old URL > New URL)
9. Updates wp-config in new account with new database details
10. Updates several wp-config settings if present
11. Updates some .htaccess settings if present
User needs experience with cpanel API