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 Legacy Backups via SSH?

Discussion in 'General Discussion' started by rlshosting, Aug 2, 2013.

  1. rlshosting

    rlshosting Well-Known Member

    Joined:
    Apr 23, 2009
    Messages:
    170
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    United States
    cPanel Access Level:
    Root Administrator
    How would you do that via SSH? Any script that allows me to restore thousands of accounts at once other than going into whm and getting a security token error all the time while restoring multiple backups?
     
  2. quietFinn

    quietFinn Well-Known Member

    Joined:
    Feb 4, 2006
    Messages:
    998
    Likes Received:
    10
    Trophy Points:
    18
    Location:
    Finland
    cPanel Access Level:
    Root Administrator
  3. rlshosting

    rlshosting Well-Known Member

    Joined:
    Apr 23, 2009
    Messages:
    170
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    United States
    cPanel Access Level:
    Root Administrator
    Problem is that I am not restoring backups from a different cpanel machine. I am restoring it from a server with no panel. The backups are rsynced.
     
    #3 rlshosting, Aug 2, 2013
    Last edited: Aug 2, 2013
  4. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,478
    Likes Received:
    203
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    What do you mean by legacy? If the backups were done on a server with no control panel, they aren't legacy backups, they're just plain old backups aren't they?

    More Info needed I think.
     
  5. rlshosting

    rlshosting Well-Known Member

    Joined:
    Apr 23, 2009
    Messages:
    170
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    United States
    cPanel Access Level:
    Root Administrator
    Legacy Restore Multiple Backups in Root WHM. The backups were created by cpremote via rsync. They appear in /backups/cpbackup/ -- cPremote : cPanel/WHM remote rsync backup plugin -- They aren't tar files or zip files. They are just directories with the data in them including mysql data.
     
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    It depends how your custom application backed up the data. You can restore the accounts through Web Host Manager if the directories were generated as incremental backups using the cPanel backup system. In such a case, you must first enable incremental backups via:

    "WHM Home » Backup » Legacy Backup Configuration"

    You could then restore the accounts via:

    "WHM Home » Backup » Legacy Restore Multiple Backups"

    Thank you.
     
Loading...

Share This Page