Launching mysql with the option --silent:
> mysql -u root -p --silent mysql> USE dbname mysql> \. /tmp/backup.sql