Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Member
    Join Date
    Jan 2004
    Location
    Mar del Plata - Argentina
    Posts
    246

    Default CPHULK sync between servers

    It would be great to sync CPHULK whitelists and blacklists between cpanel servers.
    Cristian

  2. #2
    cPanel Staff cPanelTristan's Avatar
    Join Date
    Oct 2010
    Location
    somewhere over the rainbow
    Posts
    6,289
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: CPHULK sync between servers

    Hello benito,

    Until this feature has been considered, you could grab the existing cphulkd database and import it to the new machine.

    To create a dump of the existing whitelist and blacklist tables in cphulkd database on the existing machine:

    Code:
    mysqldump --add-drop-table cphulkd whitelist blacklist > cphulkd.sql
    To restore the tables to a new machine's cphulkd database, you would first need to grab the root MySQL password:

    Code:
    cat /root/.my.cnf
    At that point, then copy the cphulkd.sql file to the new machine and run the following to restore the sql file:

    Code:
    mysql -u root -p cphulkd < /pathto/cphulkd.sql
    When the command prompts for the password, simply enter the previously copied root MySQL password. For the /pathto/cphulkd.sql file, you would enter the path where you'd saved the cphulkd.sql file onto the new machine.

    Thanks.
    cPResources: Support Options | More Support Options | Forums Search | cPanel.net Site Search | Mailing Lists(Alt) | Docs
    -- Tristan, Forums Technical Analyst, cPanel Tech Support

    Submit a ticket | Check an existing ticket

Similar Threads & Tags
Similar threads

  1. How to sync 2 or more servers ?
    By TapanB in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 06-28-2010, 10:16 PM
  2. NS servers out of sync, why and how to stop
    By mobcdi in forum New User Questions
    Replies: 3
    Last Post: 11-16-2009, 04:25 AM
  3. Cphulk.
    By 2fast in forum cPanel and WHM Discussions
    Replies: 8
    Last Post: 09-05-2009, 01:37 PM
  4. auto sync dns between whm servers
    By mobcdi in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 08-04-2009, 05:27 AM
  5. cphulk
    By offline in forum cPanel and WHM Discussions
    Replies: 7
    Last Post: 03-13-2009, 01:52 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube