docs: private void restoreInstanceDirectoryFromPath(Path source, String instanceRocksDBPath) throws IOException {
  
  		FileSystem fileSystem = source.getFileSystem();
  
  		final FileStatus[] fileStatuses = fileSystem.listStatus(source);
  
  		if (fileStatuses == null) {
  			throw new IOException("Cannot list file statues. Directory " + source + " does not exist.");
  		}
  
  		for (FileStatus fileStatus : fileStatuses) {
  			final Path filePath = fileStatus.getPath();
  			final String fileName = filePath.getName();
  			File restoreFile = new File(source.getPath(), fileName);
  			File targetFile = new File(instanceRocksDBPath, fileName);
  			if (fileName.endsWith(SST_FILE_SUFFIX)) {
  				// hardlink'ing the immutable sst-files.
  				Files.createLink(targetFile.toPath(), restoreFile.toPath());
  			} else {
  				// true copy for all other files.
  				Files.copy(restoreFile.toPath(), targetFile.toPath(), StandardCopyOption.REPLACE_EXISTING);
  			}
  		}
  	}