Yes, you can restore your backup with Drush.

Here are Backup and Migrate commands for Drush explained: http://www.only10types.com/2011/03/drush-backup-and-migrate-command.html

I think drush bam-restore command is what you are looking for.


  bam-restore Restore the site's database with Backup and Migrate.
  
  Examples: drush bam-restore db manual
  "LCC-31.03.2011-14.01.59.mysql.gz" - restore the default database
  using the given dump file, which can be found in the destination
  called "manual"
  
  Arguments: source - Required. The id of the source (usually a
  database) to restore the backup to. Use 'drush bam-sources' to get a
  list of sources. Defaults to 'db' destination - Required. The id of
  destination to send the backup file to. Use 'drush bam-destinations'
  to get a list of destinations. Defaults to 'manual' backup id -
  Required. The id of a backup file restore. Use 'drush bam-backups' to
  get a list of available backup files.


How to restore a site from a backup done with Backup and Migrate module using Drush
I've just added the following .htaccess rules for a no-www 301 redirection:

RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC]
RewriteRule ^(.*)$ http://%1/$1 [R=301,L]


My domain www.example.net now perfectly redirects  to example.net, but when I visit any of my articles with the www prefix www.example.net/2014/03/some-article/, the redirection wont happen. I see a broken page instead. 

What's the issue here and what's the solution to fix it?

.htaccess:

# BEGIN All In One WP Security
#AIOWPS_BASIC_HTACCESS_RULES_START
&lt;Files .htaccess&gt;
order allow,deny
deny from all
&lt;/Files&gt;
ServerSignature Off
LimitRequestBody 10240000
&lt;Files wp-config.php&gt;
order allow,deny
deny from all
&lt;/Files&gt;
#AIOWPS_BASIC_HTACCESS_RULES_END
# END All In One WP Security

# BEGIN WordPress
&lt;IfModule mod_rewrite.c&gt;
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
&lt;/IfModule&gt;
# END WordPress
RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC]
RewriteRule ^(.*)$ http://%1/$1 [R=301,L]

