You can use PhpMyAdmin to dump the contexts of a database to an *.sql file.

You can also use PhpMyAdmin to restore a database from an *.sql file.