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.

Guide: Moving Accounts from Reseller Server Account to VPS or Root Server

Discussion in 'Data Protection' started by ramjet666, Jan 30, 2007.

  1. ramjet666

    ramjet666 Member

    Joined:
    Apr 23, 2005
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    Hi!

    For me moving accounts from one server to another was not working. I tried the WHM transfer route with account password. I tried the cpanel backup/restore. But for whatever reason these did not work.

    So finally when I found something that did seem to work I thought I would write this guide for other newbies out there!

    Server To Server Account Copying Guide
    Reseller Account (no ssh) to VPS Account (root access)​


    OLD SERVER (reseller):

    Login to accounts cpanel www.itsdomain.com/cpanel
    Click on Backups then Generate Backup
    Download backup to your computer.

    NEW SERVER (VPS/Root Server):

    1. Copy backup file to your new server, I use WinSCP, to /backup/cpbackup/daily

    2. Login to your server via SSH using something like putty

    3. Change Directory to: cd /backup/cpbackup/daily. If this directory does not exist as it did not for me as I don’t use cpanels daily backup then create it. I set the permissions the same as the weekly directory rwx—x—x You can do this in WinSCP or SSH. In SSH command is chmod 711 daily

    4. Untar backup file: tar xvfz backup-...

    5. Rename directory to the name you would like the account to become: e.g. my
    directory was called backup-1.30.2007_06-36-16_durbidge
    Restore did not like this so I renamed it to durbidge

    6. Login to WHM click on Restore Backup under Backups menu. Then daily, select name and re-create account. Wait for it to finish.

    7. Change the Account Password if you want. On restore mine came up as HIDDEN and I’m not sure if it carries over the old one. But to be safe I reset mine.

    8. In WHM click List Accounts and check Quota, Package, Owner etc as these will be set from your old server. And if like me most of these settings/options do not exist on the new server.

    9. Your done!
     
  2. markfrompf

    markfrompf Well-Known Member

    Joined:
    Mar 27, 2006
    Messages:
    176
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Los Angeles, CA
    Nice! I look forward to giving it a try.
     
  3. ihab2006

    ihab2006 Registered

    Joined:
    Jan 30, 2007
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
  4. dalem

    dalem Well-Known Member
    PartnerNOC

    Joined:
    Oct 24, 2003
    Messages:
    2,577
    Likes Received:
    40
    Trophy Points:
    48
    Location:
    SLC
    cPanel Access Level:
    DataCenter Provider
    Let me make it even easier

    OLD SERVER (reseller):

    Login to accounts cpanel www.itsdomain.com/cpanel
    Click on Backups then Generate Backup
    Move the back up to the /public_html folder


    NEW SERVER (VPS/Root Server):

    1. Login to your server via SSH using something like putty

    2. cd /home

    3 wget http://itsdomin.com/backup-1.30.2007_06-36-16_durbidge

    4. log in to WHM & /Backup Restore a Full Backup/cpmove file


    No wasting time downloading & uploading the file
     
  5. ramjet666

    ramjet666 Member

    Joined:
    Apr 23, 2005
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    Thanks, If I have any more to do I'll try this way.
     
  6. JamesOakley

    JamesOakley Well-Known Member

    Joined:
    Apr 15, 2011
    Messages:
    83
    Likes Received:
    2
    Trophy Points:
    8
    cPanel Access Level:
    Root Administrator
    Which works provided you change the permission on the backup file to 0644. By default, after the backup is generated, the permission is set to 0600, which gives a 403 error with wget
     
  7. stock_post

    stock_post Registered

    Joined:
    Feb 18, 2012
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Re: Guide: Moving Accounts from Reseller Server Account to VPS or Root Serv

    I was doing this on a VPS with multiple re-seller accounts.

    How to restore the site to a specific Re-seller?

    When I moved a site - It is created under the Root account of the VPS.

    Any suggestions please
     
  8. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    Re: Guide: Moving Accounts from Reseller Server Account to VPS or Root Serv

    Did you move the reseller accounts first? In order for an account under a reseller to be properly owned by that reseller, the reseller's account needs to be moved before the accounts owned by that reseller are moved.
     
Loading...

Share This Page