12-14-2004, 08:27 AM | #1 (permalink) |
Insane
Location: Michigan
|
Changing Hosts (Linux to Linux), maintaining permissions?
The trick? No ssh access in either place. Can't tar on old, untar on new. No cPanel or anything on the old server, cPanel on the new server. Can't backup site on old server and restore on cPanel (due to I have no idea what cPanels backup format is).
Is there a FTP or FXP client that will maintain permissions between the 2 servers? Thanks |
12-14-2004, 10:33 AM | #2 (permalink) |
Insane
Location: Austin, TX
|
hmmm....tricky. Your best bet is probably going to be to set up some kind of tunnel over a protocol that *is* supported. For example, set up a TCP tunnel over the FTP port, then tar to the pipe on the sending end, and untar from the pipe on the receiving end. Google around for TCP tunneling stuff, you'll probably find something you can use.
|
12-14-2004, 12:46 PM | #3 (permalink) |
Insane
|
The problem with doing all of that is he doesnt have SSH access.
I'm afraid you are pretty much out of luck. FTP the files to your PC and then re-ftp them to the new place and set permissions. If you ask your host nicely maybe they will tar them up for you? |
12-14-2004, 04:00 PM | #4 (permalink) |
Psycho
Location: Comfy Little Bungalow
|
Without a secure shell, you right in your understanding of the limitations. But aurigus I think has the idea, and that is if the hot will ball them up for you. But seeing as you're leaving their servers, they may not want to, nor are they obligated to, do you any favours. Still, maybe if you ask them, they will just be nice people and help out a poor web manager in need.
Good luck to you. Peace, Pierre
__________________
--- There is no such thing as strong coffee - only weak people. --- |
12-14-2004, 09:23 PM | #5 (permalink) | |
Insane
Location: Austin, TX
|
Quote:
Hell, if you have FTP access, that implies that port 21 is open, in which case why not just run your ssh daemon on port 21 on both machines? There's no rule saying it has to be on port 22. |
|
12-15-2004, 05:38 AM | #6 (permalink) |
Insane
Location: Michigan
|
skaven, what you say is totally right, except, I dont have shell access. I dont have the access to setup that tunnel whatsoever
I just ended up ftping them all down to my local machine and then to the new host. FlashFXP allows you to set permissions recursivly, so that worked. I usually use FileZilla and they only allow single folder/files at a time. Thanks for the suggestions tho. |
12-15-2004, 09:20 AM | #7 (permalink) |
Crazy
Location: Salt Town, UT
|
I case this ever comes up again, here's a good tip to do things on a webhost, even without real shell access.
(It's evil, I know, but hey, it works) http://www.gimpster.com/wiki/PhpShell It's the PHP Shell, it lets you put up a webpage and login to it as your shell, it's horribly insecure, so only put it up when you want to do something on your hosts shell, and then take it down after you are finished. |
Tags |
changing, hosts, linux, maintaining, permissions |
|
|