![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
So Fucking Banned
Industry Role:
Join Date: Apr 2003
Location: online
Posts: 8,766
|
![]() ok, I need to move my domain to another host....
and of course transfer ALL files and subdirectories from that one domain to my new host... (of course transfer them saving the same directory and subdirectories structure- I don't wanna have any 404s when I finally move my dns' to new host).. I have a SSH access to my NEW host... so, what is the command to transfer all files and subdirectories from that old host to new one (to, let's say home/klinton )... replies much appreciated ![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
So Fucking Banned
Join Date: Aug 2003
Location: (_))= = =D cum on my hat
Posts: 530
|
fxp it
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Confirmed User
Join Date: Apr 2002
Location: Dallas, TX
Posts: 6,163
|
What control panel are you using on both hosts? You could have a problem if you're going from say Cpanel to Ensim or to Plesk. If you're using a straight redhat box on both, I can tell you the syntax.
__________________
Coming Soon! A NEW revolution in black adult social networking! |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
So Fucking Banned
Industry Role:
Join Date: Apr 2003
Location: online
Posts: 8,766
|
![]() panel on new host is cpanel, on the old host- plesk afair.
system on the new host- Redhat. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
Confirmed User
Industry Role:
Join Date: May 2001
Location: LLL©
Posts: 1,425
|
transfer the tar
scp /home/klinton/oldstuff.tar [email protected]:/home/klinton/oldstuff.tar |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 | |
So Fucking Banned
Industry Role:
Join Date: Apr 2003
Location: online
Posts: 8,766
|
Quote:
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 |
Confirmed User
Join Date: May 2002
Location: Oslo, Norway
Posts: 748
|
Yes.
__________________
<a href="http://www.homepageofthedead.com"><img src="http://board.gofuckyourself.com/images/globill_88x31.gif"></a> |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 |
Confirmed User
Join Date: Aug 2002
Location: NYC
Posts: 267
|
have your host move everything for you ?
__________________
Alek 150GB for $49 or 500GB for $99 ![]() ICQ 161151471 TEL 866.ASK.OXEO x 902 TEL 212.812.9073 x 902 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#9 |
Confirmed User
Join Date: Oct 2002
Posts: 3,745
|
You can either login to the new server via SSH/telnet and
retrieve the files from the old, ro you can login to the old server and send them to the new: To send the files from this server to the other: tar --gzip --preserve --same-owner --atime-preserve -cvf - | ssh user@host "cd /; tar --ungzip --preserve --same-owner --atime-preserve -xvf - or: To get the files and bring them to this server: ssh -l root 209.100.120.162 "cd /home2/goldstatsn/accs; tar --gzip --preserve --same-owner --atime-preserve -cvf - ." | tar --ungzip --preserve --same-owner --atime-preserve -xvf - That will copy the files. You'll need to set up the domains in the config files o control panel also. Webmin is the least painful control panel to use for this. You will then have paths to adjust in .htaccess files, cgi scripts, and php scripts. If you have ppassword files, message boards, databases, or other dynamically updated info, you have to do some wierd manipulations of the DNS so that you don't have people going to both servers for a couple of days due to DNS caching.
__________________
For historical display only. This information is not current: support@bettercgi.com ICQ 7208627 Strongbox - The next generation in site security Throttlebox - The next generation in bandwidth control Clonebox - Backup and disaster recovery on steroids |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#10 |
Confirmed User
Join Date: Nov 2002
Location: nyc
Posts: 3,540
|
you can also use ttcp
ttcp -r -p 30666 | tar xvpf - -C dirname (on the receiving side, which means attach to port 30666 and pipe all output to tar, also had to create the destination directory) tar -cf - -C dirname . | ttcp -t -p 30666 ip (this is on the sender side - means tar up the dir and pipe to ttcp, then ttcp is told to connect to port 30666 and... |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#11 |
Confirmed User
Join Date: Jun 2003
Location: Lutz, FL
Posts: 1,022
|
I use rsync. There is probably a couple of hundred ways to move the files over.
http://samba.anu.edu.au/rsync/examples.html
__________________
Clips4Sale.com |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#12 | |
Confirmed User
Industry Role:
Join Date: Jul 2003
Location: couch
Posts: 6,258
|
Quote:
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#13 |
ICQ- five seven 0 2 5 5 0
Join Date: Jan 2001
Posts: 10,747
|
the last time I did this I used lftp across two bsd boxes....had my tech guy give me the syntax and bamm, was working like a charm...gotta have lftp installed on both sides, however I'm sure there are several ways to do this...
definitely get a tech guy to walk you through it, or hire someone to do it for ya... personally I like to learn and take notes once a month on new schtuff like that...
__________________
Investor with 5m - 15m USD to invest. Do you have a site or network of sites earning 50k - 200k a month income? Email your contact and preliminary data to: domain.cashventures (at) gmail.com....Please...no tire kickers...serious offers and inquiries only. ![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |