diff --git a/ydb/library/backup/backup.cpp b/ydb/library/backup/backup.cpp index 11da7d0f6ee7..397e54a655db 100644 --- a/ydb/library/backup/backup.cpp +++ b/ydb/library/backup/backup.cpp @@ -4,7 +4,7 @@ #include #include -#include +#include #include #include #include @@ -460,7 +460,7 @@ TFsPath CreateDirectory(const TFsPath& folderPath, const TString& name) { return childFolderPath; } -void WriteProtoToFile(const google::protobuf::Message& proto, const TFsPath& folderPath, const NBackup::NFiles::TFileInfo& fileInfo) { +void WriteProtoToFile(const google::protobuf::Message& proto, const TFsPath& folderPath, const NDump::NFiles::TFileInfo& fileInfo) { TString protoStr; google::protobuf::TextFormat::PrintToString(proto, &protoStr); LOG_D("Write " << fileInfo.LogObjectType << " into " << folderPath.Child(fileInfo.FileName).GetPath().Quote()); @@ -472,7 +472,7 @@ void BackupPermissions(TDriver driver, const TString& dbPrefix, const TString& p auto entry = DescribePath(driver, JoinDatabasePath(dbPrefix, path)); Ydb::Scheme::ModifyPermissionsRequest proto; entry.SerializeTo(proto); - WriteProtoToFile(proto, folderPath, NBackup::NFiles::TablePermissions()); + WriteProtoToFile(proto, folderPath, NDump::NFiles::Permissions()); } void BackupTable(TDriver driver, const TString& dbPrefix, const TString& backupPrefix, const TString& path, @@ -487,7 +487,7 @@ void BackupTable(TDriver driver, const TString& dbPrefix, const TString& backupP auto desc = DescribeTable(driver, fullPath); auto proto = ProtoFromTableDescription(desc, preservePoolKinds); - WriteProtoToFile(proto, folderPath, NBackup::NFiles::TableScheme()); + WriteProtoToFile(proto, folderPath, NDump::NFiles::TableScheme()); BackupPermissions(driver, dbPrefix, path, folderPath);