One-click backup and restore of SQL files

An add-on or a utility to select an SQL file to import to the DB (dbname: local), or export the DB to a file that you specify the location/name for.

It’d be great to be able to automate the backups on a daily basis (specifying directory to backup to) and one-click restore from that list.