Results 1 to 2 of 2

Thread: Restore full cpanel backup from another server via command line?

  1. #1
    Member
    Join Date
    Jan 2005
    Posts
    26

    Default Restore full cpanel backup from another server via command line?

    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. #2
    Member
    Join Date
    Aug 2002
    Posts
    1,131

    Default

    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.

Similar Threads

  1. Replies: 3
    Last Post: 04-19-2011, 10:58 AM
  2. command line backup/restore scripts
    By Goni in forum cPanel & WHM Discussions
    Replies: 5
    Last Post: 03-21-2011, 09:51 AM
  3. Creating a Full Backup from the command line?
    By Kadence in forum cPanel & WHM Discussions
    Replies: 2
    Last Post: 10-02-2009, 04:41 PM
  4. Cpanel backup from command line
    By Radio_Head in forum cPanel & WHM Discussions
    Replies: 11
    Last Post: 05-30-2007, 04:48 PM
  5. Restoring a full backup from command line
    By apc1 in forum cPanel & WHM Discussions
    Replies: 3
    Last Post: 04-30-2006, 08:03 AM