Jump to content

PHP Database Backups


br0ken

Recommended Posts

I've been using a self written PHP backup script in my PHP applications for a while now. It's always worked fine as I've only had to maintain a few applications and could customise it to fit each individual implementations needs.

 

Now though, more and more different systems use it and I need a way to standardise it.

 

My problem lies in the fact that different servers and version of MySQL report field types differently. For example some refer to a DECIMAL as a 'real' and some as 'unknown'. There are more other examples I could give of this.

 

Is there a way I can write a script that would work with all servers and different MySQL versions?

 

Any help will be much appreciated!

Link to comment
https://forums.phpfreaks.com/topic/148667-php-database-backups/
Share on other sites

yes you can you can write a script that will

do them all, but to be honest it going to be a

hell off a job as version's come out so quickly.

 

 

you could get away with letting user's that buy your code also rent your database info.

 

That way there 1 database version to backup properly.

 

 

Link to comment
https://forums.phpfreaks.com/topic/148667-php-database-backups/#findComment-780675
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.