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.

How to Copy Account and Omit the Database?

Discussion in 'General Discussion' started by RyanM, Sep 19, 2008.

  1. RyanM

    RyanM Member

    Joined:
    Mar 3, 2005
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    1
    I have root WHM and shell access on two servers. I would like to use the WHM Transfer to copy all accounts from one of the server to the other, but I don't need to copy the databases owned by the account users (we are already replicating the databases to the other server). I have seen variables like $ENV['pkgacct-mysql'] in the /scripts directory that I could change to "no", but am not having much luck with that. Does anyone have any pointers or ideas?

    Thank you,
    Ryan
     
  2. chzelle

    chzelle Active Member

    Joined:
    Jul 30, 2003
    Messages:
    27
    Likes Received:
    0
    Trophy Points:
    1
    Hi Ryan,

    generating full account backup will include the database of the account... your choice is to either remove the database before generating a full backup so database is not included on it. you can also just generate a full backup >> restore it to the new server >> then remove the database.
     
Loading...

Share This Page