Database Backup

#1
[eluser]agy[/eluser]
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 ?

#2
[eluser]Dam1an[/eluser]
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

#3
[eluser]n0xie[/eluser]
Code:
$ mysql -u USER -p DBNAME < dump.sql


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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