Web Hosting Talk







View Full Version : Moving Hosted Sites


Sebastien
04-06-2003, 04:57 AM
Hi,

i'm running 2 servers, the 1st without any control panel or rna and the 2nd using the WireX RNA i'd like to move the hosted domains (all the datas) from the 2nd server to the 1st. I'll create manually the zone files and all the dns conf on the 1st all i need to know is how can i move the user datas. I'm wondering if i can ftp for e.g. the /home/domains/ (at one time) to the 1st server and arrange everything normally. does it work, how many from you tried this method? and do you have any other suggestions?
Thanks in advance.

DigiCrime
04-06-2003, 05:06 AM
when I manually move data from one site to another i tar.gz up everything with same ownerships|groups and use wget and dump it there, and extract it and do what I need. seems simplier that way for me...

Sebastien
04-06-2003, 05:22 AM
well DigiCrime it seems a successfull good idea :) i still have a small question regarding the wget as i didn't use it before. what is the command to log with a given user/pass and not as anonymous?

Spingen
04-06-2003, 05:38 AM
Just ftp it between machines, wget is not required. It's just a tool that makes it easy to fetch things from the command line. Also if you want to learn how something works such as wget, once its installed just type "man wget".

LinuXpert
04-06-2003, 07:11 AM
You can use rsync to transfer file between 2 servers, quick and easy. Type man rsync at the command prompt for more info.

admin0
04-06-2003, 12:29 PM
Hi,


It is best if you use rsync via ssh.
or
you can tar.gz the /home, transfer it to server1, and then restore it to their proper locations as required.


:homer:

hololi
04-07-2003, 09:13 AM
scp (secure copy) encrypts the data going through the wire

man scp for more details

Sebastien
04-07-2003, 03:35 PM
10x guys for the information, i'm not familiar with the scp and the rsync that u've mentioned and honestly i'm someone who hates reading those man :P i'll be very thnxful if you can give me the commands to use to move the /home/ directory as an example and which one of these 2 methods is the most secure?

LinuXpert
04-07-2003, 08:34 PM
rsync -avz -e ssh root@remote_server_ip:/home/ /home/