Transferring Server - PLEASE HELP!!!

Hello,

Please forgive me for being stupid on everything, I just want to make sure I didn't loose bits and peices of information through my journeys.

(If this message is too long: I basicly want to switch from AITCOm to SBYWeb, keeping the permissions of ALL of my scripts, and my clients scripts using tar and AITCOM (MY OLD HOST) doesn't have SSH, so I would have to use some kind of PERL, PHP or what ever script to tar up the dir's on AITCOM's server.)

Here is my problem:

I am transfer from AITCOM.net web hosting to sbyweb.net.
And AITCOM, has their own custom control panel, so there is no easy way to do this.

SBYWeb using Cpanel (Much better then AITCOM), and I am transfering everything over.

AITCOM doesn't allow customers to have SSH, so I am at a major cross road. I have been trying to transfer everything over from AITCOM for about TWO WEEKS, (EVERY SINGLE DAY; no lie) and I am going bald with all of the hair I am loosing Transferring Server - PLEASE HELP!!!

I need the easiest way to transfer my site and my clients' sites over from AITCOM to SBYWeb.

I also have many, many PERL scripts that I must transfer over too, and I can't just trash the scripts and reinstall them, because some of them have custom mods, which I would loose.

I need to transfer the site over, keep all of the permissions and DIR structure and everything to the new server.

I have come to the conclusion that tar'ring the files would be best, but I have yet found a script to simply tar all of the files in a specific dir and keep the permissions.

This is what I would use in SSH, I guess:

tar -cpszfR tarfile.tar.gz /www/htdocs/clients_domain_folder

But, I am not sure how to use it in a PERL or PHP script, since AITCOM doesn't have SSH.

And once I tar it up, I would copy it over to the new server via SSH on the new server: wget http://www.mydomain.com/tarfile.tar.gz and then I would type: gunzip tarfile.tar.gz and then tar -xvpf tarfile.tar, am I correct?

And then, I notice that when I get it to the new server and untar etc.. I get an 403 ERROR ON EVERY SINGLE FILE AND DIR.

So, I found the reason for this, some files on the AITCOM server are CHMODDED to 750 and 640, by default and which worked on AITCOM too. But the new host, it doesn't work. So, I found after two days of searching, an SSH command to take care of it:

find . -perm 750 -ls -exec chmod 777 {} \;

But, what should I chmod all files that are 750 and what should I chmod all files that are 640?

Thank you for your help, I will be eternally grateful to you, and in return for helping me, I will give you 6 months FREE web hosting.
Providing it works...

Thanks again!

I don't know what I am going to do Transferring Server - PLEASE HELP!!! Transferring Server - PLEASE HELP!!! Transferring Server - PLEASE HELP!!!

 

 

 

 

Top