Solved

transfer of site from one server to another

Posted on 2000-03-10
3
217 Views
Last Modified: 2010-03-05
This question is actually probably pretty simple, I would just like to not have to write it, and would like it done quickly.  Here it is.

I am transferring my site from one host to another.  I would like a program, can be run from either host, to get all directories and folders from one host to another.  

Thanks for the help.  I won't be checking back on this until Monday 12th FYI.  Thanks again.
0
Comment
Question by:idadan
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 5

Expert Comment

by:thoellri
ID: 2606329
pretty easy (if you are on Unix):

[ on the old server ]

$ cd /top/directory/of/your/site
$ tar cvf - . | compress > ../site.tar.Z
....
....
[ this will create the file /top/directory/of/your/site.tar.Z ]

Now copy this file to the new server (ftp for example). Let's say your new site will be at /new/location/for/site

[ now on the new server - we assume that you copied the *.tar.Z file to /new/location/for/site.tar.Z ]

$ cd /new/location/for
$ mkdir site
$ cd site
$ zcat /new/location/for/site.tar.Z | tar xvf -
....
....
[ this will uncompress and extract your files ]


Hope this helps
  Tobias
0
 

Author Comment

by:idadan
ID: 2610758
That will do, thank you.  Please submit an answer thing.  Thanks for the help.
0
 
LVL 5

Accepted Solution

by:
thoellri earned 200 total points
ID: 2610905
Thanks idadan - her we go:

pretty easy (if you are on Unix):

                   [ on the old server ]

                   $ cd /top/directory/of/your/site
                   $ tar cvf - . | compress > ../site.tar.Z
                   ....
                   ....
                   [ this will create the file /top/directory/of/your/site.tar.Z ]

                   Now copy this file to the new server (ftp for example). Let's say your new site will be at
                   /new/location/for/site

                   [ now on the new server - we assume that you copied the *.tar.Z file to /new/location/for/site.tar.Z
                   ]

                   $ cd /new/location/for
                   $ mkdir site
                   $ cd site
                   $ zcat /new/location/for/site.tar.Z | tar xvf -
                   ....
                   ....
                   [ this will uncompress and extract your files ]


                   Hope this helps
                     Tobias
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Remove Malware code from PHP file 6 106
hard perl script 16 167
Convert grep lines to perl 6 100
Regular Expression for URL 10 117
Email validation in proper way is  very important validation required in any web pages. This code is self explainable except that Regular Expression which I used for pattern matching. I originally published as a thread on my website : http://www…
In the distant past (last year) I hacked together a little toy that would allow a couple of Manager types to query, preview, and extract data from a number of MongoDB instances, to their tool of choice: Excel (http://dilbert.com/strips/comic/2007-08…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…

732 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question