private String getTablesForSet(Connection conn, String name) throws IOException {
    try (final BackupSystemTable table = new BackupSystemTable(conn)) {
      List<TableName> tables = table.describeBackupSet(name);

      if (tables == null) {
        return null;
      }

      return StringUtils.join(tables, BackupRestoreConstants.TABLENAME_DELIMITER_IN_COMMAND);
    }
  }
Command-line entry point for restore operation
hbase-backup/src/main/java/org/apache/hadoop/hbase/backup/RestoreDriver.java