(self, path, timeout=DEFAULT_TIMEOUT, retries=DEFAULT_RETRIES)
Restore device contents from the backup archive.

    Args:
      path: Host path to the backup archive.
      timeout: (optional) Timeout per try in seconds.
      retries: (optional) Number of retries to attempt.
Restore device contents from the backup archive.
Restore device contents from the backup archive .
def Restore(self, path, timeout=DEFAULT_TIMEOUT, retries=DEFAULT_RETRIES):
    """Restore device contents from the backup archive.

    Args:
      path: Host path to the backup archive.
      timeout: (optional) Timeout per try in seconds.
      retries: (optional) Number of retries to attempt.
    """
    VerifyLocalFileExists(path)
    self._RunDeviceAdbCmd(['restore'] + [path], timeout, retries)
def Restore ( self , path , timeout = DEFAULT_TIMEOUT , retries = DEFAULT_RETRIES ) : VerifyLocalFileExists ( path ) self . _RunDeviceAdbCmd ( [ 'restore' ] + [ path ] , timeout , retries )