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 old user account backups from diff server?

Discussion in 'Data Protection' started by Bashy, May 5, 2015.

  1. Bashy

    Bashy Well-Known Member

    Joined:
    Feb 20, 2011
    Messages:
    55
    Likes Received:
    1
    Trophy Points:
    8
    Hi

    I have just started up a new server, its a fresh install, I have 2 old accounts from an old
    server backed up using the whm backup utility befroe the old server went off over a year ago.

    How do i go about restoring these to user accounts please, i was hoping it would be as simple
    as putting the backup files in to the backup dir /home/backup but evidently that dont works as
    the backups are not showing in the restore panel...

    Any advice please?
     
  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,453
    Likes Received:
    195
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    What is the backup file named exactly? (sans actual username)
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    654
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello,

    Upload the archives to the /home directory and restore them via:

    Code:
    /scripts/restorepkg $username
    Or, move them to the "/backup/$date/accounts" directory after enabling backups on the new server and restore them via:

    "WHM Home » Backup » Backup Restoration"

    Thank you.
     
    Bashy likes this.
  4. Bashy

    Bashy Well-Known Member

    Joined:
    Feb 20, 2011
    Messages:
    55
    Likes Received:
    1
    Trophy Points:
    8
    Hi, thank you for the replies, I have to manually make the dir /$date for now, therefore what is the
    format for $date please i.e. 05-06-2015 or 06-05-2015 etc.. thanks
     
  5. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,453
    Likes Received:
    195
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    /backup/2015-05-06/accounts/
     
    Bashy likes this.
  6. Bashy

    Bashy Well-Known Member

    Joined:
    Feb 20, 2011
    Messages:
    55
    Likes Received:
    1
    Trophy Points:
    8
    Thanks ever so much, thats got them added to the queue, i appreciate your help :)
     
  7. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    654
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page