Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

transfer of site from one server to another

Posted on 2000-03-10
3
Medium Priority
?
224 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 600 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

[Webinar] Lessons on Recovering from Petya

Skyport is working hard to help customers recover from recent attacks, like the Petya worm. This work has brought to light some important lessons. New malware attacks like this can take down your entire environment. Learn from others mistakes on how to prevent Petya like worms.

Question has a verified solution.

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

I've just discovered very important differences between Windows an Unix formats in Perl,at least 5.xx.. MOST IMPORTANT: Use Unix file format while saving Your script. otherwise it will have ^M s or smth likely weird in the EOL, Then DO NOT use m…
Checking the Alert Log in AWS RDS Oracle can be a pain through their user interface.  I made a script to download the Alert Log, look for errors, and email me the trace files.  In this article I'll describe what I did and share my script.
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…
Six Sigma Control Plans

636 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