VENTURESAurabase acquires & invests in your apps, startups, mobile apps, SaaS and software.Read more →

Engineering · 8 min read

Migrate from Appwrite to Aurabase (2026–2027 Guide)

Affane Daylami · Founder ·

Back to blog

Teams moving from Appwrite to Aurabase gain native PostgreSQL 18 relational SQL (joins, CTEs, pgvector, FORCE RLS), a unified 100% Rust backend, and full French EU corporate sovereignty on Scaleway and Hetzner.

Quick answer: To migrate from Appwrite to Aurabase in 2026–2027, export Appwrite collections, users, and storage buckets via the Appwrite Server SDK/CLI, import data into Aurabase PostgreSQL 18 (or --engine mongodb), translate Appwrite document permissions into PostgreSQL FORCE RLS, and swap client calls to @aurabase/aurabase-js.

#

Concept Mapping

Appwrite to Aurabase architecture translation

Appwrite ConceptAurabase EquivalentAdvantage
Database & CollectionsPostgreSQL 18 tables (or NoSQL collections)Full SQL joins, transactions, triggers, pgvector HNSW
Document PermissionsPostgreSQL FORCE RLS (auth.uid())Enforced by Postgres kernel across REST, RPC & GraphQL
Appwrite Account / UsersAurabase Auth 2.1 (Argon2id/bcrypt, 15 OAuth, OIDC, Passkeys)French EU SAS entity, zero non-EU parent
Appwrite StorageAurabase Sovereign S3 (Scaleway / SeaweedFS)Standard S3 protocol + signed URLs + image transforms
Appwrite FunctionsDeno/TS & Wasmtime WASM Edge FunctionsFaster cold starts + Vault AES-256-GCM env secrets
#

Data Export

Exporting collections and mapping permissions

# 1. Export Appwrite schema & collections using your Appwrite Server API script to JSON
node scripts/export-appwrite-collections.mjs > appwrite-export.json

# 2. Load into Aurabase PostgreSQL 18 (or use --engine mongodb for document mode)
aura db import --format json --file appwrite-export.json
aura auth import-users --file appwrite-users.json

Replace Appwrite's Permission.read(Role.user(userId)) with one SQL policy:

ALTER TABLE documents ENABLE ROW LEVEL SECURITY;
ALTER TABLE documents FORCE ROW LEVEL SECURITY;

CREATE POLICY user_owns_document ON documents
  FOR ALL
  USING (user_id = auth.uid())
  WITH CHECK (user_id = auth.uid());
#

Further Links

Complete your Appwrite migration

READY TO DEPLOY?

Your backend in five minutes.

No credit card required · 500 MB free · 50,000 MAU