Index: trunk/wb/modules/backup/backup-sql.php
===================================================================
--- trunk/wb/modules/backup/backup-sql.php	(revision 190)
+++ trunk/wb/modules/backup/backup-sql.php	(revision 191)
@@ -23,6 +23,9 @@
 
 */
 
+// Filename to use
+$filename = $_SERVER['HTTP_HOST'].'-backup-'.gmdate('Y-m-d', mktime()+TIMEZONE).'.sql';
+
 // Check if user clicked on the backup button
 if(!isset($_POST['backup'])){ header('Location: ../'); }
 
@@ -38,7 +41,7 @@
 "#\n".
 "# Website Baker ".WB_VERSION." Database Backup\n".
 "# ".WB_URL."\n".
-"# ".gmdate(DATE_FORMAT, mktime()+TIMEZONE)." ".gmdate(TIME_FORMAT, mktime()+TIMEZONE)."\n".
+"# ".gmdate(DATE_FORMAT, mktime()+TIMEZONE).", ".gmdate(TIME_FORMAT, mktime()+TIMEZONE)."\n".
 "#".
 "\n";
 
@@ -76,9 +79,8 @@
 }
 
 // Output file
-header('Content-Type: application/octet-stream');
-header('Content-Disposition: attachment');
-header('Filename: "'.str_replace(WB_PATH.'/temp', '', $temp_file).'"');
+header('Content-Type: text/html');
+header('Content-Disposition: attachment; filename='.$filename);
 echo $output;
 
 ?>
\ No newline at end of file
