| 152 | } |
| 153 | |
| 154 | void BackupWriterDisk::copyFile(const String & destination, const String & source, size_t /*size*/) |
| 155 | { |
| 156 | LOG_TRACE(log, "Copying file inside backup from {} to {} ", source, destination); |
| 157 | auto dest_file_path = root_path / destination; |
| 158 | auto src_file_path = root_path / source; |
| 159 | disk->createDirectories(dest_file_path.parent_path()); |
| 160 | disk->copyFile(src_file_path, *disk, dest_file_path, read_settings, write_settings); |
| 161 | } |
| 162 | |
| 163 | } |
no test coverage detected