by Bret Miller.
So... no spaces between -u and the username. And, are you sure "root" is a user on your MySQL database? It's needing a MySQL user, not a linux user.
mysql -udbadmin -ppassword archive < moodle_prod.sql