Database Backup

There is database backup functionlity present in the dbutil class. Is there a similar functionlity for restoring the database.
If not is there a particular way to restore the database from the backup file in codeigniter ?

I'm assuming the backup is just an SQL file (a dump of the full database or tables) so the easiest way to restore it is to import it back via PHPMyAdmin

$ mysql -u USER -p DBNAME < dump.sql

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2019 MyBB Group.