**Describe the situation**

The author implemented it but enabled only for DiskS3.
CC @excitoon 
renames.erase(it);
                        renames.insert(to_path);
                    }
                }
            }
            else if (operation == hardlink)
            {
                auto src_path = object_metadata["src_path"];
                auto dst_path = object_metadata["dst_path"];
                if (exists(src_path))
                {
                    createDirectories(directoryPath(dst_path));
                    createHardLink(src_path, dst_path, send_metadata);
                    LOG_TRACE(log, "Revision {}. Restored hardlink {} -> {}", revision, src_path, dst_path);
                }
            }
        }
        return true;
    };
    
    listObjects(restore_information.source_bucket, restore_information.source_path + "operations/", restore_file_operations);
    if (restore_information.detached)
    {
        Strings not_finished_prefixes{"tmp_", "delete_tmp_", "attaching_", "deleting_"};
        for (const auto & path : renames)
        {
            
            if (path.find("/detached/") != std::string::npos)
                continue;