Welcome Guest, Not a member yet? Register   Sign In
dbutil restore from backup problem (order of tables)
#1

[eluser]Jaffer Haider[/eluser]
Hey guys,

I'm using the internal dbutil ($this->load->dbutil()) to backup a database. Backup works fine, but when I run the .sql file to restore the database, I run into a problem because the tables are sorted alphabetically, and not by their foreign key constraints.

I've used phpMyAdmin's import feature, as well as simply pasting in the SQL script into the SQL tab of phpMyAdmin (after creating an empty database).

I don't see any topic in the forum related to this. Hasn't anyone run into this problem? What's a common workaround for this?

Thanks!


Messages In This Thread
dbutil restore from backup problem (order of tables) - by El Forum - 05-27-2010, 06:34 AM
dbutil restore from backup problem (order of tables) - by El Forum - 05-31-2010, 05:08 AM
dbutil restore from backup problem (order of tables) - by El Forum - 05-31-2010, 06:49 AM
dbutil restore from backup problem (order of tables) - by El Forum - 05-31-2010, 07:09 AM
dbutil restore from backup problem (order of tables) - by El Forum - 05-31-2010, 04:06 PM
dbutil restore from backup problem (order of tables) - by El Forum - 06-01-2010, 02:10 AM



Theme © iAndrew 2016 - Forum software by © MyBB