|
Posted by J.O. Aho on 09/20/07 16:39
Anze wrote:
> Hi all!
>
> I hope someone can help me with this... :)
>
> I am again moving a site to another server and I am again amazed how low the
> script limitations are (upload file size), how cr***y the consoles are and
> how unnerving the whole process is. It has taken me 3 hours just to move
> the DB and I have just now noticed that the codepage is invalid - even
> though I have specified it correctly in phpMyAdmin. Let's start again... :(
>
> So the idea is - why not write two PHP scripts, one for the source and one
> for the destination server? They have access to files and DB data we wish
> to move, so we should just specify the connection details and they could
> interoperate to move the data from source to destination.
>
> I hear you say: "what about time limit, memory limit,...?" The work could be
> split into tiny pieces - the destination script could be called
> continuously until the work is done. Actually, you could point a browser to
> the destination script and it would request another tiny piece from source
> and use it. Then it would display HTML with JavaScript redirect to itself
> (unless the work was done of course). You just have to wait, but who
> cares - it would take a lot less of my bandwidth and would probably be
> faster too.
>
> Now the question is: is there something like this out there? :)
> I have searched through google but couldn't find anything.
There was a good script that made database dumps and you then imported
the file on the new server. The script was called mysqlphpbak, can be
difficult to find today.
It goes usually faster to use the console tools.
--
//Aho
Navigation:
[Reply to this message]
|