YDB Backup files store information about index table partitioning config and other parameters.
Internal implementation of Alter table add index operation must provide a way to set implTable configuration, e.g. number of partitions and their boundaries