Moving accounts - Partition issues

compunet2

Well-Known Member
Feb 21, 2003
310
0
166
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?
 

Lyttek

Well-Known Member
Jan 2, 2004
776
4
168
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?
 

chirpy

Well-Known Member
Verifed Vendor
Jun 15, 2002
13,466
30
473
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.
 
Last edited: