View Single Post
  #2  
Old 16th April 2013, 09:29
florian030 florian030 is offline
Senior Member
 
Join Date: Oct 2012
Posts: 224
Thanks: 8
Thanked 62 Times in 53 Posts
Default

change line 932 from:
Code:
$sql = "INSERT INTO web_backup (server_id,parent_domain_id,backup_type,backup_mode,tstamp,filename) VALUES (" . $conf['server_id'] . ,$web_id,'mysql','sqlgz'," . time() . ",'" . $app->db->quote($db_backup_file) . " . gz')";
to

Code:
$sql = "INSERT INTO web_backup (server_id,parent_domain_id,backup_type,backup_mode,tstamp,filename,filesize) VALUES (".$conf['server_id'].",$web_id,'mysql','sqlgz',".time().",'".$app->db->quote($db_backup_file).".gz','".formatBytes(filesize($db_backup_dir.'/'.$db_backup_file))."')";
__________________
regards
Florian

blog.schaal-24.de

Last edited by florian030; 17th April 2013 at 11:49. Reason: change line 932
Reply With Quote