restore
public void restore(java.lang.String backupRootDir,
java.lang.String backupId,
boolean check,
TableName[] sTableArray,
TableName[] tTableArray,
boolean isOverwrite)
throws java.io.IOException
Restore operation. Stage 1: validate backupManifest, and check target tables
- Specified by:
restore in interface RestoreClient
- Parameters:
backupRootDir - The root dir for backup image
backupId - The backup id for image to be restored
check - True if only do dependency check
sTableArray - The array of tables to be restored
tTableArray - The array of mapping tables to restore to
isOverwrite - True then do restore overwrite if target table exists, otherwise fail the
request if target table exists
- Throws:
java.io.IOException - if any failure during restore