Interface BackupCollection

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

Methods

  • Create a backup of this collection.

    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.

    Parameters

    Returns Promise<BackupStatusReturn>

    The status of the backup.

    Throws

    If the input is invalid.

  • Get the status of a restore.

    Parameters

    Returns Promise<BackupStatusReturn>

    The status of the restore.

    Throws

    If the input is invalid.

  • Restore a backup of this collection.

    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.