> ## Documentation Index
> Fetch the complete documentation index at: https://docs.unibee.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Transaction Data Storage

> Understanding data storage for UniBee Opensource and Cloud versions

## Data Storage Overview

UniBee offers two deployment modes, each with different transaction data storage approaches:

## Deployment Mode Comparison

```mermaid theme={null}
graph TB
    A[UniBee Deployment Modes] --> B[Opensource]
    A --> C[Cloud]
    
    B --> D[Data stored on customer servers]
    B --> E[Customer's own database]
    B --> F[Complete data control]
    
    C --> G[Data stored on UniBee servers]
    C --> H[Customer can sync via Webhook]
    C --> I[Securely hosted data]
    
    style A fill:#e1f5fe
    style B fill:#f3e5f5
    style C fill:#e8f5e8
    style D fill:#fff3e0
    style G fill:#fff3e0
```

## Opensource Version

**Data Storage Location:** Stored on customer servers

**Features:**

* ✅ Data is completely stored in customer's own database
* ✅ Customer has complete control over data
* ✅ Complies with data sovereignty requirements
* ✅ No concerns about data privacy
* ✅ Can customize data storage strategies

**Use Cases:**

* Enterprises with strict data sovereignty requirements
* Organizations that need complete data control
* Teams with sufficient technical capabilities to maintain databases

## Cloud Version

**Data Storage Location:** Stored on UniBee servers

**Data Synchronization Method:** Customers can sync data back to their servers by integrating with UniBee Webhooks

**Features:**

* ✅ Data hosted by UniBee professional team
* ✅ Automatic backup and disaster recovery
* ✅ Real-time data synchronization via Webhooks
* ✅ Reduced operational burden
* ✅ High availability and security

**Data Synchronization Flow:**

```mermaid theme={null}
sequenceDiagram
    participant Client as Customer System
    participant UniBee as UniBee Cloud
    participant DB as Customer Database
    
    Note over UniBee: Transaction event occurs
    UniBee->>Client: Send Webhook notification
    Client->>DB: Store data in local database
    Client->>UniBee: Return confirmation response
    
    Note over Client,DB: Real-time data sync completed
```

**Use Cases:**

* Enterprises looking to reduce operational costs
* Organizations requiring professional data hosting
* Businesses with real-time data synchronization requirements

## Selection Recommendations

| Considerations    | Opensource                | Cloud               |
| ----------------- | ------------------------- | ------------------- |
| Data Control      | Complete control          | Sync via Webhook    |
| Operational Cost  | Self-maintenance required | Hosted service      |
| Data Sovereignty  | Fully compliant           | Requires evaluation |
| Technical Barrier | Higher                    | Lower               |
| Real-time Access  | Direct access             | Via Webhook         |

Choose the appropriate deployment mode based on your specific requirements. If you have strict data sovereignty requirements, we recommend choosing the Opensource version; if you want to reduce operational burden and obtain professional data hosting services, the Cloud version is a better choice.
