Community Forums
Connect with us on LinkedIn
Community Notice
  
+ Reply to Thread
Results 1 to 9 of 9
  1. #1
    Member
    Join Date
    Aug 2008
    Posts
    50

    Default Huge issue

    I am having one problem.
    I have a client which wants to transfer to my cpanel server. But I noticed something bad: he has an account with another company which wants me to transfer to my server, with the same username as I already have a client as a reseller.
    Does someone knows a way how to solve this? I cannot rename the existing account since will cause me many troubles and he is a reseller which may be even more troubles, and I cannot rename the new client account since I don't have permissions and the current hosting company wants to remove the account and re-create it, which is bad because the client will loose 15GB of data.
    Anyone, please?

  2. #2
    cPanel Product Evangelist Infopro's Avatar
    Join Date
    May 2003
    Location
    Pennsylvania
    Posts
    7,165
    cPanel/Enkompass Access Level

    Root Administrator

    Lightbulb

    On the Copy account page there is an option to change the local username on the fly I suspect. Have not tried it yet. See the "Account Info" box for that option.

    A 15GB account is going to be problematic here though I bet. You might rather setup the new account manually them rsync the files to the new server. Or pack/move/unpack by hand even.

    Just a few thoughts.

  3. #3
    Member
    Join Date
    Aug 2008
    Posts
    50

    Default

    I am willing to pack/unpack the backup.
    I cannot use WHM copy account since I don't have ssh access on the second server, the client is simply an end user.

    I cannot restore the backup since that username already exists on my server. I would like to change my second (new) client's username, but I dont know how... all I have is the backup.

    I am still waiting for some reply and help

  4. #4
    Member
    Join Date
    Jun 2006
    Posts
    65

    Default

    If you have a couple of servers, you may want to try this idea.

    1. Do a full cpanel backup from the old server of your client.
    2. Upload to temporary server which you have control and do not have conflict of username/s.
    3. Install the backup.
    4. Change the username, then do a full cpanel backup.
    5. Upload to the server where you really want this installed. This time it should not conflict anymore as the username has been changed from the above step.

    Transferring data may take a while as you mentioned it is 15GB data.

    Good luck.
    Last edited by lngtanseco; 11-18-2008 at 07:07 PM. Reason: Minor correction.

  5. #5
    cPanel Product Evangelist Infopro's Avatar
    Join Date
    May 2003
    Location
    Pennsylvania
    Posts
    7,165
    cPanel/Enkompass Access Level

    Root Administrator

    Lightbulb

    Quote Originally Posted by ljesh View Post
    I am willing to pack/unpack the backup.
    I cannot use WHM copy account since I don't have ssh access on the second server, the client is simply an end user.

    I cannot restore the backup since that username already exists on my server. I would like to change my second (new) client's username, but I dont know how... all I have is the backup.

    I am still waiting for some reply and help

    Where is the backup? On the old server on this new clients old account? Ask him to move it to public_html and use wget to bring it over then.

    If you have the new client setup manually in advance, and wget the backup over to it, then unpack to a tmp directory, you're off to the races.

    Personally I'd have the user clean up the account first if possible, or explain and do it myself. You might be moving many GB of log files which would be worthless to move IMHO.

  6. #6
    Member
    Join Date
    Aug 2008
    Posts
    50

    Default

    lngtanseco, that is very good idea which I think may work, but I got only 1 server so I can't try it
    Quote Originally Posted by Infopro View Post
    Where is the backup? On the old server on this new clients old account? Ask him to move it to public_html and use wget to bring it over then.
    On my own server I got a reseller with username xxx let's say. A week ago I got a new client which has 15GB of website hosted elsewhere and wants me to transfer it to my server, wants to be hosted by me now on. But his username is also xxx. I made full backup and wget-ed it to my server, but I couldn't restore it since I got already same username (the reseller guy).
    So, I cannot change my reseller's username since he has 40 accounts under him and that may cause problems, and I don't have privileges to change the username of the new client since I don't have access on the old server to do that.
    Quote Originally Posted by Infopro View Post
    Personally I'd have the user clean up the account first if possible, or explain and do it myself. You might be moving many GB of log files which would be worthless to move IMHO.
    It's wallpapers website with 5000+ wallpapers so he is really using that space.

    I am stuck... I hope I find a way, don't want to loose this client. Any help is appreciated.

  7. #7
    cPanel Product Evangelist Infopro's Avatar
    Join Date
    May 2003
    Location
    Pennsylvania
    Posts
    7,165
    cPanel/Enkompass Access Level

    Root Administrator

    Lightbulb

    IMHO, if a bulk of the account is static stuff like wallpapers, back it up separately and move it separately. If stripping that off makes the account small enough to move via WHM, it might be an option. This way you should be able to edit the username on the fly, mentioned above during the cpmove.

    Or, recreating just the reseller on the new server (using a new username) and then moving his accounts one by one might be another option. You can edit owner of the accounts easy enough afterwards.

    I think you'll just have to be creative here. Waiting for a perfect idea from the forums might never come.

    You might also put in a ticket to cPanel support desk and ask for their suggestions. Those guys are great.

  8. #8
    Member
    Join Date
    Aug 2008
    Posts
    50

    Default

    Quote Originally Posted by Infopro View Post
    IMHO, if a bulk of the account is static stuff like wallpapers, back it up separately and move it separately. If stripping that off makes the account small enough to move via WHM, it might be an option. This way you should be able to edit the username on the fly, mentioned above during the cpmove.
    Thanks alot Infopro! I did this and the account now is restored successfully.
    That was suggestion of cpanel team, thank you too cpanel!

    Now the only problem remained access logs and awstats. If someone could give me a hint where are they saved and where should I restore them.

    Thanks again alot!

  9. #9
    cPanel Product Evangelist Infopro's Avatar
    Join Date
    May 2003
    Location
    Pennsylvania
    Posts
    7,165
    cPanel/Enkompass Access Level

    Root Administrator

    Lightbulb

    awstats is in the home/username/tmp directory. domlogs are in /usr/local/apache/domlogs/ If you moved the account normally these should have carried over.

    Anyway, good luck.

Similar Threads & Tags
Similar threads

  1. Cpanel Issue -- Huge Text for the Text Editor
    By buckshot101 in forum cPanel and WHM Discussions
    Replies: 8
    Last Post: 07-15-2011, 10:38 AM
  2. Perl symlink - huge security issue
    By EEssam in forum Security
    Replies: 16
    Last Post: 03-30-2009, 09:20 AM
  3. Perl symlink - huge security issue
    By EEssam in forum cPanel and WHM Discussions
    Replies: 16
    Last Post: 03-30-2009, 09:20 AM
  4. Need Huge Help!
    By kingk in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 02-02-2005, 04:07 PM
  5. Huge Problems
    By unite the cows in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 11-16-2002, 11:38 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube