| @@ 269-270 (lines=2) @@ | ||
| 266 | if($return['finished']) |
|
| 267 | { |
|
| 268 | $return['extra']['backup_parent'] = $this->archive_system->get_archive_name_with_extension(); |
|
| 269 | if($this->xcloner_file_system->is_part($this->archive_system->get_archive_name_with_extension())) |
|
| 270 | $return['extra']['backup_parent'] = $this->archive_system->get_archive_name_multipart(); |
|
| 271 | } |
|
| 272 | ||
| 273 | $data = $return; |
|
| @@ 297-298 (lines=2) @@ | ||
| 294 | ||
| 295 | //getting the last backup archive file |
|
| 296 | $return['extra']['backup_parent'] = $this->archive_system->get_archive_name_with_extension(); |
|
| 297 | if($this->xcloner_file_system->is_part($this->archive_system->get_archive_name_with_extension())) |
|
| 298 | $return['extra']['backup_parent'] = $this->archive_system->get_archive_name_multipart(); |
|
| 299 | ||
| 300 | $this->update_last_backup($schedule['id'], $return['extra']['backup_parent']); |
|
| 301 | ||