static long getTsFromBackupId(String backupId) {
    if (backupId == null) {
      return 0;
    }
    return Long.parseLong(backupId.substring(backupId.lastIndexOf("_") + 1));
  }
Restore operation. Stage 2: resolved Backup Image dependency
@param sTableArray The array of tables to be restored
@param tTableArray The array of mapping tables to restore to
@throws IOException exception
hbase-backup/src/main/java/org/apache/hadoop/hbase/backup/impl/RestoreTablesClient.java