| @@ 252-253 (lines=2) @@ | ||
| 249 | if($return['finished']) |
|
| 250 | { |
|
| 251 | $return['extra']['backup_parent'] = $this->archive_system->get_archive_name_with_extension(); |
|
| 252 | if($this->xcloner_file_system->is_part($this->archive_system->get_archive_name_with_extension())) |
|
| 253 | $return['extra']['backup_parent'] = $this->archive_system->get_archive_name_multipart(); |
|
| 254 | } |
|
| 255 | ||
| 256 | $data = $return; |
|
| @@ 277-278 (lines=2) @@ | ||
| 274 | ||
| 275 | //getting the last backup archive file |
|
| 276 | $return['extra']['backup_parent'] = $this->archive_system->get_archive_name_with_extension(); |
|
| 277 | if($this->xcloner_file_system->is_part($this->archive_system->get_archive_name_with_extension())) |
|
| 278 | $return['extra']['backup_parent'] = $this->archive_system->get_archive_name_multipart(); |
|
| 279 | ||
| 280 | $this->update_last_backup($schedule['id'], $return['extra']['backup_parent']); |
|
| 281 | ||