@@ -143,6 +143,7 @@ func ReadOperationFromResultSet(res query.Row) (types.Operation, error) {
143143 ydbOperationId * string
144144 operationStateBuf * string
145145 message * string
146+ rootPath * string
146147 sourcePaths * string
147148 sourcePathsToExclude * string
148149 creator * string
@@ -168,6 +169,7 @@ func ReadOperationFromResultSet(res query.Row) (types.Operation, error) {
168169 query .Named ("operation_id" , & ydbOperationId ),
169170 query .Named ("status" , & operationStateBuf ),
170171 query .Named ("message" , & message ),
172+ query .Named ("root_path" , & rootPath ),
171173 query .Named ("paths" , & sourcePaths ),
172174 query .Named ("paths_to_exclude" , & sourcePathsToExclude ),
173175
@@ -223,6 +225,7 @@ func ReadOperationFromResultSet(res query.Row) (types.Operation, error) {
223225 Endpoint : databaseEndpoint ,
224226 DatabaseName : databaseName ,
225227 },
228+ RootPath : StringOrEmpty (rootPath ),
226229 SourcePaths : sourcePathsSlice ,
227230 SourcePathsToExclude : sourcePathsToExcludeSlice ,
228231 YdbOperationId : StringOrEmpty (ydbOperationId ),
@@ -301,6 +304,7 @@ func ReadOperationFromResultSet(res query.Row) (types.Operation, error) {
301304 Endpoint : databaseEndpoint ,
302305 DatabaseName : databaseName ,
303306 },
307+ RootPath : StringOrEmpty (rootPath ),
304308 SourcePaths : sourcePathsSlice ,
305309 SourcePathsToExclude : sourcePathsToExcludeSlice ,
306310 Audit : auditFromDb (creator , createdAt , completedAt ),
@@ -330,6 +334,7 @@ func ReadBackupScheduleFromResultSet(res query.Row, withRPOInfo bool) (*types.Ba
330334 createdAt * time.Time
331335 name * string
332336 ttl * time.Duration
337+ rootPath * string
333338 sourcePaths * string
334339 sourcePathsToExclude * string
335340 recoveryPointObjective * time.Duration
@@ -351,6 +356,7 @@ func ReadBackupScheduleFromResultSet(res query.Row, withRPOInfo bool) (*types.Ba
351356 query .Named ("created_at" , & createdAt ),
352357 query .Named ("name" , & name ),
353358 query .Named ("ttl" , & ttl ),
359+ query .Named ("root_path" , & rootPath ),
354360 query .Named ("paths" , & sourcePaths ),
355361 query .Named ("paths_to_exclude" , & sourcePathsToExclude ),
356362 query .Named ("recovery_point_objective" , & recoveryPointObjective ),
@@ -400,6 +406,7 @@ func ReadBackupScheduleFromResultSet(res query.Row, withRPOInfo bool) (*types.Ba
400406 ContainerID : containerID ,
401407 DatabaseName : databaseName ,
402408 DatabaseEndpoint : databaseEndpoint ,
409+ RootPath : StringOrEmpty (rootPath ),
403410 SourcePaths : sourcePathsSlice ,
404411 SourcePathsToExclude : sourcePathsToExcludeSlice ,
405412 Audit : auditFromDb (initiated , createdAt , nil ),
0 commit comments