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 full cpanel backup from another server via command line?

Discussion in 'Data Protection' started by Logan, Jan 28, 2010.

  1. Logan

    Logan Active Member

    Joined:
    Jan 31, 2005
    Messages:
    26
    Likes Received:
    0
    Trophy Points:
    1
    Hi,

    I have a full site backup that was generated on another server running cPanel. To restore it, can it be done via command line? I know in cPanel there is an option to do an HTTP upload restore, but the backup is 400MB so I want to avoid that.

    Thanks.
     
  2. sparek-3

    sparek-3 Well-Known Member

    Joined:
    Aug 10, 2002
    Messages:
    1,381
    Likes Received:
    23
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
    Place the backup file in /home and then from the command line run:

    /scripts/restorepkg <user>

    where <user> is the username associated with the backup file.
     
Loading...

Share This Page