Skip to main content
  • verifyBackup

    public VerifyBackupResponse verifyBackup(VerifyBackupRequest request) throws GPUdbException
    Inspects the requested database backup(s) for conformity at the remote file store accessible via the data source specified by datasourceName. By default all snapshots are inspected unless the option BACKUP_ID is used to target a specific instance. Returns backup verification results.
    Parameters:
    request - Request object containing the parameters for the operation.
    Returns:
    Response object containing the results of the operation.
    Throws:
    GPUdbException - if an error occurs during the operation.
  • verifyBackup

    public VerifyBackupResponse verifyBackup(String backupName, String datasourceName, Map<String,String> options) throws GPUdbException
    Inspects the requested database backup(s) for conformity at the remote file store accessible via the data source specified by datasourceName. By default all snapshots are inspected unless the option BACKUP_ID is used to target a specific instance. Returns backup verification results.
    Parameters:
    backupName - Name of the backup. An empty string or ’*’ will check all existing backups. Any text followed by a ’*’ will inspect backups whose name starts with that text. The default value is ”.
    datasourceName - Data source through which the backup is accessible.
    options - Optional parameters.
    • BACKUP_ID: ID of the snapshot to verify. Set to ‘-1’ to verify all snapshots in the backup. Leave empty to verify only the most recent snapshot. The default value is ‘-1’.
    The default value is an empty Map.
    Returns:
    Response object containing the results of the operation.
    Throws:
    GPUdbException - if an error occurs during the operation.