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.

Full backup restoration issue

Discussion in 'Data Protection' started by inthukha, Mar 15, 2014.

  1. inthukha

    inthukha Well-Known Member

    Joined:
    Jul 17, 2013
    Messages:
    61
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
    Hello,

    I have generated full backup before a week in cpanel via "Generate full backup option". now i want to restore this backup. backup is 6GB so i can't download and can't upload.

    I have root for the VPS and i try with "Restore a Full Backup/cpmove File" option. i given username that i want to restore and i moved the Full generated backup file in the /home directory and file is appearing in "Restore a Full Backup/cpmove File" page.

    when i click Restore it give me this message "Restore Error, Cannot restore. That user already exists on this system". indeed this user is already available in the system.

    My question is: should i Terminate this user account from system completely ? and then restore ?

    Please advise

    Thanks
     
  2. geo88

    geo88 Registered

    Joined:
    Mar 15, 2014
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Website Owner
    Try to restore the webstite via backend of the server using the following command.

    /scripts/restorepkg username --force
     
  3. 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
    Yes ,

    or you can restore from the command line and use the force command
     
  4. inthukha

    inthukha Well-Known Member

    Joined:
    Jul 17, 2013
    Messages:
    61
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
    Thank you, and what is the commands to restore ? and forceful means i didn't need to delete existing user and backup will overwrite ?
     
  5. cPanelPeter

    cPanelPeter Technical Analyst III
    Staff Member

    Joined:
    Sep 23, 2013
    Messages:
    569
    Likes Received:
    15
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

    The command was provided in the post above.

    Code:
    /scripts/restorepkg username --force
    
    The documentation for restorepkg can be found here.
     
    #5 cPanelPeter, Mar 16, 2014
    Last edited: Mar 16, 2014
Loading...

Share This Page