hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Hosting Security and Technology : how do you move a large site using SSH?
Reply

Hosting Security and Technology Configuring and optimizing web hosting servers and operating systems, developing administration scripts, building servers, protecting against hackers, and general security (SSL certificates, etc.)
Forum Jump

how do you move a large site using SSH?

Reply Post New Thread In Hosting Security and Technology Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 10-24-2003, 11:52 AM
kipasa kipasa is offline
Disabled
 
Join Date: Sep 2003
Posts: 109
Post

how do you move a large site using SSH?


tried searching for it but tooooooooooo many results were shown. i need a tutorial or a simple 'noob' how to transfer accounts from one server to another using only an account password.

thanks!

Reply With Quote


Sponsored Links
  #2  
Old 10-24-2003, 12:27 PM
genlee genlee is offline
Aspiring Evangelist
 
Join Date: Apr 2003
Location: Lebanon, PA
Posts: 420
You can create the users new account on the server then scp all the user's data over. After all the data is copied over, chown the users home dir to the users uid/gid.

Reply With Quote
  #3  
Old 10-24-2003, 02:18 PM
Kiran Kiran is offline
Disabled
 
Join Date: Oct 2003
Posts: 25
Re: how do you move a large site using SSH?

Quote:
Originally posted by kipasa
'noob'
genlee, I am sure he knows nothing of what you just said. If I am not mistaken, a noob is another way to say newbie.

Kipasa,
I would tell you, but I'd have to kill you!
Actually I don't know it myself!


Last edited by Kiran; 10-24-2003 at 02:25 PM.
Reply With Quote
Sponsored Links
  #4  
Old 10-24-2003, 02:18 PM
jahsh jahsh is offline
Web Hosting Guru
 
Join Date: Oct 2001
Location: san diego
Posts: 256
I would tar up the site and then ftp it.
tar -zcvf site.tgz directory
where site is the site you are zipping up and the directory is where the files are you want to move. Then you can FTP the tar file to a different server and untar
tar -zxvf site.tgz

Reply With Quote
  #5  
Old 10-24-2003, 05:14 PM
hiryuu hiryuu is offline
Web Hosting Master
 
Join Date: Jan 2003
Posts: 1,715
For a green admin, I'll second the tarball idea. You may still need to use chown (chown -r userid.groupid directory), since the IDs may not match between the servers.

If you find yourself doing this often, rsync becomes an essential tool.

__________________
Game Servers are the next hot market!
Slim margins, heavy support, fickle customers, and moronic suppliers!
Start your own today!

Reply With Quote
  #6  
Old 10-24-2003, 09:01 PM
webworkz webworkz is offline
Web Hosting Master
 
Join Date: May 2003
Location: Port Arthur, Texas
Posts: 1,650
rsynch
ftp
tarball
nfs
samba [if windows/linux]

... Since you're new to this, I recommend just using the tarball method.

__________________
Become an ISP; a great value-added service for any web host.
http://www.vispprovider.com

Reply With Quote
  #7  
Old 10-25-2003, 08:11 AM
sprintserve sprintserve is offline
Retired Moderator
 
Join Date: Jan 2003
Posts: 9,000
Is there databases? Are you looking at moving account passwords, email accounts, and so on? The answer will vary depending on what you answer.

__________________
••• 100% Customer Satisfaction!!! •••
••• http://www.sprintserve.net •••
••• Offering: | Internap FCP Bandwidth! | Rebootless Kernel Updates! | Magento Optimized Hosting | •••
••• Services: | Managed Multiple Cores 64bit Servers | Server Management | •••

Reply With Quote
  #8  
Old 10-25-2003, 10:32 AM
kipasa kipasa is offline
Disabled
 
Join Date: Sep 2003
Posts: 109
Quote:
Originally posted by sprintserve
Is there databases? Are you looking at moving account passwords, email accounts, and so on? The answer will vary depending on what you answer.
yes, all the above

Reply With Quote
  #9  
Old 10-25-2003, 05:25 PM
sprintserve sprintserve is offline
Retired Moderator
 
Join Date: Jan 2003
Posts: 9,000
What OS are we talking about on the old and new server? Control Panels in used on old and new server?

