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.

Moving accounts - Partition issues

Discussion in 'General Discussion' started by compunet2, May 11, 2009.

  1. compunet2

    compunet2 Well-Known Member

    Joined:
    Feb 21, 2003
    Messages:
    310
    Likes Received:
    0
    Trophy Points:
    16
    I'm moving accounts from one server to another. However on the old server I have accounts listed under /home2 & /home3. On the new server all the accounts will be under /home (there is no /home2 or /home3). How can I move my acccounts without breaking everyone's scripts?
     
  2. Lyttek

    Lyttek Well-Known Member

    Joined:
    Jan 2, 2004
    Messages:
    770
    Likes Received:
    3
    Trophy Points:
    18
    Not entirely sure that it'll be an issue...

    Most scripts are (should be) written so that they're relative to their 'webroot' which will be public_html, which means they won't care (or even know) if they're on /home or /home2 or whatever.

    Or are you talking about something else?
     
  3. bhd

    bhd Well-Known Member

    Joined:
    Sep 20, 2003
    Messages:
    149
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    JNB ZA
    cPanel Access Level:
    Root Administrator
    Just add symlinks for the sites that need them like /homen/user
     
  4. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    AFAIK, the WHM account transfer process will handle such issue, as far as the cPanel account creation is concerned. If you're concerned about users that have hard-coded paths in their web scripts, then they'll either have to correct these themselves, or you could use simple symlinks as bhd suggests. These can be done at the root partition level though, no need for one for each user, i.e.:

    ln -s /home /home2
    ln -s /home /home3
    etc.
     
    #4 chirpy, May 13, 2009
    Last edited: May 13, 2009
Loading...

Share This Page