Go Back   HostGator Peer Support Forums > HostGator Peer Support Forums > Linux VPS Support

Notices

Reply
 
Thread Tools
  #1  
Old 11-30-2010, 12:47 PM
pmatra's Avatar
pmatra pmatra is offline
Baby Croc
 
Join Date: May 2008
Location: NY
Posts: 65
Default Restoring a cPanel backup from another server

I am not exactly how I should approach a a website move and if I should ask Hostgator to do it for me. Actually I prefer to learn how to do this on my own but I have a few questions.

The site I have is a full home directory backup of a client's site from another company. Can I create her account in WHM and do a restore? We do not have control over the domain yet (yes it is a client that forgot their credentials)
P
__________________
Peter Matra
nyhostingsolutions.com

I love HG
Reply With Quote
  #2  
Old 11-30-2010, 01:09 PM
GatorJLavoy's Avatar
GatorJLavoy GatorJLavoy is offline
HostGator Staff
 
Join Date: Feb 2010
Location: Austin, Tx
Posts: 548
Default Re: Restoring a cPanel backup from another server

Hello,

If it's a cPanel backup you can restore it yourself, however some things to know.

1) cPanel backups HAVE to be restored to the account that created them. You cannot restore a backup from the account account1 to an account named account2.

2) It's better to restore it prior to making it in WHM. Restoring backups over a pre-existing account can cause problems. It's easier to just kill the account first, then restore the package.

3) Restoring a backup from another provider will mirror it exactly on your server. Therefore you'll probably need to adjust the package and the owner to match your current configuration.
__________________
James Lavoy
Linux Systems Administrator II || Server Provisioning
HostGator.com LLC
http://support.hostgator.com
Reply With Quote
  #3  
Old 12-01-2010, 12:40 PM
annaitech annaitech is offline
Junior Croc
 
Join Date: Jun 2008
Location: Namakkal, Tamil Nadu, INDIA
Posts: 139
Default Re: Restoring a cPanel backup from another server

If you don't have a complete cPanle backup and have the Home Directory contents only, then i suggest you the following step,

1) Create New Account in WHM

2) Upload the Home Dir backup file ( ZIP or TAR or GZ ) to the corresponding accounts home path

3) Login into SSH, browse to the corresponding account's home path and extract it using the tar command (only if the file is too big) else if the backup file is small you can extract it within the cPanel's file manager itself.

If you can get Complete cPanel Backup File :

1) In the source cPanel goto Backups Section > Generate a Full Backup. Make the full backup file to be uploaded into some other site's public path

2) Now SSH into your VPS's root path

3) Create a directory called home2 in the root path and browse inside it

4) Now get the complete backup file using wget command

5) Once the file is downloaded, you can now login into the WHM as root and in the Left sidebar choose Complete Restore / cpmove restore

6) It will scans and displays the file you uploaded into the home2 folder

7) Now enter the cPanel's username ( can be found in the file itself ) and click restore.

Thats all !

Hope it helps you..
Reply With Quote
Reply

Bookmarks

Thread Tools

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Restoring my cPanel blusol Webhosting 8 01-28-2010 12:12 PM
Restoring Full CPANEL Backup Target2019 Pre-Sales Questions 10 02-04-2008 07:44 PM
Restoring CPANEL backup from another reseller? Anonymous Pre-Sales Questions 3 08-01-2004 04:30 PM
[Closed] Restoring a backup Trinity31 Shared Hosting Support 6 05-01-2004 06:37 PM

All times are GMT -5. The time now is 12:51 AM.