Shell:
mysql -u dbuser -p dbname < /path/to/backupdatei.sql