title: How to restore mysql database backup from terminal?
body: <p>I make daily backups by running the following cronjob:</p>
  
  <pre class="lang-sh prettyprint-override"><code>mysqldump --user root --password=xxxx databasename &gt; /home/ec2-user/backup/databasebackup_$today
  </code></pre>
  
  <p>How would I go about to simply restore from a backup, completely overwriting whatever there might be?</p>