hello, i thought i'd give an update on this (and seek out any comments). i had been working on a dynamic graph/chart for this web app and now have some time to delve into the backup/purge a bit more.
they just gave me MySQL 5 space (the web app is using MySQL 4 right now) and are letting me play with replication. i have never used this before.
i don't think we have root access (the servers are administrated by another department), so i'm wondering how much we can control.
also, i found out that they don't allow odbc connections on the regular servers but will allow it on the slave server.
this is how i think the backup/purge would work with replication:
- Master runs and all, sends data to slave.
- When users are ready to backup/purge, they open an Access or Excel file that connects to the slave, pick out what data they need, and save that file.
OR
- I make a web interface (PHP file) that creates an Excel file for them.
- Then in the web app there will be a button for them to push that runs a truncate script. It will truncate the master and slave tables for this app.
what do you think? is using replication worth it, or would it be better to go with the shell script?
thank you.