weaviate-client
    Preparing search index...

    Interface Backup

    interface Backup {
        cancel(args: BackupCancelArgs): Promise<boolean>;
        create(args: BackupArgs<BackupConfigCreate>): Promise<BackupReturn>;
        getCreateStatus(args: BackupStatusArgs): Promise<BackupStatusReturn>;
        getRestoreStatus(args: BackupStatusArgs): Promise<BackupStatusReturn>;
        list(backend: Backend, opts?: ListBackupOptions): Promise<BackupReturn[]>;
        restore(args: BackupArgs<BackupConfigRestore>): Promise<BackupReturn>;
    }
    Index

    Methods

    • Cancel a backup.

      Parameters

      • args: BackupCancelArgs

        The arguments for the request.

      Returns Promise<boolean>

      Whether the backup was canceled.

      If the input is invalid.

      If the backup cancellation fails.

    • Create a backup of the database.

      Parameters

      Returns Promise<BackupReturn>

      The response from Weaviate.

      If the input is invalid.

      If the backup creation fails.

      If the backup creation is canceled.

    • Get the status of a backup creation.

      Parameters

      Returns Promise<BackupStatusReturn>

      The status of the backup creation.

      If the input is invalid.

    • Get the status of a backup restore.

      Parameters

      Returns Promise<BackupStatusReturn>

      The status of the backup restore.

      If the input is invalid.

    • List existing backups (completed and in-progress) created in a given backend.

      Parameters

      • backend: Backend

        Backend whence to list backups.

      • Optionalopts: ListBackupOptions

        The options available when listing backups.

      Returns Promise<BackupReturn[]>

      The response from Weaviate.

    • Restore a backup of the database.

      Parameters

      Returns Promise<BackupReturn>

      The response from Weaviate.

      If the input is invalid.

      If the backup restoration fails.

      If the backup restoration is canceled.