Page 1 of 1

File Upload

Posted: Thu May 05, 2005 3:53 am
by S_henry
In my system, I must use 3 backup server and 1 main server. In each server, I have to put 1 database. Let say in server A got database dbA, in server B got database dbB an so on. I run my system in the main server. While the system is running, it will generate files. Everyday (maybe at 12 am) I want to upload those generated files into all 3 backup servers. So anybody got any idea how to do this? Pls ask me if my explanation is not clear..

Posted: Thu May 05, 2005 3:59 am
by Corvin Gröning
You could connect to the databases on the other servers and put the data into them directly. Write in mysql_connect() the IP oder Domain of the server instead of "localhost".

Posted: Thu May 05, 2005 8:55 pm
by S_henry
OK. I'll try it first and see how it works. Thanx..