Results 1 to 6 of 6
  1. #1

    back up data in Cpanel

    i have back up my data in cpanel. how to restore data in cpanel?

  2. #2
    Join Date
    Mar 2003
    Posts
    12,794
    /scripts/restorepkg username .

    If you do not have root access, you need to access your provider to restore it for you.
    .
    JoneSolutions.Com is on the net providing services and support 24/7 since 2001.
    .

  3. #3
    The easiest Way is to Contact Your Web Hosting Provider. They Will Help you in this.

  4. #4
    Join Date
    Dec 2012
    Location
    In Real World!!
    Posts
    149
    If this is a full backup then it can be restored by the root user only.

    If this is just home or database backup you can do this yourself.

    If you are changing host, give the download link of full backup to your new provider to create/restore the cpanel account on new server.

  5. #5
    Join Date
    Aug 2012
    Posts
    3,100
    Quote Originally Posted by septi View Post
    i have back up my data in cpanel. how to restore data in cpanel?
    If you do not have a root access of your server then you can not restore it from cPanel. You will have to ask your hosting provider to restore it for you.

    If you have root access then you can put the backup file at one of the following locations of your server and restore from WHM:

    /home, /home2, /home3, /root, /usr, /usr/home, /web
    BestServerSupport | Outsourced Hosting Support and Server Management Service Provider
    WHM/CPanel | HyperV Virtualization | Plesk | WebsitePanel | Windows VPS | OnAPP Cloud | Virtuzoo
    Helpdesk Support | Cloud Administration | Dedicated Support | VPS Support

  6. #6
    Join Date
    Jan 2013
    Location
    Virginia Beach, Va
    Posts
    52

    Post Restoring cPanel data from backup

    Quote Originally Posted by septi View Post
    i have back up my data in cpanel. how to restore data in cpanel?
    Depending on if you did a full cPanel account backup, or a partial home directory backup, and what data you're wanting to restore, the steps will be a bit different.

    If you have a full cPanel backup, chances are you have a file similar to: cpmove-userna5.tar.gz

    As others have mentioned, if you wanted to simply do a full restore of all website files, email accounts and data, MySQL databases, and cPanel settings, you'd want to restore the package as the root user on the server using the following command:

    Code:
    /scripts/restorepkg /home/cpmove-userna5.tar.gz
    Typically before doing this though, if the cPanel account still exists on the server, it would need to be terminated from the server so there are no conflicts. This is accomplished with the command:

    Code:
    /scripts/killacct userna5
    Or you'd need to force the package restore, which isn't as clean of a restore process. This can be accomplished with the command:

    Code:
    /scripts/restorepkg /home/cpmove-userna5.tar.gz --force
    If you have a full cPanel backup, and you'd simply like to restore select files such as your /public_html/index.htm file back into your account, this can be accomplished by this series of commands:

    Code:
    tar xvzf /home/cpmove-userna5.tar.gz
    cd /home/cpmove-userna5
    tar xvf homedir.tar
    cp -frp /home/cpmove-userna5/public_html/index.htm ~userna5/public_html/
    If you don't have root access on the server, you can extract the backup file locally, then just FTP up the files you need restored.

    If you instead have a partial home directory backup, you can extract it and get the select files you need. Or in cPanel under the Files section, click on Backups, and then click on Restore a Home Directory Backup, and finally Upload.

    Or just upload your backup file to the server, then contact your web host letting them know the location of the backup, and what files you'd like restored from it.

    - Jacob

  7. Newsletters

    Subscribe Now & Get The WHT Quick Start Guide!

Similar Threads

  1. Enotch, please let me get data back
    By inso in forum VPS Hosting
    Replies: 4
    Last Post: 02-13-2012, 07:59 PM
  2. Replies: 7
    Last Post: 10-13-2009, 01:52 AM

Related Posts from theWHIR.com

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •