Results 1 to 6 of 6
Thread: back up data in Cpanel
-
01-03-2013, 01:46 AM #1New 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?
-
01-03-2013, 01:52 AM #2The Linux Specialist
- Join Date
- Mar 2003
- Location
- /root
- Posts
- 23,991
/scripts/restorepkg username .
If you do not have root access, you need to access your provider to restore it for you.
Specially 4 U
Reseller Hosting: Boost Your Websites | Fully Managed KVM VPS: 3.20 - 5.00 Ghz, Pure Dedicated Power
JoneSolutions.Com is on the net 24/7 providing stable and reliable web hosting solutions, server management and services since 2001
Debian|Ubuntu|cPanel|DirectAdmin|Enhance|Webuzo|Acronis|Estela|BitNinja|Nginx
-
01-03-2013, 05:26 AM #3Temporarily Suspended
- Join Date
- Jan 2013
- Posts
- 9
The easiest Way is to Contact Your Web Hosting Provider. They Will Help you in this.
-
01-03-2013, 10:32 AM #4WHT Addict
- 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.
-
01-03-2013, 11:54 AM #5Disabled
- Join Date
- Aug 2012
- Posts
- 3,105
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
-
01-04-2013, 06:09 AM #6Junior Guru Wannabe
- Join Date
- Jan 2013
- Location
- Virginia Beach, Va
- Posts
- 52
Restoring cPanel data from backup
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
Code:/scripts/killacct userna5
Code:/scripts/restorepkg /home/cpmove-userna5.tar.gz --force
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 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
Similar Threads
-
Enotch, please let me get data back
By inso in forum VPS HostingReplies: 4Last Post: 02-13-2012, 07:59 PM -
ok i need a little help with this. trying to get my data back
By BenOwns in forum Dedicated ServerReplies: 7Last Post: 10-13-2009, 01:52 AM