Skip to main content
  • showBackup

    public ShowBackupResponse showBackup(ShowBackupRequest request) throws GPUdbException
    Shows information about one or more backups accessible via the data source specified by datasourceName.
    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.
  • showBackup

    public ShowBackupResponse showBackup(String backupName, String datasourceName, Map<String,String> options) throws GPUdbException
    Shows information about one or more backups accessible via the data source specified by datasourceName.
    Parameters:
    backupName - Name of the backup. An empty string or ’*’ will show all existing backups. Any text followed by a ’*’ will show 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 show. Leave empty to show information from the most recent snapshot in the backup. The default value is ”.
    • BACKUP_TYPE: Show backups by type. This option is ignored if BACKUP_ID is non-empty. Supported values:The default value is ALL.
    • SHOW_CONTENTS: Show the contents of the backed-up snapshots. Supported values:
      • NONE: Don’t show snapshot contents.
      • OBJECT_NAMES: Show backed-up object names, and for tables, sizing detail.
      • OBJECT_FILES: Show backed-up object names, and for tables, sizing detail and associated files.
      The default value is NONE.
    • NO_ERROR_IF_NOT_EXISTS: Whether or not to suppress the error if the specified backup does not exist. Supported values:The default value is FALSE.
    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.