Interface Backup

interface Backup {
    cancel(args): Promise<boolean>;
    create(args): Promise<BackupReturn>;
    getCreateStatus(args): Promise<BackupStatusReturn>;
    getRestoreStatus(args): Promise<BackupStatusReturn>;
    restore(args): Promise<BackupReturn>;
}

Methods

  • Cancel a backup.

    Parameters

    • args: BackupCancelArgs

      The arguments for the request.

    Returns Promise<boolean>

    Whether the backup was canceled.

    Throws

    If the input is invalid.

    Throws

    If the backup cancellation fails.

  • Create a backup of the database.

    Parameters

    Returns Promise<BackupReturn>

    The response from Weaviate.

    Throws

    If the input is invalid.

    Throws

    If the backup creation fails.

    Throws

    If the backup creation is canceled.

  • Get the status of a backup creation.

    Parameters

    Returns Promise<BackupStatusReturn>

    The status of the backup creation.

    Throws

    If the input is invalid.

  • Get the status of a backup restore.

    Parameters

    Returns Promise<BackupStatusReturn>

    The status of the backup restore.

    Throws

    If the input is invalid.

  • Restore a backup of the database.

    Parameters

    Returns Promise<BackupReturn>

    The response from Weaviate.

    Throws

    If the input is invalid.

    Throws

    If the backup restoration fails.

    Throws

    If the backup restoration is canceled.