exclude tables in sync
Build and Push Docker Images / build-and-push (push) Successful in 1m48s

This commit is contained in:
Bram committed 2026-11-16 16:26:41 +01:00
1 parent 415bb3906a
commit 94f1021fd0
5 files changed
+36 -1

No files matched your search

+14
View File
@@ -21,9 +21,23 @@ De source-database wordt **nooit** aangepast: alleen `pg_dump` (reads/SELECT), m
|----------|---------|-------------|
| `TZ` | `Europe/Brussels` | Tijdzone |
| `ON_STARTUP` | `true` | Direct syncen bij opstart (`true`/`false`) |
| `EXCLUDE_TABLES` | *(leeg)* | Komma- en/of spatiegescheiden lijst van tabellen die niet gesynchroniseerd worden |
URL-formaat: `postgresql://user:password@host:5432/dbname`
## Tabellen uitsluiten
Met `EXCLUDE_TABLES` sluit je tabellen uit van de sync. De waarde is een
komma- en/of spatiegescheiden lijst en wordt als `pg_dump --exclude-table`
patroon gebruikt, dus schema-kwalificatie en wildcards werken:
```bash
-e 'EXCLUDE_TABLES=public.logs,schema.audit_*'
```
Uitgesloten tabellen worden noch aangemaakt noch gevuld op de destination;
bestaande data in die tabellen op de destination blijft ongemoeid.
## Gedrag
1. Dump van source via `pg_dump` (custom format, read-only).