Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
07-19-2003, 04:25 PM
|
#1
|
LQ Newbie
Registered: Jul 2003
Posts: 8
Rep:
|
Moving from Server to Server Question
Is there a way that you can use comand line to move from one server to another with my websites instead of me having to do it from one server company to another.
Any help is appreciated.
Thanks 
|
|
|
07-19-2003, 06:24 PM
|
#2
|
LQ Guru
Registered: Jan 2001
Posts: 24,149
|
Are you asking how to move the contents from one server or site to a new one?
If that is what your asking, once you get the new server all setup, you could use something like wget to grab your site to place on your new server... ?? Please be more specific, you question is vague and doesn't necessarily go into detail exactly what you want to accomplish.
|
|
|
07-19-2003, 06:42 PM
|
#3
|
LQ Newbie
Registered: Jul 2003
Posts: 8
Original Poster
Rep:
|
yes that is what i am talking about.
We are looking at changing hosts and I was wondering if there was a way of moving things from the one host to the other without having to ftp into the new one and hand uploading it all as we have years worth of websites and things and i am on dialup most of the time. Therefor it would take forever to upload.
|
|
|
07-20-2003, 05:58 AM
|
#4
|
Senior Member
Registered: Nov 2002
Location: British Columbia, Canada
Distribution: Gentoo x86_64; FreeBSD; OS X
Posts: 3,764
Rep:
|
I may be wrong but I think you would need shell access to the old server to pull that off without using a middleman.
Otherwise it's just download everything, then upload it all.
|
|
|
07-20-2003, 06:17 AM
|
#5
|
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613
Rep:
|
I believe it depends...
Maybe shell access on the new system, and just wget the whole thing over to the new one?
wget -m http://oldone.com
mv oldone.com /var/www/httpd
In httpd.conf
DocumentRoot /var/www/httpd/oldone.com
Save, restart apache check your links to see if they all stand up...
Anyone? Any ideas on this, or suggestions? What I'm suggesting this will do is eliminate the 'middle man' and grab files from host A, place them on host B and no worries for the dial up admin who just issues commands from the fast server they are ssh'd into?
This is all assuming Linux of course, which would make sense since you are here
Cool
|
|
|
07-20-2003, 06:33 AM
|
#6
|
Senior Member
Registered: Nov 2002
Location: British Columbia, Canada
Distribution: Gentoo x86_64; FreeBSD; OS X
Posts: 3,764
Rep:
|
of course, thanks for catching that Master C. I suppose shell access to either box might do the trick.
|
|
|
07-20-2003, 08:43 AM
|
#7
|
LQ Newbie
Registered: Jul 2003
Posts: 8
Original Poster
Rep:
|
Thanks guys for that help. I really appreciate it. I have never done this before. I had a friend one time help me out moving from one server to another when one of my old hosts had messed up on the server they had put me on. So i was trying to upload everything because i had never delt with Linux before that. Now though I am running out dedicated server myself and have learned alot more and from what i had learned I thought it was possible just didnt know how to. Thanks everyone for all the help.
I will try and help others when ever it is possible for me I am just not sure how much help i can be.
Thanks All
|
|
|
07-20-2003, 09:13 AM
|
#8
|
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613
Rep:
|
You're welcome, I hope everything works out.
As a side note:
You can always look at hosting your own. That's a very viable solution when using Linux, as it doesn't take much serving power for low-moderate sites. And assuming large site, even then it doesn't take the INIAC usually
Cool
|
|
|
07-20-2003, 09:18 AM
|
#9
|
LQ Newbie
Registered: Jul 2003
Posts: 8
Original Poster
Rep:
|
Well we are practically hosting our own as i do all the maitaince and everything on our dedicated server we are just tlaking about just using that server and doing away with our other server.
Thanks all
|
|
|
All times are GMT -5. The time now is 05:24 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|