Skip to content

Latest commit

 

History

History
48 lines (29 loc) · 781 Bytes

README.md

File metadata and controls

48 lines (29 loc) · 781 Bytes

Litestream Demo

1. Start Services

docker compose up --build -d

2. Navigate to MinIO Console

open http://localhost:9001

Sign In

See: /env/minio.env

Create Litestream Bucket

Bucket name: litestream

3. Query and Create Items

Postman Collection: postman_collection.json

4. Verify Database Restore

Delete the SQLite Database

Comment out the SQLite database COPY instruction in /api/Dockerfile

# SQLite database:
# COPY items.db /var/api/data/

Build and Restart the API Service

docker compose up --build -d

Query Items

Postman Collection: postman_collection.json

The Get Items query should return the same items that were in the database at the time it was deleted.