Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Account Restoration With Different Username

Discussion in 'Data Protection' started by MajorLancelot, Nov 1, 2017.

  1. MajorLancelot

    MajorLancelot Active Member

    Joined:
    Dec 17, 2014
    Messages:
    26
    Likes Received:
    4
    Trophy Points:
    78
    Location:
    Shinjuku-ku, Tokyo, Japan
    cPanel Access Level:
    Root Administrator
    Situation:

    - new account provisioned with a new domain
    - migration from another server to new server needed
    - backup completed and backup.tar.gz has a different username but the same domain name from a new provisioned account
    - try to use Restore a Full Backup cpmove File
    - Restore failed because of the domain already exist with the $newAccount provisioned

    Please, what would be the ideal solution to this beyond remaining $newAccount?

    Thanks.
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,711
    Likes Received:
    1,794
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    Would you like to keep both accounts active, or are you attempting to replace the existing account with the one from the backup archive?

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. MajorLancelot

    MajorLancelot Active Member

    Joined:
    Dec 17, 2014
    Messages:
    26
    Likes Received:
    4
    Trophy Points:
    78
    Location:
    Shinjuku-ku, Tokyo, Japan
    cPanel Access Level:
    Root Administrator
    Objective:
    - replace the new account with contents of the old migrated account while maintaining the username of the new account without needing to copy via SFTP or SSH.

    Thank you, Michael.
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,711
    Likes Received:
    1,794
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    Do you need any content from the existing cPanel account? If not, you could terminate it, and then restore the migrated account. Upon restoration, update the domain name and username to your preference using "WHM >> Modify an Account".

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. MajorLancelot

    MajorLancelot Active Member

    Joined:
    Dec 17, 2014
    Messages:
    26
    Likes Received:
    4
    Trophy Points:
    78
    Location:
    Shinjuku-ku, Tokyo, Japan
    cPanel Access Level:
    Root Administrator
    Thanks, Micahel.

    What I end up doing was to modify the username and DB prefixes of the $ewAccount and overwrite its content with the migrated data.

    For now, seem to work but keeping a close eye on it.

    Thanks a ton!!!
     
    cPanelMichael likes this.
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice