hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Hosting Software and Control Panels : back up data in Cpanel
Reply

Forum Jump

back up data in Cpanel

Reply Post New Thread In Hosting Software and Control Panels Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 01-03-2013, 01:46 AM
septi septi is offline
New Member
 
Join Date: Jan 2013
Posts: 1

back up data in Cpanel


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



Sponsored Links
  #2  
Old 01-03-2013, 01:52 AM
net net is offline
Community Liaison
 
Join Date: Mar 2003
Posts: 11,268
/scripts/restorepkg username .

If you do not have root access, you need to access your provider to restore it for you.

__________________
.
JoneSolutions.Com + SSS = Your Number One Choice On The Net - since 2001

It's Fully Managed and Secured. Ask us at sales @ jonesolutions.com .

  #3  
Old 01-03-2013, 05:26 AM
blazehosters blazehosters is offline
Temporarily Suspended
 
Join Date: Jan 2013
Posts: 9
The easiest Way is to Contact Your Web Hosting Provider. They Will Help you in this.

Sponsored Links
  #4  
Old 01-03-2013, 10:32 AM
timeshost timeshost is offline
WHT Addict
 
Join Date: Dec 2012
Location: In Real World!!
Posts: 143
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  
Old 01-03-2013, 11:54 AM
BestServerSupport BestServerSupport is offline
Web Hosting Master
 
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  
Old 01-04-2013, 06:09 AM
JacobN JacobN is offline
Junior Guru Wannabe
 
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

Reply

Similar Threads
Thread Thread Starter Forum Replies Last Post
Enotch, please let me get data back inso VPS Hosting 4 02-13-2012 07:59 PM
ok i need a little help with this. trying to get my data back BenOwns Dedicated Server 7 10-13-2009 01:52 AM

Related posts from TheWhir.com
Title Type Date Posted
cPanel Security Updates Address Perl Module Vulnerabilities Web Hosting News 2012-12-06 12:55:54
Hosting Control Panel cPanel & WHM 11.34 Release Hits Stable Tier Web Hosting News 2012-11-12 17:04:57
cPanel Releases cPanel, WHM 11.34 with New User Interface Web Hosting News 2012-10-16 13:09:49
cPanel Conference 2012: Branding and How to Do it Better with Felipe Gasper Web Hosting News 2012-10-09 18:00:02
cPanel Conference 2012: What's New with cPanel and WHM with Ken Power Web Hosting News 2012-11-12 13:54:56


Tags
cpanel

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:
WHT Membership
WHT Membership



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?