Solved

transfer of site from one server to another

Posted on 2000-03-10
3
210 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

Technology Partners: 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

I have been pestered over the years to produce and distribute regular data extracts, and often the request have explicitly requested the data be emailed as an Excel attachement; specifically Excel, as it appears: CSV files confuse (no Red or Green h…
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…

761 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