/[BackupPC]/trunk/bin/BackupPC_tarIncCreate
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /trunk/bin/BackupPC_tarIncCreate

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 297 by dpavlin, Thu Jan 26 17:13:55 2006 UTC revision 329 by dpavlin, Tue Jan 31 22:04:47 2006 UTC
# Line 160  my $dbh = DBI->connect($dsn, $db_user, " Line 160  my $dbh = DBI->connect($dsn, $db_user, "
160  my $sth_inc_size = $dbh->prepare(qq{  my $sth_inc_size = $dbh->prepare(qq{
161          update backups set          update backups set
162                  inc_size = ?,                  inc_size = ?,
                 parts = ?,  
163                  inc_deleted = false                  inc_deleted = false
164          where id = ?          where id = ?
165  });  });
# Line 310  sub new_tar_part { Line 309  sub new_tar_part {
309    
310                          $sth_inc_size->execute(                          $sth_inc_size->execute(
311                                  $total_increment_size,                                  $total_increment_size,
                                 $part,  
312                                  $backup_id                                  $backup_id
313                          );                          );
314    
# Line 378  if (seedCache($Host, $ShareName, $Num)) Line 376  if (seedCache($Host, $ShareName, $Num))
376          rmtree($tar_path);          rmtree($tar_path);
377    
378          my $sth = $dbh->prepare(qq{          my $sth = $dbh->prepare(qq{
379                  update backups set inc_size = 0, parts = 0, inc_deleted = true                  update backups set inc_size = 0, inc_deleted = true
380                  where id = ?                  where id = ?
381          });          });
382          $sth->execute($backup_id);          $sth->execute($backup_id);

Legend:
Removed from v.297  
changed lines
  Added in v.329

  ViewVC Help
Powered by ViewVC 1.1.26