--- dba.module.orig	2007-10-15 16:17:03.000000000 -0400
+++ dba.module	2007-10-15 16:18:45.000000000 -0400
@@ -329,6 +329,7 @@
 }
 
 function dba_auto_backup() {
+  $backup_started = time();
   $path = variable_get('dba_auto_backup_path', file_directory_temp());
   // See what tables (if any) the admin wants us to only backup
   // the schema, not the actual data.  we need it as an array, so we
@@ -369,7 +370,7 @@
     if ($fp = fopen($path ."/$filename", 'wb')) {
       fwrite($fp, $backup);
       fclose($fp);
-      variable_set('dba_auto_backup_last', time());
+      variable_set('dba_auto_backup_last', $backup_started);
 
       // If enabled, email a copy of the backup to the site administrator.
       if (variable_get('dba_auto_backup_mail', 0)) {
