Does anyone have a simple premade script for mass adding domains/databases

jfall123

Well-Known Member
Oct 31, 2005
55
2
158
I'm looking at moving over a large client from an outdated control panel to a new cPanel server. I've very familiar with cPanel and the migration process. This particular client has over 75 domains and just as many databases. I'd really like to script adding the databases and addon domains so I don't have to do it by hand. I know these things are possible with the cpanel API but I'm not very proficient in programming.

Does anyone know if a simple script exists that I can use to mass add addon domains and/or mysql databases from an inputted list?

With the addon domains and DBs in place the rest is simply a matter of scripting a dump/import of the databases and rsyncing the addon domains which I can handle
 

jfall123

Well-Known Member
Oct 31, 2005
55
2
158
Hello :)

Could you verify if you are transferring the account from another cPanel server, or any of the control panels we offer migration services from? There's a list at:

cPanel Migration Services and Guides - cPanel Knowledge Base - cPanel Documentation

Thank you.

No, unfortunately not. It's an old h-sphere server. Like I said, I'm very familiar with cPanel and manual migrations (been doing it for years) however I'd like to have a few extra tools at my disposal for making things quicker such as being able to mass add domains from a list of and mass add databases from a list. I know it is possible using the cPanel API, but was wondering if there are any pre-made scripts out there all ready that will simply take a list of domains and add them as addon domains under a particular cPanel account and the same for MySQL dbs.