![]() Topic awaiting preservation: Migration... any easier? (Page 1 of 1) |
|
---|---|
Bipolar (III) Inmate From: f(x) |
![]() 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 |
![]() |
Maniac (V) Mad Scientist From: :morF |
![]() 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 |
![]() |
Maniac (V) Inmate From: under the bed |
![]() Can that not be done with an FTP app? |
Maniac (V) Mad Scientist From: :morF |
![]() 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 |
![]() |
Maniac (V) Mad Scientist From: 100101010011 <-- right about here |
![]() 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) |
![]() 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) |
![]() |
Maniac (V) Mad Scientist From: 100101010011 <-- right about here |
![]() Check out this |