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 Restore Error

Discussion in 'Data Protection' started by remcie, Dec 10, 2014.

  1. remcie

    remcie Member

    Joined:
    Nov 5, 2014
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    I hope I am posting this in the correct section.

    I am trying to restore a Full Cpanel Backup, which is a .......tar.gz file.

    I first created a new Cpanel account, lets say example.com
    I uploaded the full backup file to the /home folder of this account.
    The functionality start restoring the file correctly, but at the end I get the following error message (I deleted some of the server info, replacing it by xxxxxxxxx:

    Code:
    Starting “RESTORE” for “Account” “xxxxxxxxx”.
    Restore File: /home/xxxxxxxxx.tar.gz
    Restore Reseller Privs: yes
    Restricted mode: no
    Express mode: no
    Calculating disk space needed …
    Done.
    Target “/home” on host “xxxxxxxxx” has 24.53 GB free and requires at least 15.23 GB free, which includes space for temporary files.
    ArchiveManager
    Preparing archive for restoration …
    Calculating disk space needed …
    Done.
    Target “/home/xxxxxxxxx” on host “xxxxxxxxx” has 24.53 GB free and requires at least 15.23 GB free, which includes space for temporary files.
    This archive’s payload appears to be in the archive’s “xxxxxxxxx” directory.
    ArchiveManager
    The system successfully prepared the archive for restoration.
    PreRestoreActions
    PreRestoreActions
    Account
    Force Mode: no
    Dedicated IP Address: no
    Account
    Failed to create the account: The domain “socialsmartgroup.com” already exists in the Apache configuration.
    Failed: Account Restore Failed: “Account failure: Failed to create the account: The domain “socialsmartgroup.com” already exists in the Apache configuration.”


    I assume I need to delete some registers from the Apache configuration, but being a newby and being a little afraid of affecting other websites on the server I'd thought I'd better ask here first :)
     
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,749
    Likes Received:
    1,885
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello :)

    I noticed you created the account before attempting to restore it. Please move the backup archive back into the /home directory itself, terminate the account, and then attempt the restoration again.

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

    remcie Member

    Joined:
    Nov 5, 2014
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Thanks Michael, I did create the account before attempting to restore it. I put the backup archive in the account itself, in it's /home directory.
    If I need to terminate the account and move the backup archive back into the /home directory, I assume you are referring to the servers home directory? If thats the case I guess I need root FTP access to the server, correct?

    I do have root access to the server but have never been able to get FTP access to the server itself, only to each individual Cpanel....
    I guess it has something to do with settings of the server, but before I look into this I will await your confirmation if this is the right path to take :)

    Many thanks!!
     
  4. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,749
    Likes Received:
    1,885
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    You could actually use SSH access. EX:

    Code:
    mv /home/$username/backup.tar.gz /home/
    Then, after you terminate the account, you can restore it via:

    Code:
    /scripts/restorepkg /home/backup.tar.gz
    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
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