lonnieezell / Bonfire

Jumpstart your CodeIgniter web applications with a modular, HMVC-ready, backend.
http://cibonfire.com
1.39k stars 524 forks source link

New Database Backup System #823

Open lonnieezell opened 11 years ago

lonnieezell commented 11 years ago

Since CodeIgniter's backup function for db's only works for MySQL, we need to create a cross-platform method for handling database backup and restores.

mwhitneysdsu commented 11 years ago

This should just be a matter of implementing the functionality in the {db}_utility.php files in CodeIgniter's database/drivers/{db}/ directories. Easier said than done, I know (although some of the other functions are implemented in CI's dev branch), but the same can be said for implementing any cross-platform database backup/restore solution.

On the other hand, the MySQL backup looks like it's dumping everything into an output string to return to the DB_utility library, so another solution may be preferable if anyone ever attempts to backup a significant amount of data.