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.

Restore a Full Backup/cpmove file

Discussion in 'General Discussion' started by fakaheel, Nov 25, 2011.

  1. fakaheel

    fakaheel Member

    Joined:
    Nov 15, 2011
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    UAE
    cPanel Access Level:
    Root Administrator
    Hi,

    I've created a new account in WHM, and i want to move this account from old cPanel to my cPanel.

    In WHM i went to Restore a Full Backup/cpmove file, and entered the the username for this account to restore, Also i've uploaded the ( backup-{BACKUP-DATE_TIME}_{USER}.tar.gz) file to the account's cPanel in /home directory.

    But i get the following Error:

    Restore Error
    Cannot restore. That user already exists on this system


    Appreciate your help to solve this.
     
  2. NixTree

    NixTree Well-Known Member

    Joined:
    Aug 19, 2010
    Messages:
    386
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Gods Own Country
    cPanel Access Level:
    Root Administrator
    Hello,

    Are you familiar with SSH and do you have root access over your new server? If so, run the following command from command line as root user

    /scripts/restorepkg --force <user name>

    If you prefer to do it via WHM, you have to terminate the current account ( with the same user name you are trying to restore ) on the new server prior you try to restore the account.

    PS. please make sure that you have proper backups when you terminate an account!

    Thank you,
    Nibin.
     
  3. fakaheel

    fakaheel Member

    Joined:
    Nov 15, 2011
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    UAE
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page