
10-24-2003, 11:52 AM
|
|
Disabled
|
|
Join Date: Sep 2003
Posts: 109
|
|
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!
|

10-24-2003, 12:27 PM
|
|
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.
|

10-24-2003, 02:18 PM
|
|
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.
|

10-24-2003, 02:18 PM
|
|
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
|

10-24-2003, 05:14 PM
|
|
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!
|

10-24-2003, 09:01 PM
|
|
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
|

10-25-2003, 08:11 AM
|
|
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.
|

10-25-2003, 10:32 AM
|
|
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
|

10-25-2003, 05:25 PM
|
|
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?
|

10-25-2003, 07:05 PM
|
|
<?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
|

10-26-2003, 12:11 AM
|
|
Disabled
|
|
Join Date: Oct 2003
Posts: 25
|
|
don't you need root access to both servers to do this?
|

10-26-2003, 12:16 AM
|
|
<?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
|

10-26-2003, 12:17 AM
|
|
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.
|

10-26-2003, 12:23 AM
|
|
<?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
|

10-26-2003, 12:25 AM
|
|
Retired Moderator
|
|
Join Date: Jan 2003
Posts: 9,000
|
|
Yes. My method don't require root access on the old server.
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
| 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
HTML code is Off
|
|
|
|
|
|
| Login: |
|
|
| Advertisement: |
|
|
| Web Hosting News: |
|
|
|