__________________
••• 100% Customer Satisfaction!!! •••
••• http://www.sprintserve.net •••
••• Offering: | Internap FCP Bandwidth! | Rebootless Kernel Updates! | Magento Optimized Hosting | •••
••• Services: | Managed Multiple Cores 64bit Servers | Server Management | •••

Reply With Quote
  #10  
Old 10-25-2003, 07:05 PM
linux-tech linux-tech is offline
<?require_once("life")?>
 
Join Date: Sep 2002
Location: inside your network
Posts: 9,548
have you got any sort of a control panel on these servers? If so, you may just find that the task got a LOT easier.

__________________
Linux Tech Networks Reliable, Affordable Linux administration and monitoring since 2002

Reply With Quote
  #11  
Old 10-26-2003, 12:11 AM
Kiran Kiran is offline
Disabled
 
Join Date: Oct 2003
Posts: 25
*

don't you need root access to both servers to do this?

Reply With Quote
  #12  
Old 10-26-2003, 12:16 AM
linux-tech linux-tech is offline
<?require_once("life")?>
 
Join Date: Sep 2002
Location: inside your network
Posts: 9,548
Quote:
Originally posted by Kiran
don't you need root access to both servers to do this?
Not necessarily, that depends on the control panel. If you're using cpanel and you've got root to the second server, you can go into WHM and transfer with acct password from the other server.

Also, with CPanel, you can login to the individual's control panel, download backups, re-upload them to the new server. All you'd need is the user's password on old and new servers.

__________________
Linux Tech Networks Reliable, Affordable Linux administration and monitoring since 2002

Reply With Quote
  #13  
Old 10-26-2003, 12:17 AM
sprintserve sprintserve is offline
Retired Moderator
 
Join Date: Jan 2003
Posts: 9,000
Follow the following steps:

Login to Cpanel and do a full backup on your old server of that particular site.

There should be a backup file created in the /home/username/

FTP in using your new server and download the backup file.

Untar the backup file on the new server.

Move the Unzipped directory to /backup/cpbackup/daily

Go to WHM, and Under Backup Options, click on Restore an account, and then daily.

The user you had just moved over would be visible there. Restore the account (remember to tick Recreate account) and you are done.


There are about a few other ways. But this would be the easiest way if you are talking about moving your email accounts, stored emails, databases and so on. Just normal tarring and such would not move most of the stuff you wanted.

__________________
••• 100% Customer Satisfaction!!! •••
••• http://www.sprintserve.net •••
••• Offering: | Internap FCP Bandwidth! | Rebootless Kernel Updates! | Magento Optimized Hosting | •••
••• Services: | Managed Multiple Cores 64bit Servers | Server Management | •••

Reply With Quote
  #14  
Old 10-26-2003, 12:23 AM
linux-tech linux-tech is offline
<?require_once("life")?>
 
Join Date: Sep 2002
Location: inside your network
Posts: 9,548
You could do this without the root access, thinking about it, but it'd be tricky (and time consuming) if you had CPanel, all can be accessed from :
http://www.your-domain.com:2082/fron...kup/index.html

__________________
Linux Tech Networks Reliable, Affordable Linux administration and monitoring since 2002

Reply With Quote
  #15  
Old 10-26-2003, 12:25 AM
sprintserve sprintserve is offline
Retired Moderator
 
Join Date: Jan 2003
Posts: 9,000
Yes. My method don't require root access on the old server.

__________________
••• 100% Customer Satisfaction!!! •••
••• http://www.sprintserve.net •••
••• Offering: | Internap FCP Bandwidth! | Rebootless Kernel Updates! | Magento Optimized Hosting | •••
••• Services: | Managed Multiple Cores 64bit Servers | Server Management | •••

Reply With Quote
Reply

Related posts from TheWhir.com
Title Type Date Posted
Digital Realty Trust Buys 10-Acre Site in Dublin for Data Center Web Hosting News 2012-02-08 10:24:51
Dell Appoints Chief Commercial Officer to Boost Sales Web Hosting News 2012-01-06 22:06:30
Security Firm ArtSec Launches Website and Server Migration Service Web Hosting News 2011-12-09 18:43:03
nlyte Releases v6.2 of Data Center Infrastructure Management Software Web Hosting News 2011-11-28 20:00:20
Web Performance Firm Yottaa Announces Site Speed Optimizer General Availability Web Hosting News 2011-10-11 16:29:12


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:



 

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?