@@ 245-256 (lines=12) @@ | ||
242 | return false; |
|
243 | } |
|
244 | ||
245 | public function get_backup_size($backup_name) |
|
246 | { |
|
247 | $backup_size = $this->get_storage_filesystem()->getSize($backup_name); |
|
248 | if($this->is_multipart($backup_name)) |
|
249 | { |
|
250 | $backup_parts = $this->get_multipart_files($backup_name); |
|
251 | foreach($backup_parts as $part_file) |
|
252 | $backup_size += $this->get_storage_filesystem()->getSize($part_file); |
|
253 | } |
|
254 | ||
255 | return $backup_size; |
|
256 | } |
|
257 | ||
258 | public function get_multipart_files($backup_name, $storage_selection = "") |
|
259 | { |
@@ 913-924 (lines=12) @@ | ||
910 | return false; |
|
911 | } |
|
912 | ||
913 | public function get_backup_size($backup_name) |
|
914 | { |
|
915 | $backup_size = $this->filesystem->getSize($backup_name); |
|
916 | if($this->is_multipart($backup_name)) |
|
917 | { |
|
918 | $backup_parts = $this->get_multipart_files($backup_name); |
|
919 | foreach($backup_parts as $part_file) |
|
920 | $backup_size += $this->filesystem->getSize($part_file); |
|
921 | } |
|
922 | ||
923 | return $backup_size; |
|
924 | } |
|
925 | ||
926 | public function get_multipart_files($backup_name) |
|
927 | { |