GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   Copying scripts to new server (https://gfy.com/showthread.php?t=1125960)

96ukssob 11-12-2013 01:04 PM

Copying scripts to new server
 
I've got a bit of custom scripts and purchased ones like TGPX running on a server of mine and looking to move it to another provider ASAP.

When it comes to this kind of stuff, I don't know what I'm doing so looking for any advice :winkwink:

Obviously there are passwords setup and lots of data in MySQL or flat files, but how "easy" would it be to move everything from point A to point B?

I hired someone to do it, they said 2-3 days... that was at the beginning of the month and now I need to have it done before EOD tomorrow or I get billed again.

sandman! 11-12-2013 01:07 PM

if your not using control panels where backups can be made and restored its going to be a bitch to do lots of manual work :2 cents::2 cents:

Mutt 11-12-2013 01:08 PM

A good hosting company will move it for you.

Barry-xlovecam 11-12-2013 01:10 PM

https://www.google.com/search?client...utf-8&oe=utf-8

rsync

https://www.google.com/search?client...utf-8&oe=utf-8

LOAD DATA INFILE statement (mysql)


96ukssob 11-12-2013 02:56 PM

Quote:

Originally Posted by Mutt (Post 19870838)
A good hosting company will move it for you.

I moved my sites to hostgator :anon

They are just project sites, so I dont want to continue to pay $200/mo. for a server on sites generating $0

Klen 11-12-2013 03:20 PM

It depend what exactly you move-for example,for me easiest is when i complete data from one dedicated server to another fresh dedicated server-I just do either rsync over ssh or i first archive files in tar.gz files and then transfer.That depend on howmuch files you have in directories - if there is tons of files,then it's better to archive directory first,as with rsync would take ages to move when there is a lot of files.
But potencial problem with archiving,then you need to pay attention on avalaible hard drive space on server,since if there is not enough space to make archive then you are forced to rysnc.And the reason what is good on transfering from server to new server - is very easy way to transfer mysql databases - all you had to do is to copy /var/lib/mysql directory and archive it,and then extract it on new server and you get automaticly transfered all users and databases then compared to when manualy exporting and importing databases with tools like mysqldump or phpmyadmin.But using that is requied in case when you dont transfer sites to completely new server.
Also i would recommend for exporting databases to use instead phpmyadmin or mysqldump script adminer,which have feature which can import a database from server.

And finaly,if you transfering sites from server where ssh is not avalaible,just make sure you are able to make archive there as transfering from ftp to computer computer to ftp is worse then doing rsync.

Markul 11-12-2013 03:22 PM

Hit up Borked for this. He is the man.

baddog 11-12-2013 03:44 PM

You can copy over, but will likely need to change the configuration.

freecartoonporn 11-12-2013 07:33 PM

set up domains on new host,
move all files accordingly.
then

do

grep -rl 'localhost' .

last time i moved my host ,there was 5 minutes or less of downtime

bean-aid 11-12-2013 07:42 PM

I would have dropped the way3 but im not sure if he does shared, cloud or whatever for much less cost then dedi. But he is the man that can accomplish anything server side.

Worth an email to him and ask. Just go to site name .com and find the contact button.


All times are GMT -7. The time now is 05:44 AM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123