public void _testBackupRestoreSystemTable() throws Exception {
    LOG.info("test snapshot system table");

    TableName backupSystem = BackupSystemTable.getTableName(conf1);

    Admin hba = TEST_UTIL.getAdmin();
    String snapshotName = "sysTable";
    hba.snapshot(snapshotName, backupSystem);

    hba.disableTable(backupSystem);
    hba.restoreSnapshot(snapshotName);
    hba.enableTable(backupSystem);
    hba.close();
  }
Verify backup system table snapshot.
@throws Exception if an operation on the table fails
hbase-backup/src/test/java/org/apache/hadoop/hbase/backup/TestSystemTableSnapshot.java