Topic awaiting preservation: Migration... any easier? |
|
---|---|
Author | Thread |
Bipolar (III) Inmate From: f(x) |
posted 10-21-2005 03:27
I need to migrate my websites on my domain to another server. I was thinking if I could make a Perl/Shell script to copy the 50+ MB of files I have to my new server over an FTP connection. But I found one problem, I don't know enough Perl or Shell to do it. Is there an easier way? I want to copy all files and folders (including everything under my user and user nobody) to my new server. |
Maniac (V) Inmate From: under the bed |
posted 10-21-2005 05:19 |
Maniac (V) Mad Scientist From: :morF |
posted 10-21-2005 05:32
Yes, I can't quite see what the issue is here. Open up your ftp client, connect to your original site. Download everything. Disconnect, then connect to your new host, upload everything. Done. Any scripts which are hard-coded with absolute URLs will need to be altered, however. |
Paranoid (IV) Inmate From: New England |
posted 10-21-2005 06:05 |
Maniac (V) Inmate From: under the bed |
posted 10-21-2005 06:24
Can that not be done with an FTP app? |
Maniac (V) Mad Scientist From: :morF |
posted 10-21-2005 06:29
well... you could shell into your original server, use tar and gzip to create an archive, and remember where in your tree it is, then shell into your new server, use wget to download it remotely, unzip and open the tar, hey presto, done. |
Paranoid (IV) Inmate From: New England |
posted 10-21-2005 07:23 |
Maniac (V) Mad Scientist From: 100101010011 <-- right about here |
posted 10-21-2005 07:52
Provided you have shell access and it's supported, you can use scp pretty much the same as a cp only a few more on top |
Bipolar (III) Inmate From: f(x) |
posted 10-21-2005 15:39
I need file permissions intact... this includes files owned by user nobody (PHP). A manual FTP transfer would only take care of stuff I own. |
Bipolar (III) Inmate From: f(x) |
posted 10-22-2005 01:47 |
Maniac (V) Mad Scientist From: 100101010011 <-- right about here |
posted 10-22-2005 02:54
Check out this |