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 |
}); |
}); |
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 |
|
|
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); |