The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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

Discussion in 'General Discussion' started by jfall123, Apr 8, 2016.

  1. jfall123

    jfall123 Well-Known Member

    Joined:
    Oct 31, 2005
    Messages:
    46
    Likes Received:
    0
    Trophy Points:
    6
    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
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    675
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
  3. jfall123

    jfall123 Well-Known Member

    Joined:
    Oct 31, 2005
    Messages:
    46
    Likes Received:
    0
    Trophy Points:
    6

    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.
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    675
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page