2
If your text file has an extension of .sql you are halfway there.
Simply enter a tool like phpMyAdmin... and import the sql. Your restore should complete itself without incident, assuming your restore (backup) of the database was performed correctly.
Good luck!
Pax vobiscum,
...mark
may the road rise to meet your feet!
http://treemagic.